107
3.2
Command Line Interface Introduction
The Command Line Interface supports two types of privileges, which are operator and manager
privileges. Users with operator privileges may only view the information, while those with manager
privileges are allowed to view information and configure settings. Operator and manager privileges
are initially entered without the need for passwords, but a user may assign a password to both the
operator and manager. If passwords are assigned, then when a user attempts to enter the CLI next
time, they will need to enter the correct username and password.
If users enter the password for the operator, then the prompt changes to indicate operator privilege.
Users are now in the “user” mode:
Switch>
If users enter the password for the manager, then the prompt changes to indicate manager privilege.
Users are now in the “privileged” mode:
Switch#
If users are in the user mode and want to switch to the privileged mode, they may simply type in the
command “
enable
” and then enter the correct username and password following the prompt:
Switch>
enable
Username:
(enter username here)
Password:
(enter password here)
Switch#
To enter the “configuration” mode, you need to be in the privileged mode, and then type in the
command “
configure
”:
Switch#
configure
Switch(config)#
An illustration of the modes, related privileges and screen prompt is shown in Figure 3.4.
Users
may
enter “
?
”
at
any
command mode and the CLI
will return possible commands at that point, along with some description of the keywords:
Switch(config)#
ip ?
address
Set IP address and subnet mask
default-gateway Set default gateway IP address
dns
Set DNS IP address
Users may use the <Tab> key to do keyword auto completion:
Switch(config)#
syst
<
Tab
>
Switch(config)#
system
User Mode
Operator Privilege
Switch>
Privileged Mode
Manager Privilege
Switch#
Configuration Mode
Manager Privilege
Switch(config)#
enable
enable
exit
exit
Figure 3.4 Modes, privileges and promts
Summary of Contents for EH7506
Page 35: ...29 Figure 2 40 Mapping Table of DSCP ECN page...
Page 53: ...47 2 9 1 GVRP Settings Figure 2 62 GVRP setting page...
Page 55: ...49 2 9 2 GMRP Settings Figure 2 63 GMRP setting page...
Page 76: ...70...
Page 90: ...84 Figure 2 97 iA Ring Example Topology...
Page 98: ...92 Management Address Indicates neighbor s management IP address...
Page 110: ...104 Figure 2 115 Reboot page...
Page 117: ...111...