82CLI Basics

CLI command modes

Most CLI commands are available only under a certain command mode. The Ethernet Routing Switch 2500 Series has the following four command modes:

User EXEC

Privileged EXEC

Global Configuration

Interface Configuration

The User EXEC mode is the default mode; it is also referred to as exec. This command mode is the initial mode of access on powering-up the Ethernet Routing Switch 2500 Series. In this command mode, the user can access only a subset of the total CLI commands; however, the commands in this mode are available while the user is in any of the other four modes. The commands in this mode are those you would generally need, such as ping and logout.

Commands in the Privileged EXEC mode are available to all other modes but the User EXEC mode. The commands in this mode allow you to perform basic switch-level management tasks, such as downloading the software image, setting passwords, and booting the Ethernet Routing Switch 2500 Series. The Privileged EXEC mode is also referred to as privExec mode.

The Global Configuration mode and the Interface Configuration mode allow you to change the configuration of the Ethernet Routing Switch 2500 Series. Changes made in these command modes are immediately applied to the switch configuration and saved to NVRAM.

The Global Configuration commands allow you to set and display general configurations for the switch, such as the IP address, SNMP parameters, the Telnet access, and VLANs. The Global Configuration mode is also referred to as config mode.

The Interface Configuration commands allow you to configure parameters for each port, such as speed and duplex mode. The Interface Configuration mode is also referred to as config-if mode.

Figure 23 "CLI command mode hierarchy" (page 83) provides an illustration of the hierarchy of Ethernet Routing Switch 2500 Series CLI command modes.

Nortel Ethernet Routing Switch 2500 Series

Overview — System Configuration

NN47215-500 (323162-B) 02.02 Standard

4.1 19 November 2007

Copyright © 2007, Nortel Networks

Page 82
Image 82
Nortel Networks 2500 Series manual CLI command modes