AMX NXA-ENET24 Switch User Manual


 
CLI (Command Line Interface)
160
NXA-ENET24 - Software Management Guide
Console(config)#interface vlan 1
Console(config-if)#ip address 10.1.0.1 255.255.255.0
Console(config-if)#exit
Console(config)#ip default-gateway 10.1.0.254
If your corporate network is connected to another network outside your office or to the Internet, you need to
apply for a registered IP address. However, if you are attached to an isolated network, then you can use any IP
address that matches the network segment to which you are attached.
After you configure the switch with an IP address, you can open a Telnet session by performing these steps.
1. From the remote host, enter the Telnet command and the IP address of the device you want to access.
2. At the prompt, enter the user name and system password. The CLI will display the “Vty-0#” prompt for
the administrator to show that you are using privileged access mode (i.e., Privileged Exec), or “Vty-0>”
for the guest to show that you are using normal access mode (i.e., Normal Exec).
3. Enter the necessary commands to complete your desired tasks.
4. When finished, exit the session with the “quit” or “exit” command.
After entering the Telnet command, the login screen displays:
Username: admin
Password:
CLI session with the Intelligent Fast Ethernet PoE Switch is
opened.
To end the CLI session, enter [Exit].
Console#
Entering Commands
This section describes how to enter CLI commands.
Keywords and Arguments
A CLI command is a series of keywords and arguments. Keywords identify a command, and arguments
specify configuration parameters. For example, in the command “show interfaces status ethernet 1/5,” show
interfaces and status are keywords, ethernet is an argument that specifies the interface type, and 1/5 specifies
the unit/port.
You can enter commands as follows:
To enter a simple command, enter the command keyword.
To enter multiple commands, enter each command in the required order. For example, to enable
Privileged Exec command mode, and display the startup configuration, enter:
Console>enable
Console#show startup-config
To enter commands that require parameters, enter the required parameters after the command
keyword. For example, to set a password for the administrator, enter:
Console(config)#username admin password 0 smith
Minimum Abbreviation
The CLI will accept a minimum number of characters that uniquely identify a command. For example, the
command “configure” can be entered as con. If an entry is ambiguous, the system will prompt for further
input.
Command Completion
If you terminate input with a Tab key, the CLI will print the remaining characters of a partial keyword up to the
point of ambiguity. In the “logging history” example, typing log followed by a tab will result in printing the
command up to “logging.”
You can open up to four sessions to the device via Telnet.