--- title: "port" slug: "cli-sc-port" updated: 2025-07-01T07:58:11Z published: 2025-09-03T14:12:28Z canonical: "docs.crossworkassurance.cisco.com/cli-sc-port" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.crossworkassurance.cisco.com/llms.txt > Use this file to discover all available pages before exploring further. # port ## port clear statistics port clear statistics - Clear port statistics **Description:** Clear port statistics. If is not specified, all port statistics will be cleared. **Syntax:** ``` port clear statistics [] ``` ## port edit port edit - Edit port attributes **Description:** Edit port attributes. A port is identified by its name. **Syntax:** ``` port edit {{alias } | {advertisement {}} | {state {enable | disable}} | {auto-nego {enable|disable}} | {speed {100M|1G|10G}} | {media-selection-mode {auto|manual}} | {media-selection-conn {SFP|RJ45}} | {lldp-state {enable|disable}} | {lldp-rate <1-3600>}} + ``` **Parameters:** | Parameter | Description | | --- | --- | | | | | | | | | {10M-HD\|10M-FD\|100M-HD\|100M-FD\|1G-HD\|1G-FD\|10G FD} | | alias | The "alias" name for the port, as specified by a network manager. | | state | Port administrative state. | | advertisement | Specifies capabilities advertised during auto-negotiation. | | media-selection-mode | Selection mode for dual-media ports. | | media-selection-conn | Preferred media in automatic mode, or alternatively the selected media in manual mode for dual-media ports. | | auto-nego | Enables or disables auto-negotiation. | | speed | Specifies link speed. | | lldp-state | LLDP frame transmission and neighbor discovery state. | | lldp-rate | LLDP frame transmission rate in seconds [1-3600]. | ## 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, this command displays detailed configuration for that port. **Syntax:** ``` port show configuration [] ``` ## port show device-name port show device-name - Show port remote device name **Description:** This command displays the port remote device name. **Syntax:** ``` port show device-name [] ``` ## port show statistics port show statistics - Show port statistics **Description:** Display port statistics. **Syntax:** ``` port show statistics [] [more] ``` **Parameters:** | Parameter | Description | | --- | --- | | | | | more | Show statistics specific to tunnel ports. | ## port show status port show status - Show port status **Description:** Display port status. **Syntax:** ``` port show status [] ``` **© 2026 Cisco and/or its affiliates. All rights reserved.** For more information about trademarks, please visit: [Cisco trademarks](https://www.cisco.com/c/en/us/about/legal/trademarks.html)[](https://www.cisco.com/c/en/us/about/legal/trademarks.html) For more information about legal terms, please visit: [Cisco legal terms](https://www.cisco.com/c/en/us/about/legal/terms-conditions.html)