R3166-R3206-HP High-End Firewalls Getting Started Command Reference-6PW101

77
view
Syntax
view view-name
undo view
View
Job view
Default level
3: Manage level
Parameters
view-name: specifies name of the view in which commands in the scheduled task are executed. A view
name is a string of 1 to 90 characters.
Description
Use the view command to specify the view in which the commands contained in the scheduled task are
automatically executed.
Use the undo view command to remove the configuration.
By default, no view is specified for the scheduled task.
Only one view can be specified for a scheduled task. That is, all the commands in the task are
automatically executed in the specified view. If different views are specified by executing the view
view-name command repeatedly, only the last configuration takes effect.
The view specified for a schedule task must be supported by the system, with the view name in its
complete format. Commonly used view names include: monitor for user view, system for system view,
Ethernet
x/x
for Ethernet interface view, and Vlan-interface
x
for VLAN interface view.
Related commands: job and time.
Examples
# Configure a task to be automatically executed in system view.
<Sysname> system-view
[Sysname] job creatvlan
[Sysname-job-creatvlan] view system