User Manual

individual configuration mode Transition command Prompt
policy map mode policy-map command SWR2311P(config-pmap)#
policy map class mode class command SWR2311P(config-pmap-c)#
L2MS mode l2ms configuration command SWR2311P(config-l2ms)#
LLDP agent mode lldp-agent command SWR2311P(lldp-agent)#
E-mail template mode mail template command SWR2311P(config-mail)#
RADIUS configuration mode radius-server local-profile command SWR2311P(config-radius)#
2.4.3 Command prompt prefix
he command prompt prefix indicates the host name. In the default state, the host name is the model name "SWR2311P". This
indication can be changed by using the hostname command to specify the host name. In cases where multiple SWR2311P units
are used, management will be easier if separate names are assigned to each switch.
Changing the host name
SWR2311P(config)# hostname Switch-012
Switch-012(config)#
2.4.4 Executing commands of a different input mode
Because the commands that can be used on the SWR2311P differ depending on the mode, you must transition to the mode in
which a command can be executed before you execute that command. The do command is provided as a way to avoid this
requirement.
By using the do command you can execute priviledged EXEC mode commands from any configuration mode. This allows you
to reference the current configuration or save settings from any configuration mode without having to transition to priviledged
EXEC mode.
However, since the completion function cannot be used with do, you must enter the command that follows either in its full
spelling or in its abbreviated form.
Entry in full spelling
SWR2311P(config)#do show running-config
Entry in abbreviated form
SWR2311P(config)#do sh ru
2.5 Keyboard operations when using the console
2.5.1 Basic operations for console input
The SWR2311P allows the following operations in the command line.
Moving the cursor
Keyboard operation Description and notes
Move right one character
Move left one character
Press Esc, then F
Move right one word (move to the character following the
end of the word at the cursor location)
Press Esc, then B
Move left one word (move to the first character of the word
at the cursor location)
Ctrl + A Move to the beginning of the line
Ctrl + E Move to the end of the line
Deleting an input character
Keyboard operation Description and notes
Backspace
Delete the character at the left of the cursor
Ctrl + H
Command Reference | How to use the commands | 21