User Manual

Table Of Contents
individual configuration mode Transition command Prompt
LLDP agent mode lldp-agent command SWX3220(lldp-agent)#
OSPFv2 mode router ospf command SWX3220(config-router)#
OSPFv3 mode router ipv6 ospf command SWX3220(config-router)#
RIP mode router rip command SWX3220(config-router)#
RIPng mode router ipv6 rip command SWX3220(config-router)#
key chain mode key chain command SWX3220(config-keychain)#
key chain key mode key command SWX3220(config-keychain-key)#
VRRP mode router vrrp command SWX3220(config-router)#
DHCP mode dhcp pool command SWX3220(config-dhcp)#
E-mail template mode mail template command SWX3220(config-mail)#
RADIUS configuration mode radius-server local-profile command SWX3220(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 "SWX3220". This
indication can be changed by using the hostname command to specify the host name. In cases where multiple SWX3220 units
are used, management will be easier if separate names are assigned to each switch.
Changing the host name
SWX3220(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 SWX3220 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 privileged 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 privileged
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
SWX3220(config)#do show running-config
Entry in abbreviated form
SWX3220(config)#do sh ru
2.5 Keyboard operations when using the console
2.5.1 Basic operations for console input
The SWX3220 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
Command Reference | How to use the commands | 25