The show for switch
Author: h | 2025-04-25
mlb the show 23 nintendo switch. the show 23 nintendo switch. the show 23. nintendo switch sports games. nintendo switch baseball games. mlb the show. baseball video games. About this item. Product details. MLB The Show 23 Amazon.com: the show 22 switch. MLB The Show 23 Nintendo Switch. ESRB Rating: Everyone
Switches show Not in sync
10.10.1.1.Escape character is '^]'.switch login: Clearing Telnet Sessions You can clear Telnet sessions from the Cisco Nexus device. Procedure Command or Action Purpose Step 1 switch# show users Displays user session information. Step 2 switch# clear line vty-line Clears a user Telnet session. Verifying the SSH and Telnet Configuration To display the SSH configuration information, perform one of the following tasks: Procedure switch# show ssh key [dsa | rsa] Command or Action Purpose switch# show running-config security[all] Displays the SSH and user account configuration in the running configuration. The all keyword displays the default values for the SSH and user accounts. switch# show ssh server Displays the SSH server configuration. switch# show user-account Displays user account information Default Settings for SSH The following table lists the default settings for SSH parameters. Table 1. Default SSH Parameters Parameters Default SSH server Enabled SSH server key RSA key generated with 1024 bits RSA key bits for generation 1024 Telnet server Enabled
Amazon.com: The Show 23 Switch
Configuration and the extended-range VLAN configuration in the switch startup configuration file. Otherwise, if the switch resets, it will default to VTP server mode, and the extended-range VLAN IDs will not be saved. This step is not required for VTP version 3 because VLANs are saved in the VLAN database. show interfaces interface-id switchport Displays the switch port configuration of the interface. show interfaces interface-id trunk Displays the trunk configuration of the interface. show running-config interface interface-id Verifies the VLAN membership mode of the interface. show vmps Verifies your VMPS entries. show vlan Verifies your VLAN entries. Configuration Examples for Configuring VLANs VMPS Network: Example Figure 17-4 shows a network with a VMPS server switch and VMPS client switches with dynamic-access ports. In this example, these assumptions apply: The VMPS server and the VMPS client are separate switches. The Catalyst 6500 series Switch A is the primary VMPS server. The Catalyst 6500 series Switch C and Switch J are secondary VMPS servers. End stations are connected to the clients, Switch B and Switch I. The database configuration file is stored on the TFTP server with the IP address 172.20.22.7. Figure 17-4 Dynamic Port VLAN Membership Configuration Configuring a VLAN: Example This example shows how to create Ethernet VLAN 20, name it test20, and add it to the VLAN database: Switch# configure terminal Switch(config)# vlan 20 Switch(config-vlan)# name test20 Switch(config-vlan)# end Configuring an Access Port in a VLAN: Example This example shows how to configure a port as an access portAmazon.com: The Show 22 Switch
To send a ttag-marker packet to the outgoing ports. This is a global setting to the switch. By default, it sends a ttag-marker packet every 60 seconds. The range for seconds is from 1 to 25200. Step 3 interface type slot/port Example: switch(config)# interface ethernet 2/2switch(config-if)# Enters interface configuration mode for the specified interface. Step 4 [no] ttag-marker enable Example: switch(config-if)# ttag-marker enable Sends the ttag-marker packets to the outgoing port. Step 5 ttag-strip Example: switch(config-if)# ttag-strip Removes TTAG from egress packets on the interface. Verifying the PTP Configuration Use one of the following commands to verify the configuration: Table 6. PTP Show Commands Command Purpose show ptp brief Displays the PTP status. show ptp clock Displays the properties of the local clock, including clock identity. show ptp clock foreign-masters-record Displays the state of foreign masters known to the PTP process. For each foreign master, the output displays the clock identity, basic clock properties, and whether the clock is being used as a grandmaster. show ptp corrections Displays the last few PTP corrections. show ptp counters [all | interface ethernet slot/port] Displays the PTP packet counters for all interfaces or for a specified interface. show ptp parent Displays the properties of the PTP parent. show ptp port interface ethernet slot/port Displays the status of the PTP port on the switch. show ptp time-property Displays the PTP clock properties. show ttag brief Displays the status of the timestamp tagging configuration. Note Timestamp tagging configuration is not supported on Cisco Nexus 9508 switches with 9636C-R, 9636C-RX, and 9636Q-R line cards. show running-config ptp [all] Displays the running configuration for PTP. clear ptp counters [all | interface ethernet slot/port] Clears all PTP messages that are received and transmitted on a specific interface or on all interfaces that has PTP enabled. clear ptp corrections. mlb the show 23 nintendo switch. the show 23 nintendo switch. the show 23. nintendo switch sports games. nintendo switch baseball games. mlb the show. baseball video games. About this item. Product details. MLB The Show 23 Amazon.com: the show 22 switch. MLB The Show 23 Nintendo Switch. ESRB Rating: EveryoneMLB The Show - Switch-24
Show cdp globalshow cdp globalimport requestsimport json """Modify these please"""url=' myheaders={'content-type':'application/json'}payload={"ins_api":{ "version": "1.0", "type": "cli_show", "chunk": "0", "sid": "1", "input": "show cdp global", "output_format": "json"} response = requests.post(url,data=json.dumps(payload), headers=myheaders,auth=(switchuser,switchpassword)).json()output = json.dumps(response, indent=4, sort_keys=True){ "cdp_global_enabled": "enabled", "refresh_time": "60", "ttl": 180, "v2_advertisement": "enabled", "deviceid_format": "DeviceID TLV in System-Name(Default) Format"}switch# show cdp global | xml enabled 60 180 enabled DeviceID TLV in System-Name(Default) Format ]]>]]>For command descriptions, see the Cisco Nexus 7000 Series Switches Command References. Note: This sample output is generated for Cisco Nexus 7000 Series NX-OS Release 8.3(1).CLI Outputswitch# **show cdp global**switch# show cdp globalGlobal CDP information: CDP enabled globally Refresh time is 60 seconds Hold time is 180 seconds CDPv2 advertisements is enabled DeviceID TLV in System-Name(Default) Format show cdp neighborsshow cdp neighborsimport requestsimport json """Modify these please"""url=' myheaders={'content-type':'application/json'}payload={"ins_api":{ "version": "1.0", "type": "cli_show", "chunk": "0", "sid": "1", "input": "show cdp neighbors", "output_format": "json"} response = requests.post(url,data=json.dumps(payload), headers=myheaders,auth=(switchuser,switchpassword)).json()output = json.dumps(response, indent=4, sort_keys=True){ "TABLE_cdp_neighbor_brief_info": { "ROW_cdp_neighbor_brief_info": [ { "ifindex": 83886080, "device_id": "SW-JWALA-ECBU-I12", "intf_id": "mgmt0", "ttl": 139, "capability": [ "switch", "IGMP_cnd_filtering" ], "platform_id": "cisco WS-C2960G-48TC-L", "port_id": "GigabitEthernet0/10" }, { "ifindex": 438906880, "device_id": "ethpm-f4100g-sw1-vpc1(FXS1813Q0VY)", "intf_id": "Ethernet6/20", "ttl": 35, "capability": [ "router", "switch", "IGMP_cnd_filtering", "Supports-STP-Dispute" ], "platform_id": "N77-C7706", "port_id": "Ethernet2/6" }, { "ifindex": 438906880, "device_id": "N7706-vpc1(FXS1813Q0VY)", "intf_id": "Ethernet6/20", "ttl": 155, "capability": [ "router", "switch", "IGMP_cnd_filtering", "Supports-STP-Dispute" ], "platform_id": "N77-C7706", "port_id": "Ethernet2/6" } ] }, "neigh_count": 3}switch# show cdp neighbors | xml 83886080 SW-JWALA-ECBU-I12 mgmt0 145 switch IGMP_cnd_filtering cisco WS-C2960G-48TC-L GigabitEthernet0/10 438906880 ethpm-f4100g-sw1-vpc1(FXS1813Q0VY) Ethernet6/20 41 router switch IGMP_cnd_filtering Supports-STP-Dispute N77-C7706 Ethernet2/6 438906880 N7706-vpc1(FXS1813Q0VY) Ethernet6/20 161 router switch IGMP_cnd_filtering Supports-STP-Dispute N77-C7706 Ethernet2/6 3 ]]>]]>For command descriptions, see the Cisco Nexus 7000 Series Switches Command References. Note: This sample output is generated for Cisco Nexus 7000 Series NX-OS Release 8.3(1).CLI Outputswitch# **show cdp neighbors**switch# show cdp neighborsCapability Codes: R - Router, T - Trans-Bridge, B - Source-Route-Bridge S - Switch, H - Host, I - IGMP, r - Repeater, V - VoIP-Phone, D - Remotely-Managed-Device, s - Supports-STP-DisputeDevice-ID Local Intrfce Hldtme Capability Platform Port IDSW-JWALA-ECBU-I12 mgmt0 149 S I WS-C2960G-48TC-L Gig0/10ethpm-f4100g-sw1-vpc1(FXS1813Q0VY) Eth6/20 45 R S I s N77-C7706 Eth2/6N7706-vpc1(FXS1813Q0VY) Eth6/20 165 R S I s N77-C7706 Eth2/6 Total entries displayed: 3show cdp neighbors [interface ]show cdp neighbors [interface ]import requestsimport json """Modify these please"""url=' myheaders={'content-type':'application/json'}payload={"ins_api":{ "version": "1.0", "type": "cli_show", "chunk": "0", "sid": "1", "input": "show cdp neighbors interface ethernet6/20", "output_format": "json"} response = requests.post(url,data=json.dumps(payload), headers=myheaders,auth=(switchuser,switchpassword)).json()output = json.dumps(response, indent=4, sort_keys=True){ "TABLE_cdp_neighbor_brief_info": { "ROW_cdp_neighbor_brief_info": { "ifindex": 438906880, "device_id": "N7706-vpc1(FXS1813Q0VY)", "intf_id": "Ethernet6/20", "ttl": 143, "capability": [ "router", "switch", "IGMP_cnd_filtering", "Supports-STP-Dispute" ], "platform_id": "N77-C7706", "port_id": "Ethernet2/6" } }, "neigh_count": 1}switch# show cdp neighbors interface ethernet6/20 | xml Ethernet6/20 438906880 N7706-vpc1(FXS1813Q0VY) Ethernet6/20 154 router switch IGMP_cnd_filtering Supports-STP-Dispute N77-C7706 Ethernet2/6 1 ]]>]]>For command descriptions, see the Cisco Nexus 7000 Series Switches Command References. Note: This sample output is generated for Cisco Nexus 7000 Series NX-OS Release 8.3(1).CLI Outputswitch# **show cdp neighbors interface ethernet6/20**switch# show cdp neighbors interface ethernet6/20Global CDP information: CDP enabled globally Refresh time is 60 seconds Hold time is 180 seconds CDPv2 advertisements is enabled DeviceID TLV in System-Name(Default) Format show cdpMLB The Show 24 - Nintendo Switch - The Show Edition
Troubleshooting STP About Troubleshooting STP STP provides a loop-free network at the Layer 2 level. Layer 2 LAN ports send and receive STP frames at regular intervals. Network devices do not forward these frames but use the frames to construct a loop-free path. For more information on Layer 2, see the Cisco Nexus 9000 Series Layer 2 Configuration Guide. Initial Troubleshooting STP Checklist Troubleshooting an STP problem involves gathering information about the configuration and connectivity of individual devices and the entire network. Begin troubleshooting STP issues by checking the following issues first: Checklist Done Verify the type of spanning tree configured on your device. Verify the network topology including all interconnected ports and switches. Identify all redundant paths on the network and verify that the redundant paths are blocking. Use the show spanning-tree summary totals command to verify that the total number of logical interfaces in the Active state are less than the maximum allowed. For information on these limits, see the Cisco Nexus 9000 Series NX-OS Layer 2 Switching Configuration Guide. Verify the primary and secondary root bridge and any configured Cisco extensions. Use the following commands to view STP configuration and operational details: show running-config spanning-tree show spanning-tree summary show spanning-tree detail show spanning-tree bridge show spanning-tree mst show spanning-tree mst configuration show spanning-tree interface interface-type slot/port [detail] show tech-support stp show spanning-tree vlan Use the show spanning-tree blockedports command to display the ports that are blocked by STP. Use the show mac address-table dynamic vlan command to determine if learning or aging occurs at each node. Troubleshooting STP Data Loops Data loops are a common problem in STP networks. Some of the symptoms of a data loop are as follows: High link utilization, up to 100 percent High CPU and backplane traffic utilization Constant MAC address relearning and flapping Excessive output drops on an interface When the l2fm logging level is greater than or equal to 4, the switch logs occurrences of host MAC address flapping to help you locate STP data loops. If it detects a MAC address move within less than 1 second and if 10 consecutive moves occur, the switch disables learning on the VLAN for one of the ports between which the MAC address is moving. Learning is disabled for 120 seconds and reenabled automatically. Syslogs are generated while learning is disabled and enabled. You can configure the logging level using the logging level l2fm log-level command. SUMMARY STEPS switch# show interface interface-type slot/port include rate switch(config)# interface interface-type slot/port switch(config-if)# shutdown switch(config-if)# show spanning-tree vlan vlan-id (Optional) switch(config-if)# show spanning-tree interface interface-type slot/port detail (Optional) switch(config-if)# show interface counters errors DETAILED STEPS Command or Action Purpose Step 1 switch# show interface interface-type slot/port include rate Example: switch# show interface ethernet 2/1 include rate 1 minute input rate 19968 bits/sec, 0 packets/sec 1 minute output rate 3952023552 bits/sec, 957312 packets/sec Identifies the ports involved in the loop by looking at the interfaces with high link utilization. Step 2 switch(config)# interface interface-type slot/port Example:Switch Sound File Converter - Switch shows Unsupported format
In VLAN 2: Switch# configure terminal Enter configuration commands, one per line. End with CNTL/Z. Switch(config)# interface gigabitethernet1/1 Switch(config-if)# switchport mode access Switch(config-if)# switchport access vlan 2 Switch(config-if)# end Configuring an Extended-Range VLAN: Example This example shows how to create a new extended-range VLAN with all default characteristics: Switch(config)# vtp mode transparent Switch(config)# vlan 2000 Switch(config-vlan)# end Switch# copy running-config startup config Configuring a Trunk Port: Example This example shows how to configure a port as an IEEE 802.1Q trunk. The example assumes that the neighbor interface is configured to support IEEE 802.1Q trunking. Switch(config)# interface gigabitethernet1/2 Switch(config-if)# switchport mode dynamic desirable Switch(config-if)# end Removing a VLAN: Example This example shows how to remove VLAN 2 from the allowed VLAN list on a port: Switch(config)# interface gigabitethernet1/1 Switch(config-if)# switchport trunk allowed vlan remove 2 Switch(config-if)# end Show VMPS Output: Example This is an example of output for the show vmps privileged EXEC command: Switch# show vmps VQP Client Status: -------------------- VMPS VQP Version: 1 Reconfirm Interval: 60 min Server Retry Count: 3 VMPS domain server: 172.20.128.86 (primary, current) 172.20.128.87 Reconfirmation status --------------------- VMPS Action: other Additional References The following sections provide references related to switch administration: Related Documents Related Topic Document Title Cisco IE 2000 commands Cisco IE 2000 Switch Command Reference, Release 15.0(2)EA Cisco IOS basic commands Cisco IOS Configuration Fundamentals Command Reference VTP pruning configuration Chapter 18, “Configuring VTP” Standards Standards Title No new or modified standards are supported by this feature, and support for existing standards has. mlb the show 23 nintendo switch. the show 23 nintendo switch. the show 23. nintendo switch sports games. nintendo switch baseball games. mlb the show. baseball video games. About this item. Product details. MLB The Show 23 Amazon.com: the show 22 switch. MLB The Show 23 Nintendo Switch. ESRB Rating: EveryoneComments
10.10.1.1.Escape character is '^]'.switch login: Clearing Telnet Sessions You can clear Telnet sessions from the Cisco Nexus device. Procedure Command or Action Purpose Step 1 switch# show users Displays user session information. Step 2 switch# clear line vty-line Clears a user Telnet session. Verifying the SSH and Telnet Configuration To display the SSH configuration information, perform one of the following tasks: Procedure switch# show ssh key [dsa | rsa] Command or Action Purpose switch# show running-config security[all] Displays the SSH and user account configuration in the running configuration. The all keyword displays the default values for the SSH and user accounts. switch# show ssh server Displays the SSH server configuration. switch# show user-account Displays user account information Default Settings for SSH The following table lists the default settings for SSH parameters. Table 1. Default SSH Parameters Parameters Default SSH server Enabled SSH server key RSA key generated with 1024 bits RSA key bits for generation 1024 Telnet server Enabled
2025-04-12Configuration and the extended-range VLAN configuration in the switch startup configuration file. Otherwise, if the switch resets, it will default to VTP server mode, and the extended-range VLAN IDs will not be saved. This step is not required for VTP version 3 because VLANs are saved in the VLAN database. show interfaces interface-id switchport Displays the switch port configuration of the interface. show interfaces interface-id trunk Displays the trunk configuration of the interface. show running-config interface interface-id Verifies the VLAN membership mode of the interface. show vmps Verifies your VMPS entries. show vlan Verifies your VLAN entries. Configuration Examples for Configuring VLANs VMPS Network: Example Figure 17-4 shows a network with a VMPS server switch and VMPS client switches with dynamic-access ports. In this example, these assumptions apply: The VMPS server and the VMPS client are separate switches. The Catalyst 6500 series Switch A is the primary VMPS server. The Catalyst 6500 series Switch C and Switch J are secondary VMPS servers. End stations are connected to the clients, Switch B and Switch I. The database configuration file is stored on the TFTP server with the IP address 172.20.22.7. Figure 17-4 Dynamic Port VLAN Membership Configuration Configuring a VLAN: Example This example shows how to create Ethernet VLAN 20, name it test20, and add it to the VLAN database: Switch# configure terminal Switch(config)# vlan 20 Switch(config-vlan)# name test20 Switch(config-vlan)# end Configuring an Access Port in a VLAN: Example This example shows how to configure a port as an access port
2025-04-06Show cdp globalshow cdp globalimport requestsimport json """Modify these please"""url=' myheaders={'content-type':'application/json'}payload={"ins_api":{ "version": "1.0", "type": "cli_show", "chunk": "0", "sid": "1", "input": "show cdp global", "output_format": "json"} response = requests.post(url,data=json.dumps(payload), headers=myheaders,auth=(switchuser,switchpassword)).json()output = json.dumps(response, indent=4, sort_keys=True){ "cdp_global_enabled": "enabled", "refresh_time": "60", "ttl": 180, "v2_advertisement": "enabled", "deviceid_format": "DeviceID TLV in System-Name(Default) Format"}switch# show cdp global | xml enabled 60 180 enabled DeviceID TLV in System-Name(Default) Format ]]>]]>For command descriptions, see the Cisco Nexus 7000 Series Switches Command References. Note: This sample output is generated for Cisco Nexus 7000 Series NX-OS Release 8.3(1).CLI Outputswitch# **show cdp global**switch# show cdp globalGlobal CDP information: CDP enabled globally Refresh time is 60 seconds Hold time is 180 seconds CDPv2 advertisements is enabled DeviceID TLV in System-Name(Default) Format show cdp neighborsshow cdp neighborsimport requestsimport json """Modify these please"""url=' myheaders={'content-type':'application/json'}payload={"ins_api":{ "version": "1.0", "type": "cli_show", "chunk": "0", "sid": "1", "input": "show cdp neighbors", "output_format": "json"} response = requests.post(url,data=json.dumps(payload), headers=myheaders,auth=(switchuser,switchpassword)).json()output = json.dumps(response, indent=4, sort_keys=True){ "TABLE_cdp_neighbor_brief_info": { "ROW_cdp_neighbor_brief_info": [ { "ifindex": 83886080, "device_id": "SW-JWALA-ECBU-I12", "intf_id": "mgmt0", "ttl": 139, "capability": [ "switch", "IGMP_cnd_filtering" ], "platform_id": "cisco WS-C2960G-48TC-L", "port_id": "GigabitEthernet0/10" }, { "ifindex": 438906880, "device_id": "ethpm-f4100g-sw1-vpc1(FXS1813Q0VY)", "intf_id": "Ethernet6/20", "ttl": 35, "capability": [ "router", "switch", "IGMP_cnd_filtering", "Supports-STP-Dispute" ], "platform_id": "N77-C7706", "port_id": "Ethernet2/6" }, { "ifindex": 438906880, "device_id": "N7706-vpc1(FXS1813Q0VY)", "intf_id": "Ethernet6/20", "ttl": 155, "capability": [ "router", "switch", "IGMP_cnd_filtering", "Supports-STP-Dispute" ], "platform_id": "N77-C7706", "port_id": "Ethernet2/6" } ] }, "neigh_count": 3}switch# show cdp neighbors | xml 83886080 SW-JWALA-ECBU-I12 mgmt0 145 switch IGMP_cnd_filtering cisco WS-C2960G-48TC-L GigabitEthernet0/10 438906880 ethpm-f4100g-sw1-vpc1(FXS1813Q0VY) Ethernet6/20 41 router switch IGMP_cnd_filtering Supports-STP-Dispute N77-C7706 Ethernet2/6 438906880 N7706-vpc1(FXS1813Q0VY) Ethernet6/20 161 router switch IGMP_cnd_filtering Supports-STP-Dispute N77-C7706 Ethernet2/6 3 ]]>]]>For command descriptions, see the Cisco Nexus 7000 Series Switches Command References. Note: This sample output is generated for Cisco Nexus 7000 Series NX-OS Release 8.3(1).CLI Outputswitch# **show cdp neighbors**switch# show cdp neighborsCapability Codes: R - Router, T - Trans-Bridge, B - Source-Route-Bridge S - Switch, H - Host, I - IGMP, r - Repeater, V - VoIP-Phone, D - Remotely-Managed-Device, s - Supports-STP-DisputeDevice-ID Local Intrfce Hldtme Capability Platform Port IDSW-JWALA-ECBU-I12 mgmt0 149 S I WS-C2960G-48TC-L Gig0/10ethpm-f4100g-sw1-vpc1(FXS1813Q0VY) Eth6/20 45 R S I s N77-C7706 Eth2/6N7706-vpc1(FXS1813Q0VY) Eth6/20 165 R S I s N77-C7706 Eth2/6 Total entries displayed: 3show cdp neighbors [interface ]show cdp neighbors [interface ]import requestsimport json """Modify these please"""url=' myheaders={'content-type':'application/json'}payload={"ins_api":{ "version": "1.0", "type": "cli_show", "chunk": "0", "sid": "1", "input": "show cdp neighbors interface ethernet6/20", "output_format": "json"} response = requests.post(url,data=json.dumps(payload), headers=myheaders,auth=(switchuser,switchpassword)).json()output = json.dumps(response, indent=4, sort_keys=True){ "TABLE_cdp_neighbor_brief_info": { "ROW_cdp_neighbor_brief_info": { "ifindex": 438906880, "device_id": "N7706-vpc1(FXS1813Q0VY)", "intf_id": "Ethernet6/20", "ttl": 143, "capability": [ "router", "switch", "IGMP_cnd_filtering", "Supports-STP-Dispute" ], "platform_id": "N77-C7706", "port_id": "Ethernet2/6" } }, "neigh_count": 1}switch# show cdp neighbors interface ethernet6/20 | xml Ethernet6/20 438906880 N7706-vpc1(FXS1813Q0VY) Ethernet6/20 154 router switch IGMP_cnd_filtering Supports-STP-Dispute N77-C7706 Ethernet2/6 1 ]]>]]>For command descriptions, see the Cisco Nexus 7000 Series Switches Command References. Note: This sample output is generated for Cisco Nexus 7000 Series NX-OS Release 8.3(1).CLI Outputswitch# **show cdp neighbors interface ethernet6/20**switch# show cdp neighbors interface ethernet6/20Global CDP information: CDP enabled globally Refresh time is 60 seconds Hold time is 180 seconds CDPv2 advertisements is enabled DeviceID TLV in System-Name(Default) Format show cdp
2025-04-17Troubleshooting STP About Troubleshooting STP STP provides a loop-free network at the Layer 2 level. Layer 2 LAN ports send and receive STP frames at regular intervals. Network devices do not forward these frames but use the frames to construct a loop-free path. For more information on Layer 2, see the Cisco Nexus 9000 Series Layer 2 Configuration Guide. Initial Troubleshooting STP Checklist Troubleshooting an STP problem involves gathering information about the configuration and connectivity of individual devices and the entire network. Begin troubleshooting STP issues by checking the following issues first: Checklist Done Verify the type of spanning tree configured on your device. Verify the network topology including all interconnected ports and switches. Identify all redundant paths on the network and verify that the redundant paths are blocking. Use the show spanning-tree summary totals command to verify that the total number of logical interfaces in the Active state are less than the maximum allowed. For information on these limits, see the Cisco Nexus 9000 Series NX-OS Layer 2 Switching Configuration Guide. Verify the primary and secondary root bridge and any configured Cisco extensions. Use the following commands to view STP configuration and operational details: show running-config spanning-tree show spanning-tree summary show spanning-tree detail show spanning-tree bridge show spanning-tree mst show spanning-tree mst configuration show spanning-tree interface interface-type slot/port [detail] show tech-support stp show spanning-tree vlan Use the show spanning-tree blockedports command to display the ports that are blocked by STP. Use the show mac address-table dynamic vlan command to determine if learning or aging occurs at each node. Troubleshooting STP Data Loops Data loops are a common problem in STP networks. Some of the symptoms of a data loop are as follows: High link utilization, up to 100 percent High CPU and backplane traffic utilization Constant MAC address relearning and flapping Excessive output drops on an interface When the l2fm logging level is greater than or equal to 4, the switch logs occurrences of host MAC address flapping to help you locate STP data loops. If it detects a MAC address move within less than 1 second and if 10 consecutive moves occur, the switch disables learning on the VLAN for one of the ports between which the MAC address is moving. Learning is disabled for 120 seconds and reenabled automatically. Syslogs are generated while learning is disabled and enabled. You can configure the logging level using the logging level l2fm log-level command. SUMMARY STEPS switch# show interface interface-type slot/port include rate switch(config)# interface interface-type slot/port switch(config-if)# shutdown switch(config-if)# show spanning-tree vlan vlan-id (Optional) switch(config-if)# show spanning-tree interface interface-type slot/port detail (Optional) switch(config-if)# show interface counters errors DETAILED STEPS Command or Action Purpose Step 1 switch# show interface interface-type slot/port include rate Example: switch# show interface ethernet 2/1 include rate 1 minute input rate 19968 bits/sec, 0 packets/sec 1 minute output rate 3952023552 bits/sec, 957312 packets/sec Identifies the ports involved in the loop by looking at the interfaces with high link utilization. Step 2 switch(config)# interface interface-type slot/port Example:
2025-03-30Step 3 switch(config)# exit Exits global configuration mode. Step 4 (Optional) switch# show user-account (Optional) Displays the user account configuration. Step 5 (Optional) switch# copy running-config startup-config (Optional) Copies the running configuration to the startup configuration. Example The following example shows how to specify an SSH public key in open SSH format: switch# configure terminalswitch(config)# username User1 sshkey ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAIEAri3mQy4W1AV9Y2t2hrEWgbUEYzCfTPO5B8LRkedn56BEy2N9ZcdpqE6aqJLZwfZcTFEzaAAZp9AS86dgBAjsKGs7UxnhGySr8ZELv+DQBsDQH6rZt0KR+2Da8hJD4ZXIeccWk0gS1DQUNZ300xstQsYZUtqnx1bvm5Ninn0McNinn0Mc=switch(config)# exitswitch# show user-accountswitch# copy running-config startup-config Note The username command in the example above is a single line that has been broken for legibility. Specifying the SSH Public Keys in IETF SECSH Format You can specify the SSH public keys in IETF SECSH format for user accounts. Procedure Command or Action Purpose Step 1 switch# copy server-file bootflash: filename Downloads the file that contains the SSH key in IETF SECSH format from a server. The server can be FTP, SCP, SFTP, or TFTP. Step 2 switch# configure terminal Enters global configuration mode. Step 3 switch(config)# username username sshkey file filename Configures the SSH public key in SSH format. Step 4 switch(config)# exit Exits global configuration mode. Step 5 (Optional) switch# show user-account (Optional) Displays the user account configuration. Step 6 (Optional) switch# copy running-config startup-config (Optional) Copies the running configuration to the startup configuration. Example The following example shows how to specify the SSH public key in the IETF SECSH format: switch#copy tftp://10.10.1.1/secsh_file.pub bootflash:secsh_file.pubswitch# configure terminalswitch(config)# username User1 sshkey file bootflash:secsh_file.pubswitch(config)# exitswitch# show user-accountswitch# copy running-config startup-config Specifying the SSH Public Keys in PEM-Formatted Public Key Certificate Form You can
2025-04-17Mark immediately afterward, like “sh?”, then the switch will automatically complete the interface command. Note that the question mark will not be displayed.Switch# sh?Switch# showTo check the system time, you need to execute the command “show system-time”, but if you input “show sys” and then type a question mark, you will get the following prompt.Switch# show sys?Switch# show system-system-info system-timeSwitch# show system-t?Switch# show system-time1.5 AbbreviationYou can use the Auto-Completion feature to enter a complete command, you can also enter part of the command without completion, and the switch will recognize and execute the command automatically.Note, if you enter an abbreviation that corresponds to more than one command, the switch will not be able to recognize the command you are trying to execute and you need to enter more.The following are some common abbreviations: Command Abbreviation enable en configure config interface int show sh fastEthernet fa gigabitEthernet gi two-gigabitEthernet tw ten-gigabitEthernet te running-config run startup-config start 1.6 HelpThe question mark not only helps complete the command, but also helps display a list of available commands for each command mode, or a list of relevant keywords and arguments for any command.For example, the show command can display information about many functions, you can enter the following command to view all the information that the show command can print, note that there is a space before the question mark, otherwise it is auto-completion.Switch# show ?Aaa - Display the AAA configurationaccess-list - Display ACL informationarp - Display ARP informationauto-voip - Display Auto VoIP parameters…1.7 SaveAfter you finish the configurations, don't forget to save them, otherwise, they will be lost if you power off or reboot the switch.Through the Web GUI, you should click the Save button at the top right of the page, and through the CLI you need to enter the following command
2025-04-23