AMX NXA-ENET24 Switch User Manual


 
CLI (Command Line Interface)
234
NXA-ENET24 - Software Management Guide
Interface Commands (Cont.)
Command Function
clear counters
This command clears
statistics on an interface.
Syntax:
clear counters interface
•interface
ethernet unit/port
unit - Stack unit. (Range: 1-8)
port - Port number. (Range: 1-26)
port-channel channel-id (Range: 1-4)
Default Setting: None
Command Mode: Privileged Exec
Command Usage: Statistics are only initialized for a power reset. This com-
mand sets the base value for displayed statistics to zero for the current manage-
ment session. However, if you log out and back into the management interface,
the statistics displayed will show the absolute value accumulated since the last
power reset.
Example: The following example clears statistics on port 5:
Console#clear counters ethernet 1/5
Console#
show interfaces status
This command displays the
status for an interface.
Syntax:
show interfaces status [interface]
•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: Shows the status for all interfaces.
Command Mode: Normal Exec, Privileged Exec
Command Usage: If no interface is specified, information on all interfaces is
displayed. For a description of the items displayed by this command, see
Displaying Connection Status - CLI on page 86.
Example:
Console#show interfaces status ethernet 1/5
Information of Eth 1/5
Basic information:
Port type: 100TX
Mac address: 00-00-AB-CD-00-01
Configuration:
Name:
Port admin: Up
Speed-duplex: Auto
Capabilities: 10half, 10full, 100half, 100full,
Broadcast storm: Enabled
Broadcast storm limit: 32000 octets/second
Flow control: Disabled
Lacp: Disabled
Port security: Disabled
Max MAC count: 0
Port security action: None
Current status:
Link status: Up
Port operation status: Up
Operation speed-duplex: 100full
Flow control type: None
Console#show interfaces status vlan 1
Information of VLAN 1
MAC address: 00-00-AB-CD-00-00
Console#