AMX NXA-ENET24 Switch User Manual


 
CLI (Command Line Interface)
231
NXA-ENET24 - Software Management Guide
Interface Commands
These commands are used to display or set communication parameters for an Ethernet port, aggregated link, or
VLAN.
Interface Commands
Command Function
interface
This command configures
an interface type and enter
interface configuration
mode.
Use the no form to remove a
trunk.
Syntax:
interface interface
no interface port-channel channel-id
interface
ethernet unit/port
unit - Stack unit. (Range: 1-8)
port - Port number. (Range: 1-26)
port-channel channel-id (Range: 1-4)
vlan vlan-id (Range: 1-4094)
Default Setting: None
Command Mode: Global Configuration
Example: To specify port 24, enter the following command:
Console(config)#interface ethernet 1/24
Console(config-if)#
description
This command adds a
description to an interface.
Use the no form to remove
the description.
Syntax:
description string
no description
string - Comment or a description to help you remember what is attached to
this interface. (Range: 1-64 characters)
Default Setting: None
Command Mode: Interface Configuration (Ethernet, Port Channel)
Example: The following example adds a description to port 24:
Console(config)#interface ethernet 1/24
Console(config-if)#description RD-SW#3
Console(config-if)#
speed-duplex
This command configures
the speed and duplex mode
of a given interface when
autonegotiation is disabled.
Use the no form to restore
the default.
Syntax:
speed-duplex {1000full | 100full | 100half | 10full | 10half}
no speed-duplex
1000full - Forces 1000 Mbps full-duplex operation
100full - Forces 100 Mbps full-duplex operation
100half - Forces 100 Mbps half-duplex operation
10full - Forces 10 Mbps full-duplex operation
10half - Forces 10 Mbps half-duplex operation
Default Setting: Auto-negotiation is enabled by default. When auto-
negotiation is disabled, the default speed-duplex setting is 100half for
100BASE-TX ports and 1000full for Gigabit Ethernet ports.
Command Mode: Interface Configuration (Ethernet, Port Channel)
Command Usage: To force operation to the speed and duplex mode specified
in a speed-duplex command, use the no negotiation command to disable auto-
negotiation on the selected interface.
When using the negotiation command to enable auto-negotiation, the optimal
settings will be determined by the capabilities command. To set the speed/
duplex mode under auto-negotiation, the required mode must be specified in the
capabilities list for an interface.
Example: The following example configures port 5 to 100 Mbps, half-duplex
operation:
Console(config)#interface ethernet 1/5
Console(config-if)#speed-duplex 100half
Console(config-if)#no negotiation
Console(config-if)#