CLI (Command Line Interface)
165
NXA-ENET24 - Software Management Guide
Line Commands

You can access the onboard configuration program by attaching a VT100 compatible device to the switch’s

serial port. These commands are used to set communication parameters for the serial port or Telnet (i.e., a

virtual terminal).

Command Group Index (Cont.)

Command Group Description Page
•Priority Sets port priority for untagged frames, relative weight for each pri-
ority queue, also sets priority for TCP/UDP traffic types, IP prece-
dence, and DSCP
264
• Multicast Filtering Configures IGMP multicast filtering, query parameters, and speci-
fies ports attached to a multicast router
271
• IP Interface Configures the IP address and gateway for management access 275
• DNS Configures DNS services 278

Line Commands

Command Function
line
Use this command to
identify a specific line
for configuration, and
to process
subsequent line
configuration
commands.
Syntax:
line {console | vty}
• console - Console terminal line.
• vty - Virtual terminal for remote console access (i.e., Telnet).
Default Setting: There is no default line.
Command Mode: Global Configuration
Command Usage: Telnet is considered a virtual terminal connection and will be
shown as “Vty” in screen displays such as show users. However, the serial
communication parameters (e.g., databits) do not affect Telnet connections.
Example: To enter console line mode, enter the following command:
Console(config)#line console
Console(config-line)#
login
Use this command to
enable password
checking at login.
Use the no form to
disable password
checking and allow
connections without a
password.
Syntax:
login [local]
no login
• local - Selects local password checking. Authentication is based on the user name
specified with the username command.
Default Setting: login local
Command Mode: Line Configuration
Command Usage: There are three authentication modes provided by the switch itself
at login:
login selects authentication by a single global password as specified by the
password line configuration command. When using this method, the management
interface starts in Normal Exec (NE) mode.
login local selects authentication via the user name and password specified by the
username command (i.e., default setting). When using this method, the
management interface starts in Normal Exec (NE) or Privileged Exec (PE) mode,
depending on the user’s privilege level (0 or 15 respectively).
no login selects no authentication. When using this method, the management
interface starts in Normal Exec (NE) mode.
This command controls login authentication via the switch itself. To configure user
names and passwords for remote authentication servers, you must use the RADIUS/
TACACS software installed on those servers.
Example:
Console(config-line)#login local
Console(config-line)#