209
View
Job view
Default level
3: Manage level
Parameters
view-name
: Specifies a view name, a string of 1 to 90 characters. All commands in the job are executed
in the specified view.
Description
Use the
view
command to specify a view for a job.
Use the
undo view
command to remove the view of a job.
By default, no view is specified for a job.
Every job can have only one view. If you specify multiple views, the one specified the last takes effect.
Input a view name in its complete form and make sure that the view name is available on the switch. Most
commonly used view names include
monitor
for user view,
system
for system view, and
Ethernet
x/x/x
,
GigabitEthernet
x/x/x
, or
Ten-GigabitEthernet
x/x/x
for Ethernet interface view.
Examples
# Specify system view for the job
saveconfig
.
<Sysname> system-view
[Sysname] job saveconfig
[Sysname-job-saveconfig] view system