hit counter script
Cisco Nexus 5000 Series Command Reference Manual

Cisco Nexus 5000 Series Command Reference Manual

Interface
Hide thumbs Also See for Nexus 5000 Series:
Table of Contents

Advertisement

Cisco Nexus 5000 Series Interfaces Command Reference
First Published: 2016-04-20
Last Modified: --
Americas Headquarters
Cisco Systems, Inc.
170 West Tasman Drive
San Jose, CA 95134-1706
USA
http://www.cisco.com
Tel: 408 526-4000
800 553-NETS (6387)
Fax: 408 527-0883

Advertisement

Table of Contents
loading

Summary of Contents for Cisco Nexus 5000 Series

  • Page 1 Cisco Nexus 5000 Series Interfaces Command Reference First Published: 2016-04-20 Last Modified: -- Americas Headquarters Cisco Systems, Inc. 170 West Tasman Drive San Jose, CA 95134-1706 http://www.cisco.com Tel: 408 526-4000 800 553-NETS (6387) Fax: 408 527-0883...
  • Page 2 © 2016 Cisco Systems, Inc. All rights reserved.
  • Page 3: Table Of Contents

    D Commands C H A P T E R 3 delay (interface) description (interface) duplex E Commands C H A P T E R 4 errdisable detect cause errdisable recovery cause Cisco Nexus 5000 Series Interfaces Command Reference...
  • Page 4 C H A P T E R 9 management N Commands C H A P T E R 1 0 no switchport P Commands C H A P T E R 1 1 Cisco Nexus 5000 Series Interfaces Command Reference...
  • Page 5 Cisco Nexus 5000 Series Interfaces Command Reference...
  • Page 6 U and V Commands C H A P T E R 1 5 udld (Ethernet) vpc domain vpc orphan-port suspend Cisco Nexus 5000 Series Interfaces Command Reference...
  • Page 7: Chapter

    This chapter includes the following topics: Audience This publication is for experienced network administrators who configure and maintain Cisco NX-OS on Cisco Nexus 5000 Series Platform switches. Document Conventions • As part of our constant endeavor to remodel our documents to meet our customers' requirements, Note we have modified the manner in which we document configuration tasks.
  • Page 8 An exclamation point (!) or a pound sign (#) at the beginning of a line of code indicates a comment line. This document uses the following conventions: Means reader take note. Notes contain helpful suggestions or references to material not covered in the Note manual. Cisco Nexus 5000 Series Interfaces Command Reference viii...
  • Page 9 Preface Document Conventions Means reader be careful. In this situation, you might do something that could result in equipment damage Caution or loss of data. Cisco Nexus 5000 Series Interfaces Command Reference...
  • Page 10 What's New in Cisco Product Documentation. To receive new and revised Cisco technical content directly to your desktop, you can subscribe to the What's New in Cisco Product Documentation RSS feed. RSS feeds are a free service.
  • Page 11: B Commands

    B Commands • bandwidth (interface), page 2 • beacon (interface), page 4 Cisco Nexus 5000 Series Interfaces Command Reference...
  • Page 12: Bandwidth (Interface)

    In all cases, if an interface has an explicit bandwidth setting configured, then that interface will use that setting, regardless of whether the bandwidth inheritance setting is in effect. Cisco Nexus 5000 Series Interfaces Command Reference...
  • Page 13: Cisco Nexus 5000 Series Interfaces Command Reference

    This example shows how to configure subinterfaces to inherit the bandwidth from the parent routed interface: switch(config)# interface ethernet 1/5 switch(config-if)# no switchport switch(config-if)# bandwidth inherit 30000 switch(config-if)# interface ethernet 1/1.1 switch(config-subif)# Related Commands Command Description show interface Displays the interface configuration information. Cisco Nexus 5000 Series Interfaces Command Reference...
  • Page 14: Beacon (Interface)

    This example shows how to turn off the locator beacon LED for a specific interface: switch(config)# interface ethernet 2/1 switch(config-if)# no beacon Related Commands Command Description Displays configuration information for an interface. show interface Cisco Nexus 5000 Series Interfaces Command Reference...
  • Page 15: C Commands

    C Commands • carrier-delay, page 6 • cdp, page 8 • cdp enable, page 10 • channel-group (Ethernet), page 12 • clear lacp counters, page 16 • clear mac access-list counters, page 17 Cisco Nexus 5000 Series Interfaces Command Reference...
  • Page 16: Carrier-Delay

    This example shows how to change the carrier delay to 10 seconds: switch# configure terminal switch(config)# interface vlan 5 switch(config-if)# carrier-delay 10 switch(config-if)# This example shows how to revert to the default carrier delay value: switch# configure terminal Cisco Nexus 5000 Series Interfaces Command Reference...
  • Page 17: Cisco Nexus 5000 Series Interfaces Command Reference

    C Commands carrier-delay switch(config)# interface vlan 5 switch(config-if)# no carrier-delay switch(config-if)# Related Commands Command Description Displays the running configuration information for show running-config interface an interface. Cisco Nexus 5000 Series Interfaces Command Reference...
  • Page 18: Cisco Nexus 5000 Series Interfaces Command Reference

    C Commands To enable the Cisco Discovery Protocol (CDP) and configure CDP attributes, use the cdp command. To disable CDP or reset CDP attributes, use the no form of this command. cdp { advertise { v1 | v2 } | enable | format device-id { mac-address | serial-number | system-name } |...
  • Page 19: Cisco Nexus 5000 Series Interfaces Command Reference

    This example shows how to disable CDP on all Ethernet interfaces: switch# configure terminal switch(config)# no cdp enable Related Commands Command Description show cdp Displays Cisco Discovery Protocol (CDP) information. Cisco Nexus 5000 Series Interfaces Command Reference...
  • Page 20: Cdp Enable

    C Commands cdp enable cdp enable To enable the Cisco Discovery Protocol (CDP) on an interface, use the cdp enable command. To disable CDP on the interface, use the no form of this command. cdp enable no cdp enable Syntax Description This command has no arguments or keywords.
  • Page 21: Cisco Nexus 5000 Series Interfaces Command Reference

    C Commands cdp enable Related Commands Command Description show cdp Displays Cisco Discovery Protocol (CDP) information. show interface Displays the interface configuration information. Cisco Nexus 5000 Series Interfaces Command Reference...
  • Page 22: Channel-Group (Ethernet)

    [ number ] Syntax Description number Number of channel group. The number range is from 1 to 4096. Cisco NX-OS creates the EtherChannel associated with this channel group if the EtherChannel does not already exist. force (Optional) Specifies that the LAN port be forcefully added to the channel group.
  • Page 23: Cisco Nexus 5000 Series Interfaces Command Reference

    • Port mode • Access VLAN • Trunk native VLAN • Tagged or untagged • Allowed VLAN list • Switched Port Analyzer (SPAN) (cannot be SPAN source or destination port) • Storm control Cisco Nexus 5000 Series Interfaces Command Reference...
  • Page 24: Cisco Nexus 5000 Series Interfaces Command Reference

    You can configure these attributes on an individual member port. If you configure a member port with an incompatible attribute, Cisco NX-OS suspends that port in the EtherChannel. When the interface joins an EtherChannel, some of its individual parameters are overridden with the values on the EtherChannel, as follows: •...
  • Page 25: Cisco Nexus 5000 Series Interfaces Command Reference

    C Commands channel-group (Ethernet) Related Commands Command Description show interface port-channel Displays information about the traffic on the specified EtherChannel interface. show lacp Displays LACP information. show port-channel summary Displays information on the EtherChannels. Cisco Nexus 5000 Series Interfaces Command Reference...
  • Page 26: Clear Lacp Counters

    This example shows how to clear all LACP counters: switch# clear lacp counters This example shows how to clear the LACP on a port channel: switch# clear lacp counters interface port-channel 100 Related Commands Command Description Displays LACP information. show lacp Cisco Nexus 5000 Series Interfaces Command Reference...
  • Page 27: Clear Mac Access-List Counters

    Examples This example shows how to clear statistical information from the access list: switch# clear mac access-list counters Related Commands Command Description show mac access-lists Displays the information about the MAC address table. Cisco Nexus 5000 Series Interfaces Command Reference...
  • Page 28: Cisco Nexus 5000 Series Interfaces Command Reference

    C Commands clear mac access-list counters Cisco Nexus 5000 Series Interfaces Command Reference...
  • Page 29: D Commands

    D Commands • delay (interface), page 20 • description (interface), page 21 • duplex, page 23 Cisco Nexus 5000 Series Interfaces Command Reference...
  • Page 30: Delay (Interface)

    This example shows how to set a delay of 1000 microseconds on a subinterface: switch(config)# interface ethernet 1/1.1 switch(config-subif)# delay 1000 switch(config-subif)# Related Commands Command Description Configures an Ethernet routed interface. interface ethernet (Layer 3) show interface Displays the interface configuration information. Cisco Nexus 5000 Series Interfaces Command Reference...
  • Page 31: Description (Interface)

    The description appears in the output of the following commands such as show interface and show running-config. You can use this command on the following interfaces: • Ethernet interface • Management interface • Subinterfaces • Virtual Ethernet interface Cisco Nexus 5000 Series Interfaces Command Reference...
  • Page 32: Cisco Nexus 5000 Series Interfaces Command Reference

    Related Commands Command Description show interface ethernet Displays the interface configuration information. show interface vethernet Displays the virtual Ethernet interface configuration information. show running-config Displays the contents of the currently running configuration file. Cisco Nexus 5000 Series Interfaces Command Reference...
  • Page 33: Duplex

    Gigabit Ethernet ports or on a 10/100/1000-Mbps port that is set for Gigabit Ethernet. See the Cisco Nexus 5000 Series NX-OS Layer 2 Switching Configuration Guide for more information on interface speed and duplex settings.
  • Page 34: Cisco Nexus 5000 Series Interfaces Command Reference

    D Commands duplex interface ethernet 1/5 switch(config-if)# duplex full switch(config-if)# Related Commands Command Description show interface Displays information about the interface, which includes the duplex parameter. Cisco Nexus 5000 Series Interfaces Command Reference...
  • Page 35: E Commands

    E Commands • errdisable detect cause, page 26 • errdisable recovery cause, page 27 • errdisable recovery interval, page 29 Cisco Nexus 5000 Series Interfaces Command Reference...
  • Page 36: Errdisable Detect Cause

    This example shows how to enable the err-disabled detection on linkstate-flapping: switch(config)# errdisable detect cause link-flap switch(config)# Related Commands Command Description errdisable recovery Configures recovery from the err-disabled state. Displays the interface error disabled state. show interface status err-disabled Cisco Nexus 5000 Series Interfaces Command Reference...
  • Page 37: Errdisable Recovery Cause

    Command History Release Modification 4.2(1)N1(1) This command was introduced. Usage Guidelines When error disable recovery is enabled, the interface automatically recovers from the err-disabled state, and the device retries bringing the interface up. Cisco Nexus 5000 Series Interfaces Command Reference...
  • Page 38: Cisco Nexus 5000 Series Interfaces Command Reference

    This example shows how to enable error disable recovery from linkstate-flapping: switch(config)# errdisable recovery cause link-flap switch(config)# Related Commands Command Description Enables the error disabled (err-disabled) detection. errdisable detect cause show interface status err-disabled Displays the interface error disabled state. Cisco Nexus 5000 Series Interfaces Command Reference...
  • Page 39: Errdisable Recovery Interval

    This example shows how to enable error disable recovery time interval to 100 seconds: switch(config)# errdisable recovery interval 100 switch(config)# Related Commands Command Description errdisable recovery cause Enables an error disabled recovery on an interface. show interface status err-disabled Displays the interface error disabled state. Cisco Nexus 5000 Series Interfaces Command Reference...
  • Page 40: Cisco Nexus 5000 Series Interfaces Command Reference

    E Commands errdisable recovery interval Cisco Nexus 5000 Series Interfaces Command Reference...
  • Page 41: F Commands

    F Commands • feature adapter-fex, page 32 • feature lldp, page 34 • feature poe, page 36 • feature udld, page 37 Cisco Nexus 5000 Series Interfaces Command Reference...
  • Page 42: Feature Adapter-Fex

    If you attempt to disable the Adapter-FEX feature with virtual Ethernet interface or port profile configurations enabled, the switch returns an error message. Before you use a virtual Ethernet interface, you must enable Cisco Virtual Machine Fabric Extender (VM-FEX) on the switch by using the feature vmfex command.
  • Page 43: Cisco Nexus 5000 Series Interfaces Command Reference

    Configures a virtual Ethernet interface. Configures a port profile. port-profile show feature Displays whether or not Adapter-FEX is enabled on the switch. switchport mode Configures the interface as a nontrunking nontagged single-VLAN Ethernet interface. Cisco Nexus 5000 Series Interfaces Command Reference...
  • Page 44: Feature Lldp

    This feature was introduced. Usage Guidelines You cannot enable or disable LLDP on a Cisco Nexus 5000 Series switch. LLDP is enabled on the switch by default. However, the feature lldp command shows as part of the running configuration on the switch, as...
  • Page 45: Cisco Nexus 5000 Series Interfaces Command Reference

    F Commands feature lldp To support non-Cisco devices and to allow for interoperability between other devices, the switch supports the Link Layer Discovery Protocol (LLDP). LLDP is a neighbor discovery protocol that is used for network devices to advertise information about themselves to other devices on the network. This protocol runs over the data-link layer, which allows two systems running different network layer protocols to learn about each other.
  • Page 46: Feature Poe

    This example shows how to enable PoE on the switch: switch(config)# feature poe Related Commands Command Description power inline Configures the power usage for interfaces. show feature Displays the status of features enabled or disabled on the switch. Cisco Nexus 5000 Series Interfaces Command Reference...
  • Page 47: Feature Udld

    To enable the Cisco-proprietary Unidirectional Link Detection (UDLD) protocol, which allows ports that are connected through fiber optics or copper Ethernet cables to monitor the physical configuration of the cables and detect when a unidirectional link exists, use the feature udld command. To disable UDLD on the switch, use the no form of this command.
  • Page 48: Cisco Nexus 5000 Series Interfaces Command Reference

    F Commands feature udld Cisco Nexus 5000 Series Interfaces Command Reference...
  • Page 49: H Commands

    H Commands • hardware multicast hw-hash, page 40 • high-performance host-netio (virtual Ethernet interface), page 42 Cisco Nexus 5000 Series Interfaces Command Reference...
  • Page 50: Hardware Multicast Hw-Hash

    To reduce potential issues with the bandwidth and to provide effective load balancing of the ingress multicast traffic, hardware hashing is used for multicast traffic. Note Hardware hashing is not available on a Cisco Nexus 2000 Series Fabric Extender HIF port (downlink port). Examples...
  • Page 51: Cisco Nexus 5000 Series Interfaces Command Reference

    H Commands hardware multicast hw-hash Related Commands Command Description show interface port-channel Displays the status of the EtherChannel interface configuration. Cisco Nexus 5000 Series Interfaces Command Reference...
  • Page 52: High-Performance Host-Netio (Virtual Ethernet Interface)

    1 switch(config-if)# high-performance host-netio switch(config-if)# Related Commands Command Description show interface vethernet Displays virtual Ethernet interface configuration information. Displays the running configuration information for show running-config interface an interface. Cisco Nexus 5000 Series Interfaces Command Reference...
  • Page 53: I Commands

    I Commands • interface ethernet, page 44 • interface ethernet (Layer 3), page 46 • interface loopback, page 49 • interface mgmt, page 51 • interface port-channel, page 53 Cisco Nexus 5000 Series Interfaces Command Reference...
  • Page 54: Interface Ethernet

    4.0(1a)N2(1) This command was modified to provide the chassis ID argument. 5.0(3)N1(1) Support for Layer 3 interfaces was added. Examples This example shows how to enter configuration mode for Ethernet interface 1/4: switch(config)# Cisco Nexus 5000 Series Interfaces Command Reference...
  • Page 55: Cisco Nexus 5000 Series Interfaces Command Reference

    Displays various parameters of an Ethernet IEEE show interface ethernet 802.3 interface. speed Sets the speed on the interface. vtp (interface) Enables VLAN Trunking Protocol (VTP) on an interface. Cisco Nexus 5000 Series Interfaces Command Reference...
  • Page 56: Interface Ethernet (Layer 3)

    (Optional) Port number for the subinterface. The range is from 1 to 48. Command Default None Command Modes Global configuration modeInterface configuration mode Command History Release Modification 5.0(3)N1(1) This command was introduced. Cisco Nexus 5000 Series Interfaces Command Reference...
  • Page 57: Cisco Nexus 5000 Series Interfaces Command Reference

    10.1.1.1/24 switch(config-if)# switchport switch(config-if)# Related Commands Command Description bandwidth Sets the bandwidth parameters for an interface. delay Configures the interface throughput delay value. encapsulation Sets the encapsulation type for an interface. Cisco Nexus 5000 Series Interfaces Command Reference...
  • Page 58: Cisco Nexus 5000 Series Interfaces Command Reference

    Configures an interface as a Layer 3 interface. service-policy Configures a service policy for an interface. Displays all configured Fabric Extender chassis show fex connected to the switch. show interface ethernet Displays various parameters of an Ethernet IEEE 802.3 interface. Cisco Nexus 5000 Series Interfaces Command Reference...
  • Page 59: Interface Loopback

    • shutdown—Shut down traffic on the interface. This command does not require a license. Examples This example shows how to create a loopback interface: switch(config)# interface loopback 50 switch(config-if)# ip address 10.1.1.1/24 switch(config-if)# Cisco Nexus 5000 Series Interfaces Command Reference...
  • Page 60: Cisco Nexus 5000 Series Interfaces Command Reference

    I Commands interface loopback Related Commands Command Description show interface loopback Displays information about the traffic on the specified loopback interface. Cisco Nexus 5000 Series Interfaces Command Reference...
  • Page 61: Interface Mgmt

    Related Commands Command Description show interface mgmt Displays information about the management interface. Enables the Cisco Discovery Protocol (CDP) on an cdp enable interface. description (interface) Adds a description to an interface configuration. Configures the duplex mode for an interface.
  • Page 62: Cisco Nexus 5000 Series Interfaces Command Reference

    Enables Simple Network Management Protocol (SNMP) link trap generation on an interface. speed Configures the transmit and receive speed for an interface. Adds an interface to a virtual routing and forwarding vrf member (VRF) instance. Cisco Nexus 5000 Series Interfaces Command Reference...
  • Page 63: Interface Port-Channel

    • If you do not assign a static MAC address on the EtherChannel interface, a MAC address is automatically assigned. If you assign a static MAC address and then later remove it, the MAC address is automatically assigned. Cisco Nexus 5000 Series Interfaces Command Reference...
  • Page 64: Cisco Nexus 5000 Series Interfaces Command Reference

    192.0.2.3/24 switch(config-subif)# Related Commands Command Description (Layer 3 interfaces) Sets the encapsulation type for encapsulation an interface. ip address (Layer 3 interfaces) Sets a primary or secondary IP address for an interface. Cisco Nexus 5000 Series Interfaces Command Reference...
  • Page 65: Cisco Nexus 5000 Series Interfaces Command Reference

    (Layer 3 interfaces) Configures an interface as a Layer 3 interface. show interface Displays configuration information about interfaces. show lacp Displays LACP information. show port-channel summary Displays information on the EtherChannels. vtp (interface) Enables VLAN Trunking Protocol (VTP) on an interface. Cisco Nexus 5000 Series Interfaces Command Reference...
  • Page 66: Cisco Nexus 5000 Series Interfaces Command Reference

    I Commands interface port-channel Cisco Nexus 5000 Series Interfaces Command Reference...
  • Page 67: L Commands

    58 • lacp port-priority, page 60 • lacp rate fast, page 62 • lacp suspend-individual, page 64 • lacp system-priority, page 66 • link debounce, page 67 • load-interval, page 69 Cisco Nexus 5000 Series Interfaces Command Reference...
  • Page 68: Lacp Graceful-Convergence

    100 switch(config-if)# shutdown switch(config-if)# lacp graceful-convergence switch(config-if)# This example shows how to disable LACP graceful convergence on a port channel: switch# configure terminal switch(config)# interface port-channel 100 switch(config-if)# no lacp graceful-convergence switch(config-if)# Cisco Nexus 5000 Series Interfaces Command Reference...
  • Page 69: Cisco Nexus 5000 Series Interfaces Command Reference

    L Commands lacp graceful-convergence Related Commands Command Description show lacp Displays LACP information. show running-config Displays the running system configuration. Cisco Nexus 5000 Series Interfaces Command Reference...
  • Page 70: Lacp Port-Priority

    This example shows how to set the LACP port priority for the interface to 2000: switch# configure terminal switch(config)# interface ethernet 1/5 switch(config-if)# lacp port-priority 2000 switch(config-if)# Related Commands Command Description show lacp Displays LACP information. Cisco Nexus 5000 Series Interfaces Command Reference...
  • Page 71: Cisco Nexus 5000 Series Interfaces Command Reference

    L Commands lacp port-priority Cisco Nexus 5000 Series Interfaces Command Reference...
  • Page 72: Lacp Rate Fast

    You must enable LACP before using this command. You can configure the LACP rate fast feature on the LACP ports of a Cisco Nexus 5000 Series switch or a Cisco Nexus 2000 Series Fabric Extender that is connected to a Cisco Nexus 5000 Series switch.
  • Page 73: Cisco Nexus 5000 Series Interfaces Command Reference

    L Commands lacp rate fast Related Commands Command Description feature lacp Enables or disables LACP on the switch. interface ethernet Enters Ethernet interface configuration mode. show lacp Displays the LACP configuration information. Cisco Nexus 5000 Series Interfaces Command Reference...
  • Page 74: Lacp Suspend-Individual

    This example shows how to disable LACP port suspension on a port channel: switch# configure terminal switch(config)# interface port-channel 100 switch(config-if)# shutdown switch(config-if)# no lacp suspend-individual switch(config-if)# Related Commands Command Description show lacp Displays LACP information. Cisco Nexus 5000 Series Interfaces Command Reference...
  • Page 75: Cisco Nexus 5000 Series Interfaces Command Reference

    L Commands lacp suspend-individual Command Description show running-config Displays the running system configuration. Cisco Nexus 5000 Series Interfaces Command Reference...
  • Page 76: Lacp System-Priority

    When setting the priority, note that a higher number means a lower priority. Examples This example shows how to set the LACP system priority for the device to 2500: switch(config)# lacp system-priority 2500 Related Commands Command Description show lacp Displays LACP information. Cisco Nexus 5000 Series Interfaces Command Reference...
  • Page 77: Link Debounce

    This example shows how to enable the debounce timer and set the debounce time to 1000 milliseconds for an Ethernet interface: switch# configure terminal switch(config)# interface ethernet 1/1 switch(config-if)# link debounce time 1000 This example shows how to disable the debounce timer for an Ethernet interface: switch(config-if)# no link debounce Cisco Nexus 5000 Series Interfaces Command Reference...
  • Page 78: Cisco Nexus 5000 Series Interfaces Command Reference

    L Commands link debounce Related Commands Command Description show interface ethernet Displays the interface configuration information. show interface debounce Displays the debounce time information for all interfaces. Cisco Nexus 5000 Series Interfaces Command Reference...
  • Page 79: Load-Interval

    • VLAN network interfaces You cannot use this command on the management interface or subinterfaces. This command sets the sampling interval for such statistics as packet rate and bit rate on the specified interface. Cisco Nexus 5000 Series Interfaces Command Reference...
  • Page 80: Cisco Nexus 5000 Series Interfaces Command Reference

    3/1 switch(config-if)# load-interval counter 1 60 switch(config-if)# load-interval counter 2 135 switch(config-if)# load-interval counter 3 225 Related Commands Command Description show interface Displays information about the interface. Cisco Nexus 5000 Series Interfaces Command Reference...
  • Page 81: M Commands

    M Commands • management, page 72 Cisco Nexus 5000 Series Interfaces Command Reference...
  • Page 82: Management

    This example shows how to remove the in-band management access to a VLAN interface: switch# configure terminal switch(config)# interface vlan 5 switch(config-if)# no management switch(config-if)# Related Commands Command Description show running-config interface Displays the running configuration information for an interface. Cisco Nexus 5000 Series Interfaces Command Reference...
  • Page 83: N Commands

    N Commands • no switchport, page 74 Cisco Nexus 5000 Series Interfaces Command Reference...
  • Page 84: No Switchport

    1/5 switch(config-if)# switchport switch(config-if)# Related Commands Command Description copy running-config startup-config Saves the running configuration to the startup configuration file. interface ethernet (Layer 3) Configures an Ethernet routed interface or subinterface. Cisco Nexus 5000 Series Interfaces Command Reference...
  • Page 85: Cisco Nexus 5000 Series Interfaces Command Reference

    Command Description inteface loopback Configures a loopback interface. interface port-channel Configures an EtherChannel interface or subinterface. ip address Sets a primary or secondary IP address for an interface. show interfaces Displays interface information. Cisco Nexus 5000 Series Interfaces Command Reference...
  • Page 86: Cisco Nexus 5000 Series Interfaces Command Reference

    N Commands no switchport Cisco Nexus 5000 Series Interfaces Command Reference...
  • Page 87: P Commands

    P Commands • peer-switch, page 78 • port, page 79 • port-channel load-balance ethernet, page 81 Cisco Nexus 5000 Series Interfaces Command Reference...
  • Page 88: Peer-Switch

    %STP-2-VPC_PEERSWITCH_CONFIG_ENABLED: vPC peer-switch configuration is enabled. Please make sure to configure spanning tree "bridge" priority as per recommended guidelines to make vPC peer-switch operational. Related Commands Command Description vpc domain Creates a virtual port-channel (vPC) domain. Cisco Nexus 5000 Series Interfaces Command Reference...
  • Page 89: Port

    P Commands port port To configure a unified port on a Cisco Nexus 5548UP switch or Cisco Nexus 5596UP switch, use the port command. To remove the unified port, use the no form of this command. port port-number type {ethernet| fc}...
  • Page 90: Cisco Nexus 5000 Series Interfaces Command Reference

    P Commands port On a Cisco Nexus 5548UP switch, the 32 ports of the main slot (slot1) are unified ports. The Ethernet ports start from port 1/1 to port 1/32. The FC ports start from port 1/32 backwards to port 1/1.
  • Page 91: Port-Channel Load-Balance Ethernet

    (Optional) Hash polynomial that is used to determine the egress port selected for a port channel. See the “Usage Guidelines” section for a list of valid values. This is applicable only on a Cisco Nexus Note 5548 switch and a Cisco Nexus 5596 switch.
  • Page 92: Cisco Nexus 5000 Series Interfaces Command Reference

    This example shows how to set the load-balancing method to use the source IP and the CRC8c polynomial to hash a flow to obtain a numerical value that can be used to choose the egress physical interface on a Cisco...
  • Page 93: Cisco Nexus 5000 Series Interfaces Command Reference

    P Commands port-channel load-balance ethernet Cisco Nexus 5000 Series Interfaces Command Reference...
  • Page 94: Cisco Nexus 5000 Series Interfaces Command Reference

    P Commands port-channel load-balance ethernet Cisco Nexus 5000 Series Interfaces Command Reference...
  • Page 95: R Commands

    R Commands • resync-database, page 86 Cisco Nexus 5000 Series Interfaces Command Reference...
  • Page 96: Resync-Database

    Enter configuration commands, one per line. End with CNTL/Z. switch(config-sync)# resync-database Re-synchronization of switch-profile db takes a few minutes... Re-synchronize switch-profile db completed successfully. switch(config-sync)# Related Commands Command Description switch-profile Configures a switch profile. Cisco Nexus 5000 Series Interfaces Command Reference...
  • Page 97: S Commands

    S Commands • shutdown, page 88 • shutdown (virtual Ethernet interface), page 90 • system default switchport shutdown, page 91 Cisco Nexus 5000 Series Interfaces Command Reference...
  • Page 98: Shutdown

    • Layer 2 interface (Ethernet interface, EtherChannel interface, subinterface) • Layer 3 interface Use the no switchport command to configure an interface as a Layer 3 interface. Note • Layer 3 subinterface • Management interface • Virtual Ethernet interface Cisco Nexus 5000 Series Interfaces Command Reference...
  • Page 99: Cisco Nexus 5000 Series Interfaces Command Reference

    Displays the Ethernet interface configuration information. Displays information on traffic about the specified show interface port-channel EtherChannel interface. show interface vethernet Displays the virtual Ethernet interface configuration information. Cisco Nexus 5000 Series Interfaces Command Reference...
  • Page 100: Shutdown (Virtual Ethernet Interface)

    This example shows how to shut down, or disable, a virtual Ethernet interface: switch# configure terminal switch(config)# interface vethernet 10 switch(config-if)# shutdown switch(config-if)# Related Commands Command Description show interface vethernet Displays the virtual Ethernet interface configuration information. Cisco Nexus 5000 Series Interfaces Command Reference...
  • Page 101: System Default Switchport Shutdown

    This example shows how to reset all ports back to Layer 2 switchports: switch# configure terminal switch(config)# system default switchport shutdown switch(config)# Related Commands Command Description show interface Displays the interface configuration information. Cisco Nexus 5000 Series Interfaces Command Reference...
  • Page 102: Cisco Nexus 5000 Series Interfaces Command Reference

    S Commands system default switchport shutdown Cisco Nexus 5000 Series Interfaces Command Reference...
  • Page 103: Show Commands

    141 • show port-channel capacity, page 143 • show port-channel compatibility-parameters, page 144 • show port-channel database, page 146 • show port-channel load-balance, page 148 • show port-channel summary, page 152 Cisco Nexus 5000 Series Interfaces Command Reference...
  • Page 104: Cisco Nexus 5000 Series Interfaces Command Reference

    167 • show running-config interface, page 169 • show tech-support, page 171 • show tech-support poe, page 174 • show udld, page 175 • show vpc brief, page 178 Cisco Nexus 5000 Series Interfaces Command Reference...
  • Page 105: Show Cdp All

    Show Commands show cdp all show cdp all To display the interfaces in the Cisco Discovery Protocol (CDP) database, use the show cdp all command. show cdp all Syntax Description This command has no arguments or keywords. Command Default None...
  • Page 106: Cisco Nexus 5000 Series Interfaces Command Reference

    Show Commands show cdp all Related Commands Command Description Enables CDP on the switch. Cisco Nexus 5000 Series Interfaces Command Reference...
  • Page 107: Show Cdp Entry

    Show Commands show cdp entry show cdp entry To display the interfaces in the Cisco Discovery Protocol (CDP) database, use the show cdp entry command. show cdp entry {all| name device-name} Syntax Description Displays all interfaces in the CDP database.
  • Page 108: Cisco Nexus 5000 Series Interfaces Command Reference

    Show Commands show cdp entry Holdtime: 167 sec Version: Cisco Nexus Operating System (NX-OS) Software, Version 5.0(3)N2(1) Advertisement Version: 2 Native VLAN: 1 Duplex: full Physical Location: snmplocation Mgmt address(es): IPv4 Address: 192.168.0.96 ---------------------------------------- Device ID:swor96(SSI13110AAQ) System Name:swor96 Interface address(es): IPv4 Address: 192.168.0.1...
  • Page 109: Show Cdp Global

    Show Commands show cdp global show cdp global To display the Cisco Discovery Protocol (CDP) global parameters, use the show cdp global command. show cdp global Syntax Description This command has no arguments or keywords. Command Default None Command Modes...
  • Page 110: Show Cdp Interface

    Show Commands show cdp interface show cdp interface To display the Cisco Discovery Protocol (CDP) parameters for an interface, use the show cdp interface command. show cdp interface {ethernet slot / port| mgmt mgmt-num} Syntax Description ethernet slot /port Specifies an Ethernet interface. The slot number is from 1 to 255 and the port number is from 1 to 128.
  • Page 111: Show Cdp Neighbors

    Show Commands show cdp neighbors show cdp neighbors To display the Cisco Discovery Protocol (CDP) neighbors, use the show cdp neighbors command. show cdp neighbors [interface {ethernet slot / port| mgmt mgmt-num}] [detail] Syntax Description (Optional) Displays CDP neighbor information for interface an interface, Ethernet or management.
  • Page 112: Cisco Nexus 5000 Series Interfaces Command Reference

    Platform: cisco WS-C3750E-24TD, Capabilities: Switch IGMP Filtering Interface: mgmt0, Port ID (outgoing port): GigabitEthernet1/0/13 Holdtime: 179 sec Version: Cisco IOS Software, C3750E Software (C3750E-UNIVERSAL-M), Version 12.2(35)SE5, R ELEASE SOFTWARE (fc1) Copyright (c) 1986-2007 by Cisco Systems, Inc. Compiled Thu 19-Jul-07 16:17 by nachen...
  • Page 113: Cisco Nexus 5000 Series Interfaces Command Reference

    Platform: cisco WS-C3750E-24TD, Capabilities: Switch IGMP Filtering Interface: mgmt0, Port ID (outgoing port): GigabitEthernet1/0/13 Holdtime: 128 sec Version: Cisco IOS Software, C3750E Software (C3750E-UNIVERSAL-M), Version 12.2(35)SE5, R ELEASE SOFTWARE (fc1) Copyright (c) 1986-2007 by Cisco Systems, Inc. Compiled Thu 19-Jul-07 16:17 by nachen...
  • Page 114: Cisco Nexus 5000 Series Interfaces Command Reference

    Show Commands show cdp neighbors Related Commands Command Description Enables CDP on the switch. Cisco Nexus 5000 Series Interfaces Command Reference...
  • Page 115: Show Cdp Traffic

    Show Commands show cdp traffic show cdp traffic To display the Cisco Discovery Protocol (CDP) traffic statistics, use the show cdp traffic command. show cdp traffic interface {ethernet slot / port| mgmt mgmt-num} Syntax Description Displays CDP traffic statistics for an interface, interface Ethernet or management.
  • Page 116: Cisco Nexus 5000 Series Interfaces Command Reference

    Unsupported Version: 0 Checksum Errors: 0 Malformed Packets: 0 Output Statistics: Total Packets: 3201 CDP v1 Packets: 0 CDP v2 Packets: 3201 Send Errors: 0 switch# Related Commands Command Description Enables CDP on the switch. Cisco Nexus 5000 Series Interfaces Command Reference...
  • Page 117: Show Interface Brief

    10G(D) -- Eth1/22 access down SFP not inserted 10G(D) -- Eth1/23 access down Link not connected 10G(D) -- Eth1/24 access down Link not connected 10G(D) -- Eth1/25 access down SFP not inserted 10G(D) -- Cisco Nexus 5000 Series Interfaces Command Reference...
  • Page 118: Cisco Nexus 5000 Series Interfaces Command Reference

    10G(D) -- Eth1/22 access down Link not connected 10G(D) -- Eth1/23 access down SFP not inserted 10G(D) -- Eth1/24 access down SFP not inserted 10G(D) -- Eth1/25 access down Link not connected 10G(D) -- Cisco Nexus 5000 Series Interfaces Command Reference...
  • Page 119: Cisco Nexus 5000 Series Interfaces Command Reference

    This example shows how to display a brief summary of interfaces configured as FabricPath interfaces on a switch that runs Cisco NX-OS Release 5.1(3)N1(1): switch# show interface brief -------------------------------------------------------------------------------- Ethernet VLAN Type Mode Status Reason Speed Port Cisco Nexus 5000 Series Interfaces Command Reference...
  • Page 120: Cisco Nexus 5000 Series Interfaces Command Reference

    In the above display, Ethernet 1/5 has the mode shown as “f-path” indicating that it has been configured as a FabricPath port. Related Commands Command Description interface ethernet Configures an Ethernet IEEE 802.3 interface. Cisco Nexus 5000 Series Interfaces Command Reference...
  • Page 121: Show Interface Capabilities

    N5K-C5020P-BF-XL-SU Type (SFP capable): SFP-H10GB-CU1M Speed: 1000,10000 Duplex: full Trunk encap. type: 802.1Q Channel: Broadcast suppression: percentage(0-100) Flowcontrol: rx-(off/on),tx-(off/on) Rate mode: none QOS scheduling: rx-(6q1t),tx-(1p6q0t) CoS rewrite: ToS rewrite: SPAN: UDLD: Link Debounce: Cisco Nexus 5000 Series Interfaces Command Reference...
  • Page 122: Cisco Nexus 5000 Series Interfaces Command Reference

    Show Commands show interface capabilities Link Debounce Time: MDIX: Pvlan Trunk capable: TDR capable: Port mode: Switched FEX Fabric: switch# Related Commands Command Description interface ethernet Configures an Ethernet IEEE 802.3 interface. Cisco Nexus 5000 Series Interfaces Command Reference...
  • Page 123: Show Interface Debounce

    Eth1/16 enable Eth1/17 enable Eth1/18 enable Eth1/19 enable Eth1/20 enable Eth1/21 enable Eth1/22 enable Eth1/23 enable Eth1/24 enable Eth1/25 enable Eth1/26 enable Eth1/27 enable Eth1/28 enable Eth1/29 enable Eth1/30 enable Eth1/31 enable Cisco Nexus 5000 Series Interfaces Command Reference...
  • Page 124: Cisco Nexus 5000 Series Interfaces Command Reference

    Show Commands show interface debounce Eth1/32 enable --More-- switch# Related Commands Command Description Enables the debounce timer on an interface. link debounce Cisco Nexus 5000 Series Interfaces Command Reference...
  • Page 125: Show Interface Ethernet

    (Optional) Displays the operational state of the interface. (Optional) Displays the switchport information of an switchport interface. Command Default Displays all information for the interface. Command Modes EXEC mode Command History Release Modification 4.0(0)N1(1a) This command was introduced. Cisco Nexus 5000 Series Interfaces Command Reference...
  • Page 126: Cisco Nexus 5000 Series Interfaces Command Reference

    /port command. For example, if you insert a 1-Gigabit SFP transceiver into a port without configuring the speed 1000 command, you will get this error. By default, all ports on a Cisco Nexus 5000 Series switch are 10 Gigabits. Examples...
  • Page 127: Cisco Nexus 5000 Series Interfaces Command Reference

    This example shows how to display the brief configuration information of a specified subinterface: switch# show interface ethernet 1/5.2 brief -------------------------------------------------------------------------------- Ethernet VLAN Type Mode Status Reason Speed Port Interface Ch # -------------------------------------------------------------------------------- Eth1/5.2 routed up none 10G(D) -- switch# Cisco Nexus 5000 Series Interfaces Command Reference...
  • Page 128: Cisco Nexus 5000 Series Interfaces Command Reference

    Cisco Nexus 5010 Series switch. Note You can configure the monitor destination rate-limit only on a Cisco Nexus 5010 Series switch or Cisco Nexus 5020 Series switch. This example shows how to display the information about a specific Ethernet interface that is bound to a...
  • Page 129: Cisco Nexus 5000 Series Interfaces Command Reference

    (Layer 3) Configures a Layer 3 Ethernet IEEE 802.3 interface. switchport mode vntag Configures an Ethernet interface as a VNTag port. switchport monitor rate-limit Configures the rate limit for traffic on an interface. Cisco Nexus 5000 Series Interfaces Command Reference...
  • Page 130: Show Interface Loopback

    0 input errors 0 frame 0 overrun 0 fifo 0 packets output 0 bytes 0 underruns 0 output errors 0 collisions 0 fifo switch# Teh following table describes the significant fields shown in the display. Cisco Nexus 5000 Series Interfaces Command Reference...
  • Page 131: Cisco Nexus 5000 Series Interfaces Command Reference

    Total number of bytes, including data and MAC encapsulation, in the error-free packets received by the system. multicast frames Total number of multicast frames enabled on the interface. compressed Total number of multicast frames compressed on the interface. Cisco Nexus 5000 Series Interfaces Command Reference...
  • Page 132: Cisco Nexus 5000 Series Interfaces Command Reference

    Number of First In, First Out (FIFO) errors in the transmit direction. This example shows how to display the brief information for a specific loopback interface: switch# show interface loopback 10 brief -------------------------------------------------------------------------------- Interface Status Description -------------------------------------------------------------------------------- Cisco Nexus 5000 Series Interfaces Command Reference...
  • Page 133: Cisco Nexus 5000 Series Interfaces Command Reference

    Show Commands show interface loopback loopback10 switch# Related Commands Command Description interface loopback Configures a loopback interface. Cisco Nexus 5000 Series Interfaces Command Reference...
  • Page 134: Show Interface Mac-Address

    Ethernet1/1 0005.9b78.6e7c 0005.9b78.6e48 Ethernet1/2 0005.9b78.6e7c 0005.9b78.6e49 Ethernet1/3 0005.9b78.6e7c 0005.9b78.6e4a Ethernet1/4 0005.9b78.6e7c 0005.9b78.6e4b Ethernet1/5 0005.9b78.6e7c 0005.9b78.6e4c Ethernet1/6 0005.9b78.6e7c 0005.9b78.6e4d Ethernet1/7 0005.9b78.6e7c 0005.9b78.6e4e Ethernet1/8 0005.9b78.6e7c 0005.9b78.6e4f Ethernet1/9 0005.9b78.6e7c 0005.9b78.6e50 Ethernet1/10 0005.9b78.6e7c 0005.9b78.6e51 Ethernet1/11 0005.9b78.6e7c 0005.9b78.6e52 Cisco Nexus 5000 Series Interfaces Command Reference...
  • Page 135: Ethernet1/20

    Adds static entries to the MAC address table or configures a static MAC address with IGMP snooping disabled for that address. show mac address-table Displays information on the MAC address table. Cisco Nexus 5000 Series Interfaces Command Reference...
  • Page 136: Show Interface Mgmt

    Protocol (SNMP) MIB values for the nonzero interface counters. description (Optional) Displays the interface description. (Optional) Displays the interface line status. status Command Default None Command Modes EXEC mode Command History Release Modification 4.0(0)N1(1a) This command was introduced. Cisco Nexus 5000 Series Interfaces Command Reference...
  • Page 137: Cisco Nexus 5000 Series Interfaces Command Reference

    209 broadcast packets 1056259251 bytes switch# This example shows how to display the summary configuration information of the management interface: switch# show interface mgmt 0 brief Related Commands Command Description interface mgmt Configures a management interface. Cisco Nexus 5000 Series Interfaces Command Reference...
  • Page 138: Show Interface Port-Channel

    21 port-channel21 is up Hardware: Port-Channel, address: 000d.ece7.df72 (bia 000d.ece7.df72) MTU 1500 bytes, BW 10000000 Kbit, DLY 10 usec, reliability 255/255, txload 1/255, rxload 1/255 Encapsulation ARPA Port mode is trunk Cisco Nexus 5000 Series Interfaces Command Reference...
  • Page 139: Cisco Nexus 5000 Series Interfaces Command Reference

    0 output errors 0 collision 0 deferred 0 late collision 0 lost carrier 0 no carrier 0 babble 0 Tx pause 1 interface resets switch# Related Commands Command Description interface port-channel Configures an EtherChannel interface. Cisco Nexus 5000 Series Interfaces Command Reference...
  • Page 140: Show Interface Status Err-Disabled

    BPDUGuard errDisable Eth114/1/44 down BPDUGuard errDisable Eth114/1/45 down BPDUGuard errDisable Eth114/1/46 down BPDUGuard errDisable Eth114/1/47 down BPDUGuard errDisable --More-- switch# Related Commands Command Description errdisable detect cause Enables the error disabled (err-disabled) detection. Cisco Nexus 5000 Series Interfaces Command Reference...
  • Page 141: Cisco Nexus 5000 Series Interfaces Command Reference

    Show Commands show interface status err-disabled Command Description errdisable recovery cause Enables error disabled recovery on an interface. Cisco Nexus 5000 Series Interfaces Command Reference...
  • Page 142: Show Interface Switchport

    Support to configure traffic rate limit on a switch port was added. Usage Guidelines You can configure the rate limit on the following Cisco Nexus 5000 Series switches using the switchport monitor rate-limit 1G command: • Cisco Nexus 5010 Series •...
  • Page 143: Cisco Nexus 5000 Series Interfaces Command Reference

    Trunking VLANs Enabled: 1,300-795 <--snip--> Name: port-channel4000 Switchport: Enabled Switchport Monitor: Not enabled Operational Mode: access Access Mode VLAN: 1 (default) Trunking Native Mode VLAN: 1 (default) Trunking VLANs Enabled: 1,300-795,900,1002-1005 Pruning VLANs Enabled: 2-1001 Cisco Nexus 5000 Series Interfaces Command Reference...
  • Page 144: Cisco Nexus 5000 Series Interfaces Command Reference

    BEND-2(config-if)# show interface switchport Name: Ethernet1/1 Switchport: Enabled Switchport Monitor: Not enabled Operational Mode: fex-fabric Access Mode VLAN: 1 (default) Trunking Native Mode VLAN: 1 (default) Trunking VLANs Enabled: 1,300-800,900 Cisco Nexus 5000 Series Interfaces Command Reference...
  • Page 145: Cisco Nexus 5000 Series Interfaces Command Reference

    Administrative private-vlan trunk native VLAN: none Administrative private-vlan trunk encapsulation: dot1q Administrative private-vlan trunk normal VLANs: none Administrative private-vlan trunk private VLANs: none Operational private-vlan: none Unknown unicast blocked: disabled Unknown multicast blocked: disabled switch# Cisco Nexus 5000 Series Interfaces Command Reference...
  • Page 146: Cisco Nexus 5000 Series Interfaces Command Reference

    Related Commands Command Description switchport access vlan Sets the access VLAN when the interface is in access mode. switchport monitor rate-limit Configures the rate limit for traffic on an interface. Cisco Nexus 5000 Series Interfaces Command Reference...
  • Page 147: Show Interface Switchport Backup

    Bandwidth : 1000000 Kbit (Ethernet1/2), 10000000 Kbit (Ethernet1/1) Ethernet1/20 Ethernet1/21 Active Down/Backup Down Preemption Mode : off Multicast Fast Convergence : Off Bandwidth : 10000000 Kbit (Ethernet1/20), 10000000 Kbit (Ethernet1/21) port-channel300 port-channel301 Active Up/Backup Down Preemption Mode : forced Cisco Nexus 5000 Series Interfaces Command Reference...
  • Page 148: Preemption Delay : 35 Seconds (Default) Multicast Fast Convergence

    Bandwidth configured on the backup interface. Related Commands Command Description switchport backup interface Configures Flex Links. Displays the running configuration information for show running-config backup backup interfaces. show running-config flexlink Displays the running configuration information for Flex Links. Cisco Nexus 5000 Series Interfaces Command Reference...
  • Page 149: Show Interface Transceiver

    74752-9044 revision is 07 serial number is MOC14081360 nominal bitrate is 10300 MBit/sec Link length supported for copper is 1 m cisco id is -- cisco extended id number is 4 switch# Cisco Nexus 5000 Series Interfaces Command Reference...
  • Page 150: Cisco Nexus 5000 Series Interfaces Command Reference

    Show Commands show interface transceiver Related Commands Command Description interface ethernet Configures an Ethernet IEEE 802.3 interface. show interface capabilities Displays detailed information about the capabilities of an interface. Cisco Nexus 5000 Series Interfaces Command Reference...
  • Page 151: Show Lacp

    Usage Guidelines Use the show lacp command to troubleshoot problems related to LACP in a network. Examples This example shows how to display the LACP system identification: switch# show lacp system-identifier 32768,0-5-9b-78-6e-7c switch# Cisco Nexus 5000 Series Interfaces Command Reference...
  • Page 152: Cisco Nexus 5000 Series Interfaces Command Reference

    Related Commands Command Description Clears LACP counters. clear lacp counters lacp port-priority Sets the priority for the physical interfaces for the LACP. Sets the system priority of the switch for the LACP. lacp system-priority Cisco Nexus 5000 Series Interfaces Command Reference...
  • Page 153: Show Port-Channel Capacity

    Port-channel resources 768 total 29 used 739 free 3% used switch# Related Commands Command Description Configures the load-balancing algorithm for port-channel load-balance ethernet EtherChannels. show tech-support port-channel Displays Cisco Technical Support information about EtherChannels. Cisco Nexus 5000 Series Interfaces Command Reference...
  • Page 154: Show Port-Channel Compatibility-Parameters

    Members have to have the same medium type configured. This only applies to ethernet port-channel. * Span mode Members must have the same span mode. * load interval Member must have same load interval configured. --More-- <---output truncated---> switch# Cisco Nexus 5000 Series Interfaces Command Reference...
  • Page 155: Cisco Nexus 5000 Series Interfaces Command Reference

    Show Commands show port-channel compatibility-parameters Related Commands Command Description port-channel load-balance ethernet Configures the load-balancing algorithm for EtherChannels. show tech-support port-channel Displays Cisco Technical Support information about EtherChannels. Cisco Nexus 5000 Series Interfaces Command Reference...
  • Page 156: Show Port-Channel Database

    [active ] [up] * Ethernet199/1/28 [active ] [up] Ethernet199/1/30 [active ] [up] Ethernet199/1/31 [active ] [up] port-channel21 Last membership update is successful 1 ports in total, 1 ports up First operational port is Ethernet2/3 Cisco Nexus 5000 Series Interfaces Command Reference...
  • Page 157: Cisco Nexus 5000 Series Interfaces Command Reference

    Last bundled member is Ports: Ethernet2/3 [on] [up] * switch# Related Commands Command Description port-channel load-balance ethernet Configures the load-balancing algorithm for EtherChannels. show tech-support port-channel Displays Cisco Technical Support information about EtherChannels. Cisco Nexus 5000 Series Interfaces Command Reference...
  • Page 158: Show Port-Channel Load-Balance

    MAC address. dst-mac-addr Destination MAC address. The format is AAAA :BBBB :CCCC . l4-dst-port (Optional) Displays the load distribution on the destination port. dst-port Destination port number. The range is from 0 to 65535. Cisco Nexus 5000 Series Interfaces Command Reference...
  • Page 159 • The EtherChannel has only one active member. • The destination MAC address is unknown when the load distribution is configured on the source IP address (src-ip), source port (l4-src-port), or source MAC address (src-mac). Cisco Nexus 5000 Series Interfaces Command Reference...
  • Page 160 Missing params will be substituted by 0's. Load-balance Algorithm on FEX: source-dest-ip crc8_hash: Not Used Outgoing port id: Ethernet133/1/3 Param(s) used to calculate load-balance (Unknown unicast, multicast and broadcas t packets): dst-mac: 0000.0000.0000 vlan id: switch# Cisco Nexus 5000 Series Interfaces Command Reference...
  • Page 161 Param(s) used to calculate load-balance: dst-port: 1 src-port: 0 dst-ip: 192.168.2.25 src-ip: 192.168.2.10 dst-mac: 0000.0000.0000 src-mac: aabb.ccdd.eeff switch# Related Commands Command Description port-channel load-balance ethernet Configures the load-balancing method among the interfaces in the channel-group bundle. Cisco Nexus 5000 Series Interfaces Command Reference...
  • Page 162: Show Port-Channel Summary

    NONE Eth1/9(P) Eth1/10(P) Eth1/13(P) Eth1/14(P) Eth1/40(P) Po5(SU) NONE Eth3/5(P) Eth3/6(P) Po6(SU) NONE Eth1/5(P) Eth1/6(P) Eth1/7(P) Eth1/8(P) Po12(SU) NONE Eth3/3(P) Eth3/4(P) Po15(SD) NONE Po20(SU) NONE Eth1/17(P) Eth1/18(P) Eth1/19(D) Eth1/20(P) Po24(SU) LACP Eth105/1/27(P) Eth105/1/28(P) Eth105/1/29 Cisco Nexus 5000 Series Interfaces Command Reference...
  • Page 163 Eth102/1/10(P) Po111(SU) LACP Eth102/1/11(P) <---output truncated---> switch# Related Commands Command Description channel-group (Ethernet) Assigns and configures a physical interface to an EtherChannel. interface port-channel Creates an EtherChannel interface and enters interface configuration mode. Cisco Nexus 5000 Series Interfaces Command Reference...
  • Page 164: Show Port-Channel Traffic

    0.06% 0.06% 0.0% 0.0% switch# This example shows how to display the traffic statistics for a specific EtherChannel: switch# show port-channel traffic interface port-channel 10 ChanId Port Rx-Ucst Tx-Ucst Rx-Mcst Tx-Mcst Rx-Bcst Tx-Bcst Cisco Nexus 5000 Series Interfaces Command Reference...
  • Page 165 0.0% 0.0% Eth1/10 0.0% 0.0% 0.0% 0.0% 0.0% 0.0% switch# Related Commands Command Description Configures the load-balancing algorithm for port-channel load-balance ethernet EtherChannels. show tech-support port-channel Displays Cisco Technical Support information about EtherChannels. Cisco Nexus 5000 Series Interfaces Command Reference...
  • Page 166: Show Port-Channel Usage

    (some numbers may be in use by SAN port channels) switch# Related Commands Command Description port-channel load-balance ethernet Configures the load-balancing algorithm for EtherChannels. Displays Cisco Technical Support information about show tech-support port-channel EtherChannels. Cisco Nexus 5000 Series Interfaces Command Reference...
  • Page 167: Show Port-Security

    Total Secured Mac Addresses in System (excluding one mac per port) Max Addresses limit in System (excluding one mac per port) : 8192 ---------------------------------------------------------------------------- Secure Port MaxSecureAddr CurrentAddr SecurityViolation Security Action (Count) (Count) (Count) ---------------------------------------------------------------------------- Cisco Nexus 5000 Series Interfaces Command Reference...
  • Page 168 Related Commands Command Description Clears the dynamically secured addresses on a port. clear port-security dynamic show running-config port-security Displays the port security configuration information. switchport port-security Configures the switchport parameters to establish port security. Cisco Nexus 5000 Series Interfaces Command Reference...
  • Page 169: Show Resource

    0 768 2 0 766 u4route-mem 32 32 1 31 31 u6route-mem 16 16 1 15 15 m4route-mem 58 58 0 58 58 m6route-mem 8 8 0 8 8 bundle-map 0 16 2 0 14 switch# Cisco Nexus 5000 Series Interfaces Command Reference...
  • Page 170 Show Commands show resource Related Commands Command Description show interface port channel Displays information about EtherChannels. Cisco Nexus 5000 Series Interfaces Command Reference...
  • Page 171: Show Running-Config

    This example shows how to display detailed information on the running configuration: switch# show running-config all Related Commands Command Description Displays the contents of the startup configuration file. show startup-config Cisco Nexus 5000 Series Interfaces Command Reference...
  • Page 172: Show Running-Config Backup

    This example shows how to display the detailed running configuration for backup interfaces: switch# show running-config backup all !Command: show running-config backup all !Time: Sun Jan 4 06:28:04 2009 Cisco Nexus 5000 Series Interfaces Command Reference...
  • Page 173 Displays the startup configuration for backup interfaces. Displays the startup configuration for Flex Links. show startup-config flexlink show tech-support backup Displays troubleshooting information for backup interfaces. Displays troubleshooting information for Flex Links. show tech-support flexlink Cisco Nexus 5000 Series Interfaces Command Reference...
  • Page 174: Show Running-Config Interface

    (Optional) Displays the configuration information of the VLAN. The range of values is from 1 to 4096. (Optional) Displays configured and default information . expand-port-profile (Optional) Displays the configuration information of port profiles. Command Default None Cisco Nexus 5000 Series Interfaces Command Reference...
  • Page 175 5 !Command: show running-config interface Vlan5 !Time: Mon Apr 4 07:46:35 2005 version 5.1(3)N1(1) interface Vlan5 management switch# Related Commands Command Description Displays the running configuration on the device. show startup-config Cisco Nexus 5000 Series Interfaces Command Reference...
  • Page 176: Show Running-Config Poe

    This example shows how to display the running configuration for PoE ports: switch# show running-config poe Related Commands Command Description Displays the startup configuration information about show startup-config poe PoE ports. show tech-support poe Displays troubleshooting information about PoE ports. Cisco Nexus 5000 Series Interfaces Command Reference...
  • Page 177: Show Startup-Config Backup

    This example shows how to display the detailed startup configuration for backup interfaces: switch# show startup-config backup all !Command: show startup-config backup all !Time: Sun Jan 4 06:29:17 2009 Cisco Nexus 5000 Series Interfaces Command Reference...
  • Page 178 Displays the running configuration information for backup interfaces. show running-config flexlink Displays Flex Links running configuration information. Displays troubleshooting information for backup show tech-support backup interfaces. show tech-support flexlink Displays troubleshooting information for Flex Links. Cisco Nexus 5000 Series Interfaces Command Reference...
  • Page 179: Show Running-Config Interface

    (Optional) Displays the configuration information of the VLAN. The range of values is from 1 to 4096. (Optional) Displays configured and default information . expand-port-profile (Optional) Displays the configuration information of port profiles. Command Default None Cisco Nexus 5000 Series Interfaces Command Reference...
  • Page 180 5 !Command: show running-config interface Vlan5 !Time: Mon Apr 4 07:46:35 2005 version 5.1(3)N1(1) interface Vlan5 management switch# Related Commands Command Description Displays the running configuration on the device. show startup-config Cisco Nexus 5000 Series Interfaces Command Reference...
  • Page 181: Show Tech-Support

    Bandwidth : 20000000 Kbit (port-channel300), 10000000 Kbit (port-channel 301) port-channel500 port-channel501 Active Down/Backup Down Preemption Mode : off Multicast Fast Convergence : On Bandwidth : 100000 Kbit (port-channel500), 100000 Kbit (port-channel501) port-channel502 port-channel503 Active Down/Backup Down Preemption Mode : off Cisco Nexus 5000 Series Interfaces Command Reference...
  • Page 182 Active Down/Backup Down Preemption Mode : off Multicast Fast Convergence : On Bandwidth : 100000 Kbit (port-channel500), 100000 Kbit (port-channel501) port-channel502 port-channel503 Active Down/Backup Down Preemption Mode : off Multicast Fast Convergence : Off Cisco Nexus 5000 Series Interfaces Command Reference...
  • Page 183 1 00:01:21 2009 595400 usecs] flexlink_mts_queue_initialize: reg istered MTS_OPC_IM_IF_CREATED(62467) with flexlink_q_mts <--Output truncated--> switch# Related Commands Command Description show running-config backup Displays the running configuration information for backup interfaces. show running-config flexlink Displays Flex Links running configuration information. Cisco Nexus 5000 Series Interfaces Command Reference...
  • Page 184: Show Tech-Support Poe

    This example shows how to display the troubleshooting information for PoE ports: switch# show tech-support poe Related Commands Command Description power inline Enables PoE ports on the switch. show running-config poe Displays the running configuration information about PoE ports. Cisco Nexus 5000 Series Interfaces Command Reference...
  • Page 185: Show Udld

    Expiration time: 41 Cache Device index: 1 Current neighbor state: bidirectional Device ID: FLC12280095 Port ID: Ethernet1/1 Neighbor echo 1 devices: SSI130205RT Neighbor echo 1 port: Ethernet1/1 Message interval: 15 Timeout interval: 5 Cisco Nexus 5000 Series Interfaces Command Reference...
  • Page 186 Ethernet1/4 bidirectional Ethernet1/7 JAF1346000H Ethernet1/7 bidirectional Ethernet1/8 JAF1346000H Ethernet1/8 bidirectional Ethernet1/9 JAF1346000C Ethernet1/9 bidirectional Ethernet1/10 JAF1346000C Ethernet1/10 bidirectional switch# Related Commands Command Description udld (configuration mode) Configures the UDLD protocol on the switch. Cisco Nexus 5000 Series Interfaces Command Reference...
  • Page 187 Show Commands show udld Command Description udld (Ethernet) Configures the UDLD protocol on an Ethernet interface. Cisco Nexus 5000 Series Interfaces Command Reference...
  • Page 188: Show Vpc Brief

    Status Active vlans -- ---- ------ -------------------------------------------------- 1 Po10 up 1-100 vPC status ---------------------------------------------------------------------- id Port Status Consistency Reason Active vlans -- ---- ------ ----------- -------------------------- ------------ 20 Po20 up success success 1-100 Cisco Nexus 5000 Series Interfaces Command Reference...
  • Page 189 --------------------------------------------------------------------- id Port Status Active vlans -- ---- ------ -------------------------------------------------- 1 Po10 up 1-100 Related Commands Command Description feature vpc Enables vPCs on the device. show port channel summary Displays information about port channels. Cisco Nexus 5000 Series Interfaces Command Reference...
  • Page 190 Show Commands show vpc brief Cisco Nexus 5000 Series Interfaces Command Reference...
  • Page 191: U And V Commands

    U and V Commands • udld (Ethernet), page 182 • vpc domain, page 184 • vpc orphan-port suspend, page 186 Cisco Nexus 5000 Series Interfaces Command Reference...
  • Page 192: Udld (Ethernet)

    This example shows how to enable the aggressive UDLD mode for an Ethernet port: switch(config-if)# udld aggressive This example shows how to disable UDLD for an Ethernet port: switch(config-if)# udld disable Cisco Nexus 5000 Series Interfaces Command Reference...
  • Page 193 U and V Commands udld (Ethernet) Related Commands Command Description show udld Displays the administrative and operational UDLD status. Cisco Nexus 5000 Series Interfaces Command Reference...
  • Page 194: Vpc Domain

    This example shows how to create a vPC domain: switch# config t switch(config)# vpc domain 5 switch(config-vpc-domain)# This example shows how to enter the vpc-domain command mode to configure an existing vPC domain: switch# config t switch(config)# Cisco Nexus 5000 Series Interfaces Command Reference...
  • Page 195 5 switch(config-vpc-domain)# Related Commands Command Description show vpc brief Displays information about vPCs. If the feature is not enabled, the system displays an error when you enter this command. Cisco Nexus 5000 Series Interfaces Command Reference...
  • Page 196: Vpc Orphan-Port Suspend

    This example shows how to suspend an orphan port: switch(config)# interface ethernet 1/20 switch(config-if)# vpc orphan-port suspend switch(config-if)# Related Commands Command Description Displays brief information about the vPCs. show vpc brief show vpc orphan-ports Displays information about orphan ports. Cisco Nexus 5000 Series Interfaces Command Reference...

Table of Contents

Save PDF