port clear statistics
port clear statistics - Clear port statistics
Description:
Clear port statistics. If <port-name> is not specified, all ports statistics will be cleared.
Syntax:
port clear statistics [<port-name>]
port edit
port edit - Edit port attributes
Description:
Edit port attributes. A port can be identified by its name or by the connector name. The port speed and duplex mode are not relevant when auto-negotiation is enabled. Forcing the port speed to 1G is not allowed because auto-negotiation is mandatory for Gigabit Ethernet.
Syntax:
port edit <port-identifier> {{name <port-name>} |
{alias <port-alias>} |
{state {enable | disable}} |
{mtu <64-10240>} |
{lp-threshold <64-10240>} |
{llr {enable|disable}} |
{llr-period <decimal>} |
{internal-loopback {enable|disable}} |
{internal-loopback-timeout <0-60>} |
{auto-nego {enable|disable}} |
{speed {10M|100M|1G|10G}} |
{duplex {half|full}} |
{mdi {auto|mdi|mdix}} |
{advertisement {<advertisement-value>}+} |
{pause-mode {local|transparent|disable}} |
{protection {enable|disable}} |
{protection-mode {link-status|lacp-status|
erp-status}} |
{working-connector <connector-name>} |
{revertive {enable|disable}} |
{revert-period <decimal>} |
{link-time-out <decimal>}
{lldp-state {enable|disable}}
{lldp-rate <decimal>}
{version <1-2>} }+
{force-tx-on {enable|disable}} }+
Parameters:
Parameter | Description |
---|---|
<port-identifier> | <string> |
<port-alias> | <string> |
<advertisement-value> | {100M-HD|100M-FD|1G-HD|1G-FD|10G-FD|pause|asym-pause} |
name | New name assigned to the port. |
alias | The "alias" name for the port, as specified by a network manager. |
state | Port administrative state. |
mtu | Maximum transmission unit, which is platform dependent and includes all headers. Note: When the MTU is set to exceed a value of 2000, it is important that the ports passing traffic through the unit be configured with a matching speed. If the speed does not match, FIFO errors could occur. |
lp-threshold | Large packet threshold. Packets with a size above this threshold will be classified as large packets in the port statistics. |
llr | Enables or disables link lost return. |
llr-period | Period of time that the laser is turned on and off. Entering a value of 0 disables the laser, waiting for the opposite side to send a light pulse to re-establish the link. Note: Do not configure 0 on both sides, or the link will never re-establish. |
internal-loopback | Enable the internal loopback mode. The system loopback mode redirects the transmit frames to the receive path of the port. |
internal-loopback-timeout | Set timeout for the internal loopback mode. |
auto-nego | Enables or disables auto-negotiation. |
speed | Specifies link speed. |
duplex | Specifies duplex mode. |
mdi | Specifies the media dependent interface mode. |
advertisement | Specifies capabilities advertised during auto-negotiation. |
pause-mode | Specifies whether pause frames are processed locally, passed through transparently, or disabled. When both pause-mode and auto-negotiation are enabled, the exact behavior depends on the auto-negotiation results. |
protection | Enables the protection for this port. Once enabled, the protecting port is reserved by the protection mechanism and cannot be used for monitoring purposes as long as the protection is enabled. Protection is available on LAG ports only. |
protection-mode | Selects the operation mode that triggers the failover action. |
working-connector | Selects the working connector for the specified port. The connector choice allows the user to perform a switchover operation. Note: This parameter is only available on LAG ports with Protection Mode set to link status or LACP status. |
revertive | If enabled, the traffic is switched back to the main connector after the revert period has expired. |
revert-period | Sets the time, in seconds, during which a continuous signal must be detected on the main connector. The timer is restarted if a signal loss is detected during this period. |
port show configuration
port show configuration - Show port configuration
Description:
Without arguments or with the modifier summary, this command displays the port configuration summary in a table format. When specifying a port name or a connector name, this command displays detailed configuration for that port.
Syntax:
port show configuration [<port-name>]
port show statistics
port show statistics - Show port statistics
Description:
Display port statistics.
Syntax:
port show statistics [<port-name>] {
{ type {clearable | persistent | historic}} |
{ buckets <0-16>} |
{ period <period-id>}}+
Parameters:
Parameter | Description |
---|---|
<port-name> | <string> |
<period-id> | <decimal> |
type | Type of statistics to display:
|
port show status
port show status - Show port status
Description:
Display port status. Valid link state values are:
- Dormant:
- Indicates that a signal is detected.
- Protection-mode for the parent LAG port is 'Link-status'.
- Port is the standby connector.
Syntax:
port show status [<port-name>]
© 2025 Cisco and/or its affiliates. All rights reserved.
For more information about trademarks, please visit: Cisco trademarks
For more information about legal terms, please visit: Cisco legal terms
For legal information about Accedian Skylight products, please visit: Accedian legal terms and tradmarks