AMX NXA-ENET24 Switch User Manual


 
CLI (Command Line Interface)
163
NXA-ENET24 - Software Management Guide
Configuration Commands
Configuration commands are privileged level commands used to modify switch settings. These commands
modify the running configuration only and are not saved when the switch is rebooted. To store the running
configuration in nonvolatile storage, use the copy running-config startup-config command.
The configuration commands are organized into different modes:
Global Configuration - These commands modify the system level configuration, and include
commands such as hostname and snmp-server community.
Access Control List Configuration - These commands are used for packet filtering.
Interface Configuration - These commands modify the port configuration such as speed-duplex
and negotiation.
Line Configuration - These commands modify the console port and Telnet configuration, and
include commands such as parity and databits.
VLAN Configuration - Includes the command to create VLAN groups.
To enter the Global Configuration mode, enter the command configure in Privileged Exec mode. The system
prompt will change to “Console(config)#” which gives you access privilege to all Global Configuration
commands.
Console#configure
Console(config)#
To enter the other modes, at the configuration prompt type one of the following commands.
Use the exit or end command to return to the Privileged Exec mode.
For example, you can use the following commands to enter interface configuration mode, and then return to
Privileged Exec mode.
Console(config)#interface ethernet 1/5
.
.
.
Console(config-if)#exit
Console(config)#
Command Line Processing
Commands are not case sensitive.
You can abbreviate commands and parameters as long as they contain enough letters to differentiate them from
any other currently available commands or parameters. You can use the Tab key to complete partial
commands, or enter a partial command followed by the “?” character to display a list of possible matches.
You can also use the following editing keystrokes for command-line processing:
Configuration Commands
Mode Command Prompt Page
Line line {console | vty} Console(config-line)# 165
Access Control
List
access-list ip standard
access-list ip extended
access-list ip mask-precedence
access-list mac
access-list mac mask-precedence
Console(config-std-acl)
Console(config-ext-acl)
Console(config-ip-mask-acl)
Console(config-mac-acl)
Console(config-mac-mask-acl)
209
Interface interface {ethernet port | port-channel id| vlan id} Console(config-if)# 231
VLAN vlan database Console(config-vlan) 255
Keystroke Commands
Keystroke Function
Ctrl-A Shifts cursor to start of command line.
Ctrl-B Shifts cursor to the left one character.
Ctrl-C Terminates the current task and displays the command prompt.