AMX NXA-ENET24 Switch User Manual


 
CLI (Command Line Interface)
170
NXA-ENET24 - Software Management Guide
General Commands (Cont.)
Command Function
configure
This command
activates Global
Configuration
mode.
You must enter this
mode to modify any
settings on the
switch.
Default Setting: None
Command Mode: Privileged Exec
Example:
Console#configure
Console(config)#
You must also enter Global Configuration mode prior to enabling some of the other con-
figuration modes, including Interface Configuration, Line Configuration, and VLAN Data-
base Configuration. See the Understanding Command Modes section on page 162.
show history
This command
shows the contents
of the command
history buffer.
Default Setting: None
Command Mode: Normal Exec, Privileged Exec
Command Usage: The history buffer size is fixed at 10 Execution commands and 10
Configuration commands.
Example: In this example, the show history command lists the contents of the command
history buffer:
Console#show history
Execution command history:
2 config
1 show history
Configuration command history:
4 interface vlan 1
3 exit
2 interface vlan 1
1 end
Console#
The ! command repeats commands from the Execution command history buffer when
you are in Normal Exec or Privileged Exec Mode, and commands from the Configuration
command history buffer when you are in any of the configuration modes.
In this example, the !2 command repeats the second command in the Execution history
buffer (config):
Console#!2
Console#config
Console(config)#
reload
This command
restarts the system.
Default Setting: None
Command Mode: Privileged Exec
Command Usage: This command resets the entire system.
Example: This example shows how to reset the switch:
Console#reload
System will be restarted, continue <y/n>? y
Note: When the system is restarted, it will always run the Power-On Self-Test. It will also
retain all configuration information stored in non-volatile memory by the copy running-
config startup-config command.
end
This command
returns to Privileged
Exec mode.
Default Setting: None
Command Mode: Global Configuration, Interface Configuration, Line Configuration, and
VLAN Database Configuration.
Example: This example shows how to return to the Privileged Exec mode from the
Interface Configuration mode:
Console(config-if)#end
Console#