H3C S5120-EI Series Command Reference Manual

Type
Command Reference Manual
H3C S5120-EI Series Ethernet Switches
Fundamentals Command Reference
Hangzhou H3C Technologies Co., Ltd.
http://www.h3c.com
Software version: Release 2208
Document version: 6W100-20101224
Copyright © 2010, Hangzhou H3C Technologies Co., Ltd. and its licensors
All rights reserved
No part of this manual may be reproduced or transmitted in any form or by any means
without prior written consent of Hangzhou H3C Technologies Co., Ltd.
Trademarks
H3C,
, Aolynk, , H
3
Care,
, TOP G, , IRF, NetPilot, Neocean,
NeoVTL, SecPro, SecPoint, SecEngine, SecPath, Comware, Secware, Storware, NQA, VVG,
V
2
G, V
n
G, PSPT, XGbus, N-Bus, TiGem, InnoVision and HUASAN are trademarks of Hangzhou
H3C Technologies Co., Ltd.
All other trademarks that may be mentioned in this manual are the property of their
respective owners
Notice
The information in this document is subject to change without notice. Every effort has been
made in the preparation of this document to ensure accuracy of the contents, but all
statements, information, and recommendations in this document do not constitute the
warranty of any kind, express or implied.
Preface
The H3C S5120-EI documentation set includes 10 command references, which describe the
commands and command syntax options for the S5120-EI Series Ethernet Switches,
Release2208.
The Fundamentals Command Reference describes commands for configuring command
line interface (CLI), logging in to your switch, configuring FTP and TFTP, file system
management, configuration file management, device management, and software
upgrade.
This preface includes:
Audience
Added and modified commands
Conventions
About the H3C S5120-EI documentation set
Obtaining documentation
Technical support
Documentation feedback
Audience
This documentation is intended for:
Network planners
Field technical support and servicing engineers
Network administrators working with the S5120-EI series
Added and modified commands
Compared to Release2202, Release2208 adds and modifies the following commands:
Command reference Added and modified commands
CLI
Added commands: super authentication-mode
Modified commands: Added regular-expression related
parameters to all display commands
Logging In to the Switch
Added commands:
command authorization
command accounting
FTP —
TFTP —
File Management
Configuration File
Management
Modified commands: save—Added support for the force
keyword
Software Upgrade Added commands: boot-loader update file
Command reference Added and modified commands
Device Management
Added commands:
job
time at
time delay
view
temperature-limit
Conventions
This section describes the conventions used in this documentation set.
Command conventions
Convention Description
Boldface Bold text represents commands and keywords that you enter literally as shown.
Italic Italic text represents arguments that you replace with actual values.
[ ]
Square brackets enclose syntax choices (keywords or arguments) that are
optional.
{ x | y | ... }
Braces enclose a set of required syntax choices separated by vertical bars,
from which you select one.
[ x | y | ... ]
Square brackets enclose a set of optional syntax choices separated by vertical
bars, from which you select one or none.
{ x | y | ... } *
Asterisk marked braces enclose a set of required syntax choices separated by
vertical bars, from which you select at least one.
[ x | y | ... ] *
Asterisk marked square brackets enclose optional syntax choices separated
by vertical bars, from which you may select multiple choices or none.
&<1-n>
The argument or keyword and argument combination before the ampersand
(&) sign can be entered 1 to n times.
# A line that starts with a pound (#) sign is comments.
GUI conventions
Convention Description
Boldface
Window names, button names, field names, and menu items are in Boldface.
For example, the New User window appears; click OK.
>
Multi-level menus are separated by angle brackets. For example, File > Create
> Folder.
Symbols
Convention Description
WARNING
An alert that calls attention to important information that if not understood or
followed can result in personal injury.
CAUTION
An alert that calls attention to important information that if not understood or
followed can result in data loss, data corruption, or damage to hardware or
software.
IMPORTANT
An alert that calls attention to essential information.
NOTE
An alert that contains additional or supplementary information.
TIP
An alert that provides helpful information.
About the H3C S5120-EI documentation set
The H3C S5120-EI documentation set includes:
Category Documents Purposes
Marketing brochures Describe product specifications and benefits.
Technology white papers
Provide an in-depth description of software
features and technologies.
RPS User Manual
Describes the appearances, features, and
specifications of the RPS units available for the
products.
RPS Ordering Information for
H3C Low-End Ethernet
Switches
Provides the RPS and switch compatibility matrix
and RPS cable specifications.
H3C Low End Series Ethernet
Switches Pluggable Modules
Manual
Describes the models, appearances, and
specifications of the pluggable modules
available for the products.
Product
description
and
specifications
Interface Card User Manual
Describes the appearance and specifications
of interface cards.
Installation Manual
Provides a complete guide to hardware
installation and hardware specifications.
Provides regulatory information and the safety
instructions that must be followed during
installation.
Pluggable SFP[SFP+][XFP]
Transceiver Modules
Installation Guide
Guides you through installing SFP/SFP+/XFP
transceiver modules.
Hardware
installation
Interface Card User Manual Describes how to install an interface card.
Configuration guides
Describe software features and configuration
procedures.
Software
configuration
Command references
Provide a quick reference to all available
commands.
H3C Series Ethernet Switches
Login Password Recovery
Manual
Describes how to find or recover a lost
password.
Operations
and
maintenance
Release notes
Provide information about the product release,
including the version history, hardware and
software compatibility matrix, version upgrade
information, technical support information, and
software upgrading.
Obtaining documentation
You can access the most up-to-date H3C product documentation on the World Wide Web
at
http://www.h3c.com.
Click the links on the top navigation bar to obtain different categories of product
documentation:
[Technical Support & Documents > Technical Documents] – Provides hardware installation,
software upgrading, and software feature configuration and maintenance
documentation.
[Products & Solutions] Provides information about products and technologies, as well as
solutions.
[Technical Support & Documents > Software Download] – Provides the documentation
released with the software version.
Technical support
http://www.h3c.com
Documentation feedback
You can e-mail your comments about product documentation to [email protected].
We appreciate your comments.
i
Contents
CLI configuration commands······································································································································· 1
CLI configuration commands ···········································································································································1
command-alias enable·············································································································································1
command-alias mapping ·········································································································································1
command-privilege level ··········································································································································2
display clipboard ·····················································································································································3
display command-alias ············································································································································4
display history-command ·········································································································································4
display hotkey···························································································································································5
hotkey ········································································································································································6
quit ·············································································································································································8
return··········································································································································································8
screen-length disable················································································································································9
super ··········································································································································································9
super authentication-mode···································································································································· 10
super password ····················································································································································· 11
system-view ···························································································································································· 12
Logging in to the switch commands··························································································································13
Logging in to the switch commands ····························································································································· 13
acl (user interface view)········································································································································ 13
activation-key ························································································································································· 14
auto-execute command ········································································································································· 15
authentication-mode·············································································································································· 16
command accounting············································································································································ 17
command authorization········································································································································ 18
databits··································································································································································· 19
display ip http ························································································································································ 19
display ip https ······················································································································································ 20
display user-interface ············································································································································ 21
display users ·························································································································································· 23
display web users·················································································································································· 25
escape-key······························································································································································ 25
flow-control····························································································································································· 26
free user-interface ·················································································································································· 27
free web-users························································································································································ 28
history-command max-size···································································································································· 29
idle-timeout ····························································································································································· 29
ip http acl ······························································································································································· 30
ip http enable························································································································································· 31
ip http port······························································································································································ 31
ip https acl······························································································································································ 32
ip https certificate access-control-policy ·············································································································· 33
ip https enable ······················································································································································· 33
ip https port ···························································································································································· 34
ip https ssl-server-policy········································································································································· 35
lock·········································································································································································· 35
parity······································································································································································· 36
protocol inbound ··················································································································································· 37
ii
screen-length ·························································································································································· 37
send ········································································································································································ 38
set authentication password································································································································· 39
shell········································································································································································· 40
speed (user interface view)··································································································································· 40
stopbits···································································································································································· 41
telnet ······································································································································································· 42
telnet ipv6······························································································································································· 43
telnet server enable ··············································································································································· 43
terminal type ·························································································································································· 44
user privilege level ················································································································································ 44
user-interface·························································································································································· 45
FTP configuration commands ····································································································································47
FTP server configuration commands····························································································································· 47
display ftp-server···················································································································································· 47
display ftp-user······················································································································································· 48
free ftp user ···························································································································································· 49
ftp server acl ·························································································································································· 49
ftp server enable···················································································································································· 50
ftp timeout······························································································································································· 50
ftp update······························································································································································· 51
FTP client configuration commands······························································································································ 51
ascii········································································································································································· 52
binary ····································································································································································· 52
bye ·········································································································································································· 53
cd ············································································································································································ 53
cdup········································································································································································ 54
close········································································································································································ 55
debugging······························································································································································ 55
delete ······································································································································································ 57
dir············································································································································································ 57
disconnect ······························································································································································ 58
display ftp client configuration····························································································································· 59
ftp ············································································································································································ 59
ftp client source······················································································································································ 60
ftp ipv6 ··································································································································································· 61
get ··········································································································································································· 62
lcd ··········································································································································································· 63
ls·············································································································································································· 64
mkdir······································································································································································· 65
open········································································································································································ 65
open ipv6······························································································································································· 66
passive···································································································································································· 67
put ··········································································································································································· 67
pwd········································································································································································· 68
quit ·········································································································································································· 69
remotehelp ····························································································································································· 69
rmdir ······································································································································································· 71
user ········································································································································································· 72
verbose ··································································································································································· 73
TFTP configuration commands···································································································································74
TFTP client configuration commands ···························································································································· 74
display tftp client configuration···························································································································· 74
iii
tftp-server acl·························································································································································· 74
tftp ··········································································································································································· 75
tftp client source····················································································································································· 77
tftp ipv6 ·································································································································································· 78
File management commands·····································································································································79
File management commands ········································································································································ 79
cd ············································································································································································ 79
copy ········································································································································································ 80
delete ······································································································································································ 80
dir············································································································································································ 81
execute ··································································································································································· 83
file prompt ······························································································································································ 83
fixdisk······································································································································································ 84
format······································································································································································ 84
mkdir······································································································································································· 85
more········································································································································································ 86
move ······································································································································································· 87
pwd········································································································································································· 87
rename···································································································································································· 88
reset recycle-bin····················································································································································· 88
rmdir ······································································································································································· 90
undelete·································································································································································· 90
Configuration file management commands ·············································································································92
Configuration file management commands ················································································································ 92
archive configuration ············································································································································ 92
archive configuration interval ······························································································································ 92
archive configuration location ····························································································································· 93
archive configuration max···································································································································· 94
backup startup-configuration································································································································ 95
configuration replace file······································································································································ 96
display archive configuration······························································································································· 97
display current-configuration································································································································ 98
display default-configuration································································································································ 99
display saved-configuration ·······························································································································100
display startup ·····················································································································································102
display this ···························································································································································103
reset saved-configuration····································································································································105
restore startup-configuration·······························································································································106
save·······································································································································································106
slave auto-update config·····································································································································109
startup saved-configuration ································································································································109
Software upgrade commands································································································································ 111
Software upgrade commands·····································································································································111
boot-loader···························································································································································111
boot-loader update file ·······································································································································112
bootrom ································································································································································113
bootrom-update security-check enable··············································································································114
display boot-loader ·············································································································································115
display patch information···································································································································116
patch active··························································································································································117
patch deactive ·····················································································································································117
patch delete ·························································································································································118
patch install··························································································································································118
iv
patch load····························································································································································119
patch location ······················································································································································120
patch run ······························································································································································120
Device management commands ···························································································································· 121
Device management commands·································································································································121
clock datetime······················································································································································121
clock summer-time one-off···································································································································122
clock summer-time repeating······························································································································123
clock timezone·····················································································································································124
copyright-info enable ··········································································································································125
display clock ························································································································································126
display cpu-usage················································································································································127
display cpu-usage history ···································································································································129
display device······················································································································································131
display device manuinfo·····································································································································132
display diagnostic-information ···························································································································133
display environment ············································································································································134
display fan ···························································································································································135
display job ···························································································································································136
display memory ···················································································································································137
display power······················································································································································138
display reboot-type··············································································································································139
display rps····························································································································································140
display schedule job ···········································································································································140
display schedule reboot······································································································································141
display system-failure ··········································································································································142
display transceiver ··············································································································································143
display transceiver alarm ···································································································································144
display transceiver diagnosis·····························································································································147
display transceiver manuinfo ·····························································································································148
display version·····················································································································································149
header ··································································································································································150
job·········································································································································································152
reboot ···································································································································································152
reset unused porttag············································································································································153
schedule job·························································································································································154
schedule reboot at···············································································································································155
schedule reboot delay·········································································································································157
shutdown-interval·················································································································································158
startup bootrom-access enable···························································································································158
sysname································································································································································159
system-failure························································································································································160
temperature-limit ··················································································································································160
time at···································································································································································161
time delay·····························································································································································162
view ······································································································································································163
Index ········································································································································································ 165
1
CLI configuration commands
CLI configuration commands
command-alias enable
Syntax
command-alias enable
undo command-alias enable
View
System view
Default level
2: System level
Parameters
None
Description
Use the command-alias enable command to enable the command alias function.
Use the undo command-alias enable command to disable the command alias function.
By default, the command alias function is disabled.
Examples
# Enable the command alias function.
<Sysname> system-view
[Sysname] command-alias enable
# Disable the command alias function.
<Sysname> system-view
[Sysname] undo command-alias enable
command-alias mapping
Syntax
command-alias mapping cmdkey alias
undo command-alias mapping cmdkey
View
System view
Default level
2: System level
2
Parameters
cmdkey: The complete form of the first keyword of a command.
alias: Specifies the command alias, which cannot be the same as the first keyword of an existing
command.
Description
Use the command-alias mapping command to configure command aliases.
Use the undo command-alias mapping command to delete command aliases.
By default, a command has no alias.
Examples
# Configure command aliases by specifying show as the replacement of the display keyword.
<Sysname> system-view
[Sysname] command-alias mapping display show
After you configure the command aliases, the display commands have aliases. For example, if the
original command is display clock, now its alias is show clock and you can input the alias to view the
system time and date.
# Delete the command aliases by canceling the replacement of the display keyword.
<Sysname> system-view
[Sysname] undo command-alias mapping display
command-privilege level
Syntax
command-privilege level level view view command
undo command-privilege view view command
View
System view
Default level
3: Manage level
Parameters
level level: Command level, which ranges from 0 to 3.
view view: Specifies a view.
command: Command to be set in the specified view.
Description
Use the command-privilege command to assign a level for the specified command in the specified view.
Use the undo command-privilege view command to restore the default.
By default, each command in a view has a specified level.
Command levels include four privileges: visit (0), monitor (1), system (2), and manage (3). You can
assign a privilege level according to the user’s need. When logging in to the switch, the user can access
the assigned level and all levels below it.
3
Level changes can cause maintenance, operation, and security problems. H3C recommends that
you use the default command level or that you modify the command level under the guidance of
professional staff.
The command specified in the command-privilege command must be complete, and has valid
arguments. For example, the default level of the tftp server-address { get | put | sget }
source-filename [ destination-filename ] [ source { interface interface-type interface-number | ip
source-ip-address } ] command is 3. After the command-privilege level 0 view shell tftp 1.1.1.1 put
a.cfg command is executed, when users with the user privilege level of 0 log in to the switch, they
can execute the tftp server-address put source-filename command (such as the tftp 192.168 .1.26 put
syslog.txt command), but cannot execute the command with the get, sget or source keyword, and
cannot specify the destination-filename argument.
The command specified in the undo command-privilege view command can be incomplete. For
example, after the undo command-privilege view system ftp command is executed, all commands
starting with the keyword ftp (such as ftp server acl, ftp server enable, and ftp timeout) are restored
to their default level. If you have modified the level of commands ftp server enable and ftp timeout,
and you want to restore only the ftp server enable command to its default level, you should use the
undo command-privilege view system ftp server command.
If y
ou modify the command level of a command in a specified view from the default command level
to a lower level, remember to modify the command levels of the quit command and the
corresponding command that is used to enter this view. For example, the default command level of
commands interface and system-view is 2 (system level). If you want to make the interface
command available to the level 1 users, you need to execute the following three commands:
command-privilege level 1 view shell system-view, command-privilege level 1 view system
interface GigabitEthernet 1/0/1, and command-privilege level 1 view system quit. Then, the level
1 users can enter system view, execute the interface ethernet command, and return to user view.
Examples
# Set the command level of the interface command to 0 in system view.
<Sysname> system-view
[Sysname] command-privilege level 0 view system interface
display clipboard
Syntax
display clipboard [ | { begin | exclude | include } regular-expression ]
View
Any view
Default level
1: Monitor level
Parameters
|: Filters command output by specifying a regular expression. For more information about regular
expressions, see the chapter “CLI configuration.
begin: Displays the first line that matches the specified regular expression and all lines that follow.
exclude: Displays all lines that do not match the specified regular expression.
include: Displays all lines that match the specified regular expression.
regular-expression: Specifies a regular expression, which is a case sensitive string of 1 to 256 characters.
4
Description
Use the display clipboard command to view the contents of the clipboard.
To copy the specified content to the clipboard:
Move the cursor to the starting position of the content and press the <Esc+Shift+,> combination.
Move the cursor to the ending position of the content and press the <Esc+Shift+.> combination.
Examples
# View the content of the clipboard.
<Sysname> display clipboard
---------------- CLIPBOARD-----------------
display current-configuration
display command-alias
Syntax
display command-alias [ | { begin | exclude | include } regular-expression ]
View
Any view
Default level
1: Monitor level
Parameters
|: Filters command output by specifying a regular expression. For more information about regular
expressions, see the chapter “CLI configuration.
begin: Displays the first line that matches the specified regular expression and all lines that follow.
exclude: Displays all lines that do not match the specified regular expression.
include: Displays all lines that match the specified regular expression.
regular-expression: Specifies a regular expression, which is a case sensitive string of 1 to 256 characters.
Description
Use the display command-alias command to display defined command aliases and the corresponding
commands.
Examples
# Display the defined command aliases and the corresponding commands.
<Sysname> display command-alias
Command alias is enabled
index alias command key
1 show display
display history-command
Syntax
display history-command
5
View
Any view
Default level
1: Monitor level
Parameters
None
Description
Use the display history-command command to display commands saved in the history command buffer.
By default, the system saves the last 10 executed commands in the history command buffer. To set the size
of the history command buffer, use the history-command max-size command. For more information, see
the chapter “Logging in to the switch commands.
Examples
# Display history commands in current user view.
<Sysname> display history-command
display history-command
system-view
vlan 2
quit
display hotkey
Syntax
display hotkey
View
Any view
Default level
1: Monitor level
Parameters
None
Description
Use the display hotkey command to display hotkey information.
Examples
# Display hotkey information.
<Sysname> display hotkey
----------------- HOTKEY -----------------
=Defined hotkeys=
Hotkeys Command
CTRL_G display current-configuration
CTRL_L display ip routing-table
CTRL_O undo debug all
6
=Undefined hotkeys=
Hotkeys Command
CTRL_T NULL
CTRL_U NULL
=System hotkeys=
Hotkeys Function
CTRL_A Move the cursor to the beginning of the current line.
CTRL_B Move the cursor one character left.
CTRL_C Stop current command function.
CTRL_D Erase current character.
CTRL_E Move the cursor to the end of the current line.
CTRL_F Move the cursor one character right.
CTRL_H Erase the character left of the cursor.
CTRL_K Kill outgoing connection.
CTRL_N Display the next command from the history buffer.
CTRL_P Display the previous command from the history buffer.
CTRL_R Redisplay the current line.
CTRL_V Paste text from the clipboard.
CTRL_W Delete the word left of the cursor.
CTRL_X Delete all characters up to the cursor.
CTRL_Y Delete all characters after the cursor.
CTRL_Z Return to the User View.
CTRL_] Kill incoming connection or redirect connection.
ESC_B Move the cursor one word back.
ESC_D Delete remainder of word.
ESC_F Move the cursor forward one word.
ESC_N Move the cursor down a line.
ESC_P Move the cursor up a line.
ESC_< Specify the beginning of clipboard.
ESC_> Specify the end of clipboard.
hotkey
Syntax
hotkey { CTRL_G | CTRL_L | CTRL_O | CTRL_T | CTRL_U } command
undo hotkey { CTRL_G | CTRL_L | CTRL_O | CTRL_T | CTRL_U }
View
System view
Default level
2: System level
Parameters
CTRL_G: Associates hot key Ctrl+G to the specified command.
CTRL_L: Associates hot key Ctrl+L to the specified command.
CTRL_O: Associates hot key Ctrl+O to the specified command.
7
CTRL_T: Associates hot key Ctrl+T to the specified command.
CTRL_U: Associates hot key Ctrl+U to the specified command.
command: The command line associated with the hot key.
Description
Use the hotkey command to associate a hot key to a command.
Use the undo hotkey command to restore the default.
By default, Ctrl+G, Ctrl+L and Ctrl+O have these corresponding commands:
Ctrl+G corresponds to display current-configuration.
Ctrl+L corresponds to display ip routing-table.
Ctrl+O corresponds to undo debugging all.
You can modify the associations as needed.
Examples
# Associate the hot key Ctrl+T to the display tcp status command.
<Sysname> system-view
[Sysname] hotkey ctrl_t display tcp status
# Display hotkeys.
[Sysname] display hotkey
----------------- HOTKEY -----------------
=Defined hotkeys=
Hotkeys Command
CTRL_G display current-configuration
CTRL_L display ip routing-table
CTRL_O undo debug all
CTRL_T display tcp status
=Undefined hotkeys=
Hotkeys Command
CTRL_U NULL
=System hotkeys=
Hotkeys Function
CTRL_A Move the cursor to the beginning of the current line.
CTRL_B Move the cursor one character left.
CTRL_C Stop current command function.
CTRL_D Erase current character.
CTRL_E Move the cursor to the end of the current line.
CTRL_F Move the cursor one character right.
CTRL_H Erase the character left of the cursor.
CTRL_K Kill outgoing connection.
CTRL_N Display the next command from the history buffer.
CTRL_P Display the previous command from the history buffer.
CTRL_R Redisplay the current line.
CTRL_V Paste text from the clipboard.
CTRL_W Delete the word left of the cursor.
8
CTRL_X Delete all characters up to the cursor.
CTRL_Y Delete all characters after the cursor.
CTRL_Z Return to the user view.
CTRL_] Kill incoming connection or redirect connection.
ESC_B Move the cursor one word back.
ESC_D Delete remainder of word.
ESC_F Move the cursor forward one word.
ESC_N Move the cursor down a line.
ESC_P Move the cursor up a line.
ESC_< Specify the beginning of clipboard.
ESC_> Specify the end of clipboard.
quit
Syntax
quit
View
Any view
Default level
0: Visit level (in user view)
2: System level (in other views)
Parameters
None
Description
Use the quit command to return to a lower-level view.
In user view, the quit command terminates the connection and reconnects to the switch.
Examples
# Switch from GigabitEthernet 1/0/18 interface view to system view, and then to user view.
[Sysname-GigabitEthernet1/0/18] quit
[Sysname] quit
<Sysname>
return
Syntax
return
View
Any view except user view
Default level
2: System level
Parameters
None
9
Description
Use the return command to return to user view, which can also be done with the hot key Ctrl+Z.
Related commands: quit.
Examples
# Return to user view from GigabitEthernet 1/0/18 view.
[Sysname-GigabitEthernet1/0/18] return
<Sysname>
screen-length disable
Syntax
screen-length disable
undo screen-length disable
View
User view
Default level
1: Monitor level
Parameters
None
Description
Use the screen-length disable command to disable the multiple-screen output function.
Use the undo screen-length disable command to enable the multiple-screen output function.
By default, a login user uses the settings of the screen-length command. The default settings of the
screen-length command are: multiple-screen output is enabled and 24 lines are displayed on the next
screen. For more information about the screen-length command, see the chapter “Logging in to the
switch commands.
When the user logs out, the settings restore to their default values.
Examples
# Disable multiple-screen output for the current user.
<Sysname> screen-length disable
super
Syntax
super [ level ]
View
User view
Default level
0: Visit level
10
Parameters
level: User level, which ranges from 0 to 3 and defaults to 3.
Description
Use the super command to switch from the user privilege level to a specified user privilege level.
If a level is not specified, the command switches the user privilege level to 3. Command levels include four
privileges: visit (0), monitor (1), system (2), and manage (3). You can assign a privilege level according
to the user’s need. When logging in to the switch, the user can access the assigned level and all levels
below it.
A user can switch to a lower privilege level unconditionally. A logged-in AUX or VTY user must input the
switching password set by using the super password command to switch to a higher privilege level. If the
password is incorrect or no password is configured, the switching operation fails.
Related commands: super password.
Examples
# Switch to user privilege level 2 from privilege level 3.
<Sysname> super 2
User privilege level is 2, and only those commands can be used
whose level is equal or less than this.
Privilege note: 0-VISIT, 1-MONITOR, 2-SYSTEM, 3-MANAGE
# Switch the user privilege level back to 3 (the switching password 123 has been set). If no password is
set, the user privilege level cannot be switched to 3.
<Sysname> super 3
Password:
User privilege level is 3, and only those commands can be used
whose level is equal or less than this.
Privilege note: 0-VISIT, 1-MONITOR, 2-SYSTEM, 3-MANAGE
super authentication-mode
Syntax
super authentication-mode { local | scheme } *
undo super authentication-mode
View
System view
Default level
2: System level
Parameters
local: Authenticates a user by using the local password set with the super password command. When no
password is set by using the super password command, two results can occur: The privilege level switch
succeeds if the user is logged in through the console port. The switch fails if the user logs in through any
of the VTY user interfaces or inputs an incorrect switch password.
scheme: AAA authentication. For more information about AAA, see the Security Configuration Guide.
local scheme: First local and then scheme, which authenticates a user by using the local password first.
If no password is set for the user logged in through the console port, the privilege level switch succeeds.
  • Page 1 1
  • Page 2 2
  • Page 3 3
  • Page 4 4
  • Page 5 5
  • Page 6 6
  • Page 7 7
  • Page 8 8
  • Page 9 9
  • Page 10 10
  • Page 11 11
  • Page 12 12
  • Page 13 13
  • Page 14 14
  • Page 15 15
  • Page 16 16
  • Page 17 17
  • Page 18 18
  • Page 19 19
  • Page 20 20
  • Page 21 21
  • Page 22 22
  • Page 23 23
  • Page 24 24
  • Page 25 25
  • Page 26 26
  • Page 27 27
  • Page 28 28
  • Page 29 29
  • Page 30 30
  • Page 31 31
  • Page 32 32
  • Page 33 33
  • Page 34 34
  • Page 35 35
  • Page 36 36
  • Page 37 37
  • Page 38 38
  • Page 39 39
  • Page 40 40
  • Page 41 41
  • Page 42 42
  • Page 43 43
  • Page 44 44
  • Page 45 45
  • Page 46 46
  • Page 47 47
  • Page 48 48
  • Page 49 49
  • Page 50 50
  • Page 51 51
  • Page 52 52
  • Page 53 53
  • Page 54 54
  • Page 55 55
  • Page 56 56
  • Page 57 57
  • Page 58 58
  • Page 59 59
  • Page 60 60
  • Page 61 61
  • Page 62 62
  • Page 63 63
  • Page 64 64
  • Page 65 65
  • Page 66 66
  • Page 67 67
  • Page 68 68
  • Page 69 69
  • Page 70 70
  • Page 71 71
  • Page 72 72
  • Page 73 73
  • Page 74 74
  • Page 75 75
  • Page 76 76
  • Page 77 77
  • Page 78 78
  • Page 79 79
  • Page 80 80
  • Page 81 81
  • Page 82 82
  • Page 83 83
  • Page 84 84
  • Page 85 85
  • Page 86 86
  • Page 87 87
  • Page 88 88
  • Page 89 89
  • Page 90 90
  • Page 91 91
  • Page 92 92
  • Page 93 93
  • Page 94 94
  • Page 95 95
  • Page 96 96
  • Page 97 97
  • Page 98 98
  • Page 99 99
  • Page 100 100
  • Page 101 101
  • Page 102 102
  • Page 103 103
  • Page 104 104
  • Page 105 105
  • Page 106 106
  • Page 107 107
  • Page 108 108
  • Page 109 109
  • Page 110 110
  • Page 111 111
  • Page 112 112
  • Page 113 113
  • Page 114 114
  • Page 115 115
  • Page 116 116
  • Page 117 117
  • Page 118 118
  • Page 119 119
  • Page 120 120
  • Page 121 121
  • Page 122 122
  • Page 123 123
  • Page 124 124
  • Page 125 125
  • Page 126 126
  • Page 127 127
  • Page 128 128
  • Page 129 129
  • Page 130 130
  • Page 131 131
  • Page 132 132
  • Page 133 133
  • Page 134 134
  • Page 135 135
  • Page 136 136
  • Page 137 137
  • Page 138 138
  • Page 139 139
  • Page 140 140
  • Page 141 141
  • Page 142 142
  • Page 143 143
  • Page 144 144
  • Page 145 145
  • Page 146 146
  • Page 147 147
  • Page 148 148
  • Page 149 149
  • Page 150 150
  • Page 151 151
  • Page 152 152
  • Page 153 153
  • Page 154 154
  • Page 155 155
  • Page 156 156
  • Page 157 157
  • Page 158 158
  • Page 159 159
  • Page 160 160
  • Page 161 161
  • Page 162 162
  • Page 163 163
  • Page 164 164
  • Page 165 165
  • Page 166 166
  • Page 167 167
  • Page 168 168
  • Page 169 169
  • Page 170 170
  • Page 171 171
  • Page 172 172
  • Page 173 173
  • Page 174 174
  • Page 175 175
  • Page 176 176
  • Page 177 177

H3C S5120-EI Series Command Reference Manual

Type
Command Reference Manual

Ask a question and I''ll find the answer in the document

Finding information in a document is now easier with AI