The following table shows the relationship of the command mode names to the prompts visible in the mode and the exit method from that mode. The first three rows in the table are organized in the sequence in which you would access the child modes. Beyond the Global Config mode, the modes are either accessed from the Global Config mode or from the mode listed in the row above.

The hostname in the Prompt column is a placeholder for the prompt name that you create using the hostname command. For example, if you use “Speedy”, the User Exec prompt is Speedy>, the Privileged Exec prompt is Speedy#, and the Global Config prompt is Speedy (Config)#. For details, see Figure 5 on page 46 and Mode-based Command Hierarchy on page 48.

Table 3 Command Modes

Command Mode

Mode Access Method

Prompt

Exit or Access Previous Mode

 

 

 

 

User Exec

This is the first level of

hostname >

Enter logout or quit.

 

access. Perform basic tasks

 

 

 

and list system information.

 

 

Privileged Exec

In the User Exec mode,

hostname #

To exit to the User Exec mode, enter

 

enter the enable

 

exit or press Ctrl-Z. To close the

 

command.

 

session, enter logout or quit.

 

 

 

 

Global Config

In the Privileged Exec mode,

hostname (Config)#

To exit to the Privileged Exec mode, enter

 

enter the configure

 

the exit command, or press Ctrl-Z to

 

command.

 

switch to the User Exec mode.

 

 

 

 

DHCP Pool Config

In the Global Config mode,

hostname (Config-dhcp-pool)#

To exit to the Global Config mode, enter

 

enter the ip dhcp pool

 

the exit command. To return to the User

 

pool-name command.

 

Exec mode, enter Ctrl-Z

 

 

 

 

Interface Config

In the Global Config mode,

hostname (Interface "if

To exit to the Global Config mode, enter

 

enter the interface

number")#

the exit command. To return to the User

 

command.

 

Exec mode, enter Ctrl-Z.

 

 

 

 

Interface Range

In the Global Config mode,

hostname

To exit to the Global Config mode, enter

 

enter the interface range

(conf-if-range-range)#, where

the exit command. To return to the User

 

range command.

range consists of the specified

Exec mode, enter Ctrl-Z.

 

 

interface range. For example,

The Ethernet Range mode, Port Channel

 

 

for VLANs 100–200, the

 

 

mode, and VLAN Range mode are the

 

 

prompt is hostname

 

 

three child modes of the Interface Range

 

 

(conf-if-range-vl-100-200)#

 

 

mode. The exit command returns you to

 

 

 

 

 

 

the Interface Range mode.

 

 

 

 

Interface VLAN

In the Global Config mode,

hostname (conf-if-vl-vlan-id) #

To exit to the Global Config mode, enter

 

enter the command

 

the exit command, or press Ctrl-Z to

 

interface vlan vlanid.

 

switch to the User Exec mode.

 

 

 

 

Line Config Mode

In the Global Config mode,

hostname (line) #

To exit to the Global Config mode, enter

 

enter the lineconfig

 

the exit command. To return to the User

 

command

 

Exec mode, enter Ctrl-Z.

 

 

 

 

SFTOS Command Reference for the S2410, Version 2.4.1.0

47

Page 47
Image 47
Force10 Networks S2410s manual Enter logout or quit, Enter the ip dhcp pool, Pool-name command, Enter the interface range