
Command line interface
21
CLI command modes
The CLI has four command modes based on the level of permissions
assigned to you. The password that you use to log on determines the
level of permissions. Each command mode provides access to a specific
group of commands.
The four command modes, from most to least restricted, are
•
User EXEC mode
The User EXEC mode (also referred to as exec mode) is the default CLI
command mode. User EXEC is the initial mode of access when you
first turn on a switch. User Exec mode provides a limited subset of CLI
commands, is the most restrictive CLI mode, and has few privileges.
•
Privileged EXEC mode
Use Privileged EXEC mode (also referred to as privExe mode) to
perform basic switch-level management tasks, such as downloading
software images, setting passwords, and booting the switch.
•
Global Configuration mode
Use Global Configuration mode (also referred to as config mode) to set
and display general configurations for the switch, such as IP address,
SNMP parameters, Telnet access, and VLANs.
•
Interface Configuration mode
Use Interface Configuration mode (also referred to as if-config mode) to
configure parameters, such as speed, duplex mode, and rate-limiting,
for each port or VLAN.
The Command modes table lists the four command modes, the prompt for
each, the CLI commands to use to proceed to the next mode, and the CLI
commands to enter and exit the modes. Each switch displays a prompt
specific to the switch type. The prompts displayed in the table are for a
Nortel Ethernet Routing Switch 4500 Series 4548-GT-PWR switch.
Command modes
Current command
mode
CLI prompt
To move up to
the next mode
To leave
current mode
User EXEC
4548GT-PWR>
Use the
enable
command to
move to the
Privileged EXEC
mode.
Use one of
the following
commands to
close the CLI
session:
•
exit
•
logout
Nortel Ethernet Routing Switch 4500 Series
Overview — System Configuration
NN47205-500
02.01
Standard
5.0
23 February 2007
Copyright © 2007, Nortel Networks
Nortel Networks Confidential
.