Utilizing the Command Line Interface

4.Some attributes can be set at this level without acquiring other modes. For example: access- list access-list-num [deny permit] [parameter [parameter…]]

5.Show commands can all be entered at EXEC, Privileged EXEC or higher modes.

User EXEC Mode

You enter User EXEC (or simply EXEC) mode after logging in. The following commands can be entered in EXEC mode: disable, enable, exit, help, isdn, ping, show, telnet,

terminal and traceroute.

Privileged EXEC Mode

In order to make configuration changes, you must enter PRIV EXEC mode. Some configuration parameters specified in this mode apply to XSR global settings such as the system clock. Supported privileged EXEC mode commands are: cd, clear, clock, configure, copy, debug, delete, dir, disable, enable, exit, help, isdn, more, no, ping, pwd, reload, rename, show, telnet, terminal, traceroute, verify, and write.

Global Configuration Mode

In Global configuration mode you can configure many different resources such as ports, interfaces, and routing tables. The following levels are provided at the Global configuration level:

Interface Level: At this level you can modify/assign specific port parameters on a port-by-port basis. You can enter this level by typing interface interface-type <interface #> at the Global configuration command prompt. For example, you can enter:

XSR(config)#interface gigabitethernet 3

The XSR will return the following prompt:

XSR(config-if<G3>)#

Router level: At this level you can configure parameters associated with the RIP or OSPF protocols. You reach this level by typing router [RIP, OSPF] in Global mode. For example:

XSR(config)#router rip

The XSR will return the following prompt:

XSR(config-router)#

Several other levels are available in Global mode including AAA, Class-Map, Crypto, Dialer, IP, and Map-Class. Many of these modes have additional levels nested within them.

Exiting From the Current Mode

Each of these commands exits from your mode but with different results:

Exit: In each mode exit quits from the current to previous mode

End: end always returns to Privileged EXEC from either Global or sub-configuration mode

Ctrl-Z: Same as the end command

Be aware that you need not always exit from a mode if your current and destination modes subscribe to the same parent in the mode tree.

2-14 Managing the XSR

Page 50
Image 50
Enterasys Networks X-PeditionTM manual Global Configuration Mode, Exiting From the Current Mode, User Exec Mode