background image

1278

Cisco Nexus 5500 Series NX-OS Layer 2 Interfaces Command Reference

OL-27880-02

Chapter       Show Commands

show interface brief

show interface brief

To display a brief summary of the interface configuration information, use the 

show interface brief

 

command.

show interface brief

Syntax Description

This command has no arguments or keywords.

Command Default

None

Command Modes

EXEC mode

Command History

Examples

This example shows how to display the summary configuration information of the specified interface:

switch# 

show interface brief 

--------------------------------------------------------------------------------

Ethernet      VLAN    Type Mode   Status  Reason                   Speed     Port

Interface                                                                    Ch #

--------------------------------------------------------------------------------

Eth1/1        1       eth  access down    SFP not inserted            40G(D) --

Eth1/2        1       eth  access down    SFP not inserted            40G(D) --

Eth1/3        1       eth  access down    SFP not inserted            40G(D) --

Eth1/4        1       eth  access up      none                        40G(D) --

Eth1/5        1       eth  access down    SFP not inserted            40G(D) --

Eth1/6        1       eth  access up      none                        40G(D) --

Eth1/7        1       eth  access down    SFP not inserted            40G(D) --

Eth1/8        1       eth  access down    SFP not inserted            40G(D) --

Eth1/9        1       eth  access down    SFP not inserted            40G(D) --

Eth1/10       1       eth  access up      none                        40G(D) --

Eth1/11       1       eth  access down    SFP not inserted            40G(D) --

Eth1/12       1       eth  access up      none                        40G(D) --

Eth5/1        1       eth  access down    Link not connected          40G(D) --

Eth5/2        1       eth  access down    SFP not inserted            40G(D) --

Eth5/3        1       eth  access down    SFP not inserted            40G(D) --

Eth5/4        1       eth  access down    SFP not inserted            40G(D) --

Eth5/5        1       eth  access down    SFP not inserted            40G(D) --

Eth5/6        1       eth  access down    SFP not inserted            40G(D) --

Eth5/7        1       eth  access down    SFP not inserted

40G(D) --

Eth5/8        1       eth  access down    SFP not inserted

40G(D) --

Eth5/9        1       eth  access down    SFP not inserted

 40G(D) --

Eth5/10       1       eth  access down    SFP not inserted            40G(D) --

Eth5/11       1       eth  access down    SFP not inserted            40G(D) --

Eth5/12       1       eth  access down    SFP not inserted            40G(D) --

Eth6/1        1       eth  access down    SFP not inserted            40G(D) --

Eth6/2        1       eth  access down    SFP not inserted            40G(D) --

Eth6/3        1       eth  access down    SFP not inserted            40G(D) --

Release

Modification

5.2(1)N1(1)

This command was introduced.

Содержание Nexus 5500 Series

Страница 1: ...ice Request page 3 Audience This publication is for experienced users who configure and maintain Cisco NX OS devices Document Conventions Command descriptions use these conventions Convention Description boldface font Commands and keywords are in boldface italic font Arguments for which you supply values are in italics Elements in square brackets are optional x y z Alternative keywords are grouped...

Страница 2: ...he documentation set includes the following types of documents Licensing Information Guide Release Notes Installation and Upgrade Guides Configuration Guides Configuration Examples and TechNotes Programming Guides Operations Guides Error and System Message Guides Field Notices Security Advisories Responses and Notices Troubleshooting Guide Command References MIB Reference Guide screen font Termina...

Страница 3: ...ng Documentation and Submitting a Service Request For information on obtaining documentation using the Cisco Bug Search Tool BST submitting a service request and gathering additional information see What s New in Cisco Product Documentation at http www cisco com c en us td docs general whatsnew whatsnew html Subscribe to What s New in Cisco Product Documentation which lists all new and revised Cis...

Страница 4: ...4 Cisco Nexus 5500 Series NX OS Layer 2 Interfaces Command Reference OL 27880 02 Chapter ...

Страница 5: ...Series NX OS Release Notes Release 6 0 available at the following Cisco website http www cisco com en US products ps9670 prod_release_notes_list html New and Changed Information for Cisco NX OS Releases This section includes the following topics New and Changed Information for Cisco NX OS Release 6 0 2 N1 2 page 17 New and Changed Information for Cisco NX OS Release 6 0 2 N1 2 Table 1 summarizes t...

Страница 6: ...18 Cisco Nexus 5500 Series NX OS Layer 2 Interfaces Command Reference OL 27880 02 Chapter ...

Страница 7: ...11 Cisco Nexus 5500 Series NX OS Layer 2 Interfaces Command Reference OL 27880 02 B Commands This chapter describes the Cisco NX OS Ethernet and virtual Ethernet commands that begin with B ...

Страница 8: ...ndwidth of the main interface regardless of the configured bandwidth If a bandwidth is not configured on a subinterface and you use the bandwidth inherit command all subinterfaces will inherit the current bandwidth of the main interface If you configure a new bandwidth on the main interface all subinterfaces will use this new value If you do not configure a bandwidth on the subinterface and you co...

Страница 9: ...nfigure 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 ...

Страница 10: ...istory Usage Guidelines Use the beacon command to toggle the port LED of an interface to easily identify each time a beacon is sent to check for pending packets on the interface Examples This example shows how to turn on the locator beacon LED for a specific interface switch config interface ethernet 2 1 switch config if beacon This example shows how to turn off the locator beacon LED for a specif...

Страница 11: ...ce vethernet 10 switch config if bind interface ethernet 1 1 channel 101 switch config if Related Commands interface ethernet Specifies that the virtual Ethernet interface be bound to a specified Ethernet interface slot QSFP module port Ethernet interface slot number and port number The slot number is from 1 to 255 The QSFP module number is from 1 to 4 The port number is from 1 to 128 Note The QSF...

Страница 12: ...rence OL 27880 02 Chapter B Commands bind virtual Ethernet interface show interface vethernet Displays the specified virtual Ethernet interface attributes and status show running config interface Displays the running configuration of an interface Command Description ...

Страница 13: ...17 Cisco Nexus 5500 Series NX OS Layer 2 Interfaces Command Reference OL 27880 02 C Commands This chapter describes the Cisco NX OS Ethernet and virtual Ethernet commands that begin with C ...

Страница 14: ...irtual Ethernet interface configuration mode Command History Examples This example shows how to set the profile capability for a specific virtual Ethernet interface switch configure terminal switch config interface vethernet 1 switch config if capability iscsi multipath switch config if Related Commands iscsi multipath Configure an iSCSI multipath profile Release Modification 5 2 1 N1 1 This comma...

Страница 15: ...d Therefore a large carrier delay timer results in fewer link up link down events being detected Setting the carrier delay time to 0 means that every link up link down event is detected This command does not require a license Examples 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 co...

Страница 16: ...eries NX OS Layer 2 Interfaces Command Reference OL 27880 02 Chapter C Commands carrier delay Related Commands Command Description show running config interface Displays the running configuration information for an interface ...

Страница 17: ...tch configure terminal switch config cdp format device id mac address This example shows how to disable CDP on all Ethernet interfaces switch configure terminal switch config no cdp enable advertise v1 v2 Configures the version to use to send CDP advertisements Version 2 is the default state enable Enables CDP for all Ethernet interfaces format device id Configures the format of the CDP device ID ...

Страница 18: ...112 Cisco Nexus 5500 Series NX OS Layer 2 Interfaces Command Reference OL 27880 02 Chapter C Commands cdp Related Commands Command Description show cdp Displays Cisco Discovery Protocol CDP information ...

Страница 19: ... Guidelines You can use this command on the following interfaces Ethernet interface Management interface Virtual Ethernet interface Examples This example shows how to enable CDP on an Ethernet interface switch configure terminal switch config interface ethernet 1 1 switch config if cdp enable This example shows how to enable CDP on a specific virtual Ethernet interface switch configure terminal sw...

Страница 20: ...ayer 2 Interfaces Command Reference OL 27880 02 Chapter C Commands cdp enable Related Commands Command Description show cdp Displays Cisco Discovery Protocol CDP information show interface Displays the interface configuration information ...

Страница 21: ...n the specified interface The interface is in an active negotiating state in which the port initiates negotiations with other ports by sending LACP packets on This is the default channel mode Specifies that all EtherChannels that are not running LACP remain in this mode If you attempt to change the channel mode to active or passive before enabling LACP the switch returns an error message After you...

Страница 22: ... physical interface from the EtherChannel When you delete the last physical interface from an EtherChannel the EtherChannel remains To delete the EtherChannel completely use the no form of the interface port channel command The compatibility check includes the following operational attributes Port mode Access VLAN Trunk native VLAN Tagged or untagged Allowed VLAN list Switched Port Analyzer SPAN c...

Страница 23: ...annel for example configuration changes are also propagated to the physical interfaces that are not part of the EtherChannel but are part of the channel group Examples This example shows how to add an interface to LACP channel group 5 in active mode switch config interface ethernet 1 1 switch config if channel group 5 mode active switch config if This example shows how to forcefully add an interfa...

Страница 24: ...nd History Usage Guidelines This command does not require a license Examples 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 interface Optional Clears the LACP counters of a specific interface port channel channel num Optional Specifies a po...

Страница 25: ...st counters name Syntax Description Command Default None Command Modes EXEC mode Command History Examples This example shows how to clear statistical information from the access list switch clear mac access list counters Related Commands name Optional Name of a specific counter to clear The name can be a maximum of 64 characters Release Modification 5 2 1 N1 1 This command was introduced Command D...

Страница 26: ...aces If you specify an interface but do not specify an address the switch removes all addresses on the specified interfaces address mac addr Optional Specifies the MAC address to remove from the table Use the format EEEE EEEE EEEE interface Optional Specifies the interface for which MAC addresses should be removed from the table The type can be either Ethernet or EtherChannel ethernet slot QSFP mo...

Страница 27: ...ows how to clear all the dynamic entries from the MAC address table switch clear mac address table dynamic This example shows how to clear all the dynamic entries from the MAC address table for VLAN 2 switch clear mac address table dynamic vlan 2 Related Commands Command Description show mac address table Displays the information about the MAC address table ...

Страница 28: ...rs all dynamically secured MAC address information The MAC address can be in the format E E E vlan vlan ID Clears all dynamically secured VLAN information The range is from 1 to 4094 interface Clears all dynamically secured addresses on a port ethernetslot QSFP module port Clears all dynamically secured addresses from an Ethernet port The slot number is from 1 to 255 The QSFP module number is from...

Страница 29: ...123 Cisco Nexus 5500 Series NX OS Layer 2 Interfaces Command Reference OL 27880 02 Chapter C Commands clear port security dynamic ...

Страница 30: ...r the STP counters for VLAN 5 switch clear spanning tree counters vlan 5 Related Commands interface Optional Specifies the interface type ethernet slot QSFP module port Specifies the Ethernet interface slot and port number The slot number is from 1 to 255 The QSFP module number is from 1 to 4 The port number is from 1 to 128 Note The QSFP module number applies only to the QSFP Generic Expansion Mo...

Страница 31: ... BPDU that is associated with a different region These mechanisms are not always able to revert to the most efficient mode For example a Rapid PVST switch that is designated for a legacy 802 1D bridge stays in 802 1D mode even after the legacy bridge has been removed from the link Similarly an MST port assumes that it is a boundary port when the bridges to which it is connected have joined the sam...

Страница 32: ...eries NX OS Layer 2 Interfaces Command Reference OL 27880 02 Chapter C Commands clear spanning tree detected protocol Related Commands Command Description show spanning tree Displays information about the spanning tree state ...

Страница 33: ...uments or keywords Command Default None Command Modes EXEC mode Command History Usage Guidelines Use this command to clear the VTP statistics such as the VTP requests VTP advertisements and configuration revisions Examples This example shows how to clear the VTP counters switch clear vtp counters switch Related Commands Release Modification 5 2 1 N1 1 This command was introduced Command Descriptio...

Страница 34: ...lt None Command Modes Global configuration mode Command History Usage Guidelines This command does not require a license Examples This example shows how to set the synchronization protocol for the clock to NTP switch configure terminal switch config clock protocol ntp switch config Related Commands none Specifies that the clock can be set manually ntp Specifies that the clock be set to the Network...

Страница 35: ...and does not require a license Examples This example shows how to connect to a vCenter Server switch configure terminal switch config svs connection SVSConn switch config svs conn protocol vmware vim switch config svs conn remote hostname vcMain switch config svs conn vmware dvs datacenter name DemoDC switch config svs conn connect switch config svs conn This example shows how to disconnect from a...

Страница 36: ...130 Cisco Nexus 5500 Series NX OS Layer 2 Interfaces Command Reference OL 27880 02 Chapter C Commands connect ...

Страница 37: ...131 Cisco Nexus 5500 Series NX OS Layer 2 Interfaces Command Reference OL 27880 02 D Commands This chapter describes the Cisco NX OS Ethernet and virtual Ethernet commands that begin with D ...

Страница 38: ...s added Command Modes Virtual Ethernet interface configuration Command History Usage Guidelines This command does not require a license Examples This example shows how to enable a virtual Ethernet interface switch configure terminal switch config interface vethernet 1 switch config if default shutdown switch config if Related Commands Release Modification 5 2 1 N1 1 This command was introduced Com...

Страница 39: ...This example shows how to set a delay of 30 000 microseconds on an interface switch config interface ethernet 1 1 switch config if delay 30000 switch config if 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 tens of microseconds Throughput delay in tens of microse...

Страница 40: ...n interfaces are used for 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 Examples This example shows how to add a description for an interface switch configure terminal switch config interface ethernet ...

Страница 41: ...scription interface 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 ...

Страница 42: ...s are used for The description appears in the output of the following commands such as show monitor session and show running config monitor Examples This example shows how to add a description for a SPAN session switch configure terminal switch config monitor session 9 type local switch config monitor description A Local SPAN session switch config monitor This example shows how to add a descriptio...

Страница 43: ...0 02 Chapter D Commands description SPAN ERSPAN show monitor session Displays SPAN session configuration information show running config monitor Displays the running configuration information of a SPAN session source SPAN session Configures a source SPAN port Command Description ...

Страница 44: ...ion This command does not require a license Examples This example shows how to configure an ERSPAN destination IP address switch configure terminal switch config monitor session 1 type erspan source switch config erspan src destination ip 192 0 3 1 switch config erspan src Related Commands ip Configures the remote IP address ip_address IPv4 address in the format A B C D Release Modification 5 2 1 ...

Страница 45: ...group A destination port receives copies of sent and received traffic for all monitored source ports If a destination port is oversubscribed it can become congested This congestion can affect traffic forwarding on one or more of the source ports Examples This example shows how to configure an Ethernet interface SPAN destination port and activate the SPAN session switch configure terminal switch co...

Страница 46: ...thernet 1 5 switch config monitor no shutdown switch config monitor Related Commands Command Description source SPAN session Configures a source SPAN port monitor session Creates a new SPAN session configuration show monitor session Displays SPAN session configuration information show running config monitor Displays the running configuration information of a SPAN session ...

Страница 47: ...0 Mbps speed the port is automatically configured to use half duplex mode but you can specify full duplex mode instead Gigabit Ethernet is full duplex only You cannot change the duplex mode on Gigabit Ethernet ports or on a 10 100 1000 Mbps port that is set for Gigabit Ethernet See the Cisco Nexus 6000 Series NX OS Layer 2 Switching Configuration Guide Release 6 0 for more information on interface...

Страница 48: ...00 Series NX OS Layer 2 Interfaces Command Reference OL 27880 02 Chapter D Commands duplex Related Commands Command Description show interface Displays information about the interface which includes the duplex parameter ...

Страница 49: ... History Usage Guidelines This command does not require a license Examples This example shows how to configure the DVS name in the vCenter Server switch configure terminal switch config svs connection SVSConn switch config svs conn dvs name vcWest switch config svs conn Related Commands name DVS name The name can be a maximum of 80 alphanumeric characters Release Modification 5 2 1 N1 1 This comma...

Страница 50: ...144 Cisco Nexus 5500 Series NX OS Layer 2 Interfaces Command Reference OL 27880 02 Chapter D Commands dvs name ...

Страница 51: ...145 Cisco Nexus 5500 Series NX OS Layer 2 Interfaces Command Reference OL 27880 02 E Commands This chapter describes the Cisco NX OS Ethernet and virtual Ethernet commands that begin with E ...

Страница 52: ... protocol for interconnecting multiple switches and routers and for defining VLAN topologies Use the encapsulation dot1q command in subinterface range configuration mode to apply a VLAN ID to the subinterface Note This command is not applicable to loopback interfaces This command does not require a license Examples This example shows how to enable dot1Q encapsulation on a subinterface for VLAN 30 ...

Страница 53: ...or disable detection is enabled and a cause is detected on an interface the interface is placed in an err disabled state which is an operational state that is similar to the link down state Examples This example shows how to enable the err disabled detection on linkstate flapping switch config errdisable detect cause link flap switch config Related Commands all Enables error detection on all cases...

Страница 54: ... Guidelines When error disable recovery is enabled the interface automatically recovers from the err disabled state and the device retries bringing the interface up Examples This example shows how to enable error disable recovery from linkstate flapping switch config errdisable recovery cause link flap switch config all Enables a timer to recover from all causes bpduguard Enables a timer to recove...

Страница 55: ...nd Reference OL 27880 02 Chapter E Commands errdisable recovery cause Related Commands Command Description errdisable detect cause Enables the error disabled err disabled detection show interface status err disabled Displays the interface error disabled state ...

Страница 56: ... mode Command History 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 The device waits 300 seconds to retry Examples This example shows how to enable error disable recovery time interval to 100 seconds switch config errdisable recovery interval 100 switch config Related Command...

Страница 57: ...re the flow ID for an ERSPAN session switch configure terminal switch config monitor session 1 type erspan source switch config erspan src erspan id 100 switch config erspan src Related Commands flow_id ERSPAN flow ID The range is from 1 to 1023 Release Modification 5 2 1 N1 1 This command was introduced Command Description ip dscp Configures the DSCP value of the packets in the ERSPAN traffic ip ...

Страница 58: ...and History Usage Guidelines This command does not require a license Examples This example shows how to configure the extension key for a vCenter Server switch configure terminal switch config svs connection SVSConn switch config svs conn extension key vckey switch config svs conn Related Commands extn ID Extension ID The ID can be a maximum of 80 alphanumeric characters Release Modification 5 2 1...

Страница 59: ...153 Cisco Nexus 5500 Series NX OS Layer 2 Interfaces Command Reference OL 27880 02 F Commands This chapter describes the Cisco NX OS Ethernet and virtual Ethernet commands that begin with F ...

Страница 60: ...has no arguments or keywords Command Default Disabled Command Modes Global configuration mode Command History Examples This example shows how to enable Flex Links on the switch switch config feature flexlink Related Commands Release Modification 5 2 1 N1 1 This command was introduced Command Description show feature Displays the status of features enabled or disabled on the switch switchport backu...

Страница 61: ...ommand has no arguments or keywords Command Default VLAN interfaces are disabled Command Modes Global configuration mode Command History Usage Guidelines You must use the feature interface vlan command before you can create VLAN interfaces Examples This example shows how to enable the interface VLAN feature on the switch switch config feature interface vlan Related Commands Release Modification 5 ...

Страница 62: ...bled Command Modes Global configuration mode Command History Usage Guidelines You must remove all the LACP configuration parameters from all EtherChannels on the switch before you can disable LACP Even after you enable LACP globally you do not have to run LACP on all EtherChannels on the switch You enable LACP on each channel mode using the channel group mode command Examples This example shows ho...

Страница 63: ...e qos class fcoe class map type qos match all c1 match cos 1 Output truncated switch The Cisco Discovery Protocol CDP is a device discovery protocol that runs over Layer 2 the data link layer on all Cisco manufactured devices routers bridges access servers and switches CDP allows network management applications to automatically discover and learn about other Cisco devices connected to the network ...

Страница 64: ...e MAC addresses of the switches that are allowed to access the port You can enable port security on a virtual port channel vPC port only if the following occurs Port security is enabled on both the vPC peers Port security is enabled on the vPC port on both the vPC peers This command does not require a license Examples This example shows how to enable port security on the switch switch configure te...

Страница 65: ...s Command Reference OL 27880 02 Chapter F Commands feature port security show port security Displays the port security configuration information switchport port security Configures the switchport parameters to establish port security Command Description ...

Страница 66: ... cannot disable the private VLANs if there are operational ports on the switch that are in private VLAN mode Note A private VLAN isolated port on a Cisco Nexus device running the current release of Cisco NX OS does not support IEEE 802 1Q encapsulation and cannot be used as a trunk port Examples This example shows how to enable private VLAN functionality on the switch switch config feature private...

Страница 67: ...use the feature udld command To disable UDLD on the switch use the no form of this command feature udld no feature udld Syntax Description This command has no arguments or keywords Command Default UDLD is disabled Command Modes Global configuration mode Command History Examples This example shows how to enable UDLD on the switch switch config feature udld Related Commands Release Modification 5 2 ...

Страница 68: ... install feature set virtualization and feature set virtualization commands respectively If you attempt to disable the VM FEX feature with virtual Ethernet interface or port profile configurations enabled the switch returns an error message This command requires an Enhanced Layer 2 license Examples This example shows how to enable VM FEX on the switch switch configure terminal switch config featur...

Страница 69: ...alls the virtualization feature set on the switch port profile Configures a port profile show feature Displays the features that are enabled or disabled on the switch show feature set Displays the status of the virtualization feature set switchport mode Configures the interface as a nontrunking nontagged single VLAN Ethernet interface Command Description ...

Страница 70: ...his command feature vtp no feature vtp Syntax Description This command has no arguments or keywords Command Default Disabled Command Modes Global configuration mode Command History Examples This example shows how to enable VTP on the switch switch config feature vtp Related Commands Release Modification 5 2 1 N1 1 This command was introduced Command Description show vtp status Displays the VTP inf...

Страница 71: ...irtualization feature set on the switch by using the install feature set virtualization command You cannot view or access any virtualization commands until you enable a Cisco virtual machine on the switch Note You must install the Cisco virtual machine feature set before you enable virtualization on the switch Before you disable this feature on the switch do the following Remove all virtual Ethern...

Страница 72: ... feature on the switch switch configure terminal switch config no feature set virtualization switch config Related Commands Command Description feature vmfex Enables or disables Cisco Virtual Machine Fabric Extender VM FEX on the switch install feature set virtualization Installs the virtualization feature set on the switch show feature set Displays the status of the virtualization feature set ...

Страница 73: ...167 Cisco Nexus 5500 Series NX OS Layer 2 Interfaces Command Reference OL 27880 02 H Commands This chapter describes the Cisco NX OS Ethernet and virtual Ethernet commands that begin with H ...

Страница 74: ...e 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 This example shows how to set the hardware hashing for multicast traffic on an EtherChannel interface switch config interface ...

Страница 75: ...o arguments or keywords Command Default Disabled Command Modes Virtual Ethernet interface configuration mode Command History Usage Guidelines This command does not require a license Examples This example shows how to enable high performance on the host switch configure terminal switch config interface vethernet 1 switch config if high performance host netio switch config if Related Commands Releas...

Страница 76: ...170 Cisco Nexus 5500 Series NX OS Layer 2 Interfaces Command Reference OL 27880 02 Chapter H Commands high performance host netio virtual Ethernet interface ...

Страница 77: ...171 Cisco Nexus 5500 Series NX OS Layer 2 Interfaces Command Reference OL 27880 02 I Commands This chapter describes the Cisco NX OS Ethernet and virtual Ethernet commands that begin with I ...

Страница 78: ...install a certificate to the boot flash memory switch configure terminal switch config svs connection SVSConn switch config svs conn install certificate bootflash switch config svs conn This example shows how to remove a certificate switch configure terminal switch config svs connection SVSConn switch config svs conn no install certificate switch config svs conn Related Commands bootflash server S...

Страница 79: ...istory Usage Guidelines Note The Cisco virtual machine feature is supported only on the Cisco Nexus 5500 Series switches This command requires an Enhanced Layer 2 license Examples This example shows how to install the Cisco virtual machine feature set on the switch switch configure terminal switch config install feature set virtualization switch config Related Commands Release Modification 5 2 1 N...

Страница 80: ...ation mode Command History Usage Guidelines The VLAN identifier is entered as a single value or a range The mapping is incremental not absolute When you enter a range of VLANs this range is added to or removed from the existing instances Any unmapped VLAN is mapped to the CIST instance Caution When you change the VLAN to MSTI mapping the system restarts MST Examples This example shows how to map a...

Страница 81: ...faces Command Reference OL 27880 02 Chapter I Commands instance vlan Related Commands Command Description show spanning tree mst configuration Displays information about the MST protocol spanning tree mst configuration Enters MST configuration mode ...

Страница 82: ...thernet 101 1 1 switch config if Related Commands chassis_ID Optional Specifies the Fabric Extender chassis ID The chassis ID is from 100 to 199 Note This argument is not optional when addressing the host interfaces of a Cisco Nexus 2000 Series Fabric Extender slot Slot from 1 to 4 The following list defines the slots available Slot 1 is the fixed ports Slot 2 to 4 are hot swappable LEMs QSFP modu...

Страница 83: ...rence OL 27880 02 Chapter I Commands interface ethernet show interface ethernet Displays various parameters of an Ethernet IEEE 802 3 interface speed Sets the speed on the interface vtp interface Enables VLAN Trunking Protocol VTP on an interface Command Description ...

Страница 84: ...3 specific configurations on this interface are deleted Examples This example shows how to enter configuration mode for a Layer 3 Ethernet interface 1 5 switch config interface ethernet 1 5 switch config if no switchport switch config if ip address 10 1 1 1 24 switch config if chassis_ID Optional Specifies the Fabric Extender chassis ID The chassis ID is from 100 to 199 Note This argument is not o...

Страница 85: ...onvert a Layer 3 interface to a Layer 2 interface switch config interface ethernet 1 5 switch config if no switchport switch config if ip address 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 ...

Страница 86: ...lowing parameters are available description Provides a description of the purpose of the interface ip Configures IP features such as the IP address for the interface Address Resolution Protocol ARP attributes load balancing Unicast Reverse Path Forwarding RPF or IP Source Guard logging Configure logging of events shutdown Shut down traffic on the interface This command does not require a license E...

Страница 87: ...se Modification 5 2 1 N1 1 This command was introduced Command Description show interface mgmt Displays information about the management interface cdp enable Enables the Cisco Discovery Protocol CDP on an interface description interface Adds a description to an interface configuration duplex Configures the duplex mode for an interface lldp interface Enables the reception or transmission of Link La...

Страница 88: ... address and then later remove it the MAC address is automatically assigned The MAC address of the EtherChannel is the address of the first operational port added to the channel group If this first added port is removed from the channel the MAC address comes from the next operational port added if there is one You must use the no switchport command in the interface configuration mode to configure ...

Страница 89: ...e switch config interface port channel 10 switch config if no switchport switch config if interface port channel 10 1 switch config subif ip address 192 0 2 2 24 switch config subif This example shows how to configure a Layer 3 EtherChannel subinterface with channel group number 20 1 in global configuration mode switch config interface port channel 20 1 switch config subif ip address 192 0 2 3 24 ...

Страница 90: ...erfaces on a Cisco Nexus 5548 switch Before you disable Adapter FEX on the switch make sure that you delete these interfaces After you delete a virtual Ethernet interface make sure that you save the running configuration of the switch to the startup configuration file Examples This example shows how to enter configuration mode for virtual Ethernet interface 10 switch configure terminal switch conf...

Страница 91: ...g if untagged cos 3 switch config if This example shows how to remove a virtual Ethernet interface switch configure terminal switch config no interface vethernet 2 switch config Related Commands Command Description bind Binds an interface to a virtual Ethernet interface feature vmfex enables VM FEX on the switch port profile Configures a port profile show interface ethernet Displays information ab...

Страница 92: ...rface is created the first time that you enter the interface vlan command for a particular VLAN The vlan id argument corresponds to the VLAN tag that is associated with the data frames on an IEEE 802 1Q encapsulated trunk or the VLAN ID that is configured for an access port This command does not require a license Examples This example shows how to create a VLAN interface for VLAN 50 switch config ...

Страница 93: ...p snooping Syntax Description This command has no arguments or keywords Command Default IGMP snooping is enabled Note If the global setting is disabled then all VLANs are treated as disabled whether they are enabled or not Command Modes EXEC mode Command History Examples This example shows how to enable IGMP snooping switch ip igmp snooping Related Commands Release Modification 5 2 1 N1 1 This com...

Страница 94: ...sts the valid values for parameter parameter Parameter to configure See the Usage Guidelines section for additional information Release Modification 5 2 1 N1 1 This command was introduced Table 1 IGMP Snooping Parameters Keyword and Argument Description explicit tracking Enables tracking IGMPv3 membership reports for each port on a per VLAN basis The default is enabled on all VLANs fast leave Enab...

Страница 95: ... config vlan ip igmp snooping static group 192 0 2 1 interface ethernet 1 10 switch config vlan ip igmp snooping static group 192 0 2 12 interface vethernet 4 1 switch config vlan Related Commands report suppression Limits the membership report traffic sent to multicast capable routers When you disable report suppression all IGMP reports are sent as is to multicast capable routers The default is e...

Страница 96: ...190 Cisco Nexus 5500 Series NX OS Layer 2 Interfaces Command Reference OL 27880 02 Chapter I Commands ip igmp snooping VLAN ...

Страница 97: ...191 Cisco Nexus 5500 Series NX OS Layer 2 Interfaces Command Reference OL 27880 02 L Commands This chapter describes the Cisco NX OS Ethernet and virtual Ethernet commands that begin with L ...

Страница 98: ...sable LACP graceful convergence on a port chanel that is in an administratively up state If you do so you will see the following error message ERROR Cannot set reset lacp graceful convergence for port channel10 that is admin up Note To avoid port suspension we recommend that you disable graceful convergence on LACP ports on a peer switch that is not running Cisco NX OS This command does not requir...

Страница 99: ... OS Layer 2 Interfaces Command Reference OL 27880 02 Chapter L Commands lacp graceful convergence Related Commands Command Description show lacp Displays LACP information show running config Displays the running system configuration ...

Страница 100: ... LACP uses the port priority in combination with the port number to form the port identifier The port priority is used with the port number to form the port identifier The port priority is used to decide which ports should be put into standby mode when there is a hardware limitation that prevents all compatible ports from aggregating Note When setting the priority note that a higher number means a...

Страница 101: ...he LACP rate fast feature on the LACP ports of a Cisco Nexus device or a Cisco Nexus 2000 Series Fabric Extender that is connected to a Cisco Nexus device The LACP rate fast feature is used to set the rate once every second at which the LACP control packets are sent to an LACP supported interface The normal rate at which LACP packets are sent is 30 seconds Examples This example shows how to config...

Страница 102: ...s NX OS Layer 2 Interfaces Command Reference OL 27880 02 Chapter L Commands lacp rate fast interface ethernet Enters Ethernet interface configuration mode show lacp Displays the LACP configuration information Command Description ...

Страница 103: ...rotocol data unit BPDU from the peer ports in a port channel This can cause some servers to fail to boot up as they require LACP to logically bring up the port This command does not require a license Examples This example shows how to enable LACP port suspension on a port channel switch configure terminal switch config interface port channel 100 switch config if shutdown switch config if lacp susp...

Страница 104: ...guration mode Command History Usage Guidelines Each device that runs LACP has an LACP system priority value You can configure a value between 1 and 65535 LACP uses the system priority with the MAC address to form the system ID and also during negotiation with other systems When setting the priority note that a higher number means a lower priority Examples This example shows how to set the LACP sys...

Страница 105: ...period is a time when traffic is stopped Caution When you enable the debounce timer link up and link down detections are delayed resulting in a loss of traffic during the debounce period This situation might affect the convergence of some protocols Examples This example shows how to enable the debounce timer and set the debounce time to 1000 milliseconds for an Ethernet interface switch configure ...

Страница 106: ... Command Reference OL 27880 02 Chapter 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 ...

Страница 107: ...ntervals on the following types of interfaces Ethernet interfaces Port channel 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 This command does not require a license Examples This example shows how to set the three sample intervals for the Ethernet...

Страница 108: ... Cisco Nexus 5500 Series NX OS Layer 2 Interfaces Command Reference OL 27880 02 Chapter L Commands load interval Related Commands Command Description show interface Displays information about the interface ...

Страница 109: ...1103 Cisco Nexus 5500 Series NX OS Layer 2 Interfaces Command Reference OL 27880 02 M Commands This chapter describes the Cisco NX OS Ethernet and virtual Ethernet commands that begin with M ...

Страница 110: ...ed When you use the no form of this command without the VLAN parameter only those VLANs that have not been specifically configured for the aging time reset to the default value Those VLANs with specifically modified aging times are not modified When you use this command and specify a VLAN the aging time for only the specified VLAN is modified When you use the no form of this command and specify a ...

Страница 111: ...eference OL 27880 02 Chapter M Commands mac address table aging time Related Commands Command Description show mac address table Displays information about the MAC address table show mac address table aging time Displays information about the MAC address aging time ...

Страница 112: ...Examples This example shows how to configure a log message notification when the threshold exceeds 45 percent restricting the update interval to once every 1024 seconds switch config mac address table notification threshold limit 45 interval 1024 Related Commands mac move Sends a notification message if the MAC address is moved threshold Sends a notification message if the MAC address table thresh...

Страница 113: ...ort if you enter the auto learn keyword mac address MAC address to add to the table Use the format EEEE EEEE EEEE vlan vlan id Specifies the VLAN to apply the static MAC address The VLAN ID range is from 1 to 4094 drop Drops all traffic that is received from and going to the configured MAC address in the specified VLAN interface Specifies the interface The type can be either Ethernet or EtherChann...

Страница 114: ...nds mac address table static Examples This example shows how to add a static entry to the MAC address table switch config mac address table static 0050 3e8d 6400 vlan 3 interface ethernet 1 4 Related Commands Command Description show mac address table Displays information about the MAC address table ...

Страница 115: ...e Switch profile configuration mode Command History Usage Guidelines You can use this command on a VLAN interface Examples This example shows how to configure a VLAN interface to allow in band management access switch configure terminal switch config interface vlan 5 switch config if management switch config if This example shows how to remove the in band management access to a VLAN interface swit...

Страница 116: ...mode Command History Usage Guidelines When you change the origin IP address in the default VDC it impacts all the sessions This command does not require a license Examples This example shows how to configure the ERSPAN origin IP address switch configure terminal switch config monitor erspan origin ip address 10 1 1 1 global switch config This example shows how to remove the ERSPAN IP address switc...

Страница 117: ...ssions The Cisco Nexus 5548 Switch supports four active SPAN sessions When you configure more than two SPAN sessions the first two sessions are active During startup the order of active sessions is reversed the last two sessions are active For example if you configured ten sessions 1 to 10 where 1 and 2 are active after a reboot sessions 9 and 10 will be active To enable deterministic behavior exp...

Страница 118: ...f no shutdown This example shows how to configure a typical SPAN destination trunk interface switch config interface Ethernet1 2 switch config if switchport switch config if switchport mode trunk switch config if switchport monitor switch config if switchport trunk allowed vlan 10 12 switch config if no shutdown This example shows how to create an ERSPAN session switch configure terminal switch co...

Страница 119: ...se Examples This example shows how to configure a spanning tree domain switch configure terminal switch config spanning tree pseudo information switch config pseudo mst 2 designated priority 8192 switch config pseudo mst 2 root priority 4096 switch config pseudo Related Commands instance id MST instance The range is from 0 to 4094 designated Optional Sets the designated bridge priority for the spa...

Страница 120: ...Interfaces Command Reference OL 27880 02 Chapter M Commands mst STP show spanning tree Displays the configuration information of the STP spanning tree pseudo information Configures spanning tree pseudo information parameters Command Description ...

Страница 121: ...can use this command on the following interfaces Ethernet interface Virtual Ethernet interface Before you use a virtual Ethernet interface you must enable the Cisco Virtual Machine Fabric Extender VM FEX on the switch by using the feature vmfex command This command does not require a license Examples This example shows how to configure an MVR VLAN group for an interface switch configure terminal s...

Страница 122: ...r M Commands mvr group Related Commands Command Description feature vmfex Enables VM FEX on the switch interface vethernet Configures a virtual Ethernet interface on the switch show mvr Displays information about MVRs show running config Displays the running system configuration information ...

Страница 123: ...erface Before you use a virtual Ethernet interface you must enable the Cisco Virtual Machine Fabric Extender VM FEX on the switch by using the feature vmfex command This command does not require a license Examples This example shows how to configure an MVR source port for an interface switch configure terminal switch config interface ethernet 1 5 switch config if mvr type source switch config if R...

Страница 124: ...1118 Cisco Nexus 5500 Series NX OS Layer 2 Interfaces Command Reference OL 27880 02 Chapter M Commands mvr type ...

Страница 125: ...ernet interface Before you use a virtual Ethernet interface you must enable the Cisco Virtual Machine Fabric Extender VM FEX on the switch by using the feature vmfex command This command does not require a license Examples This example shows how to configure an MVR VLAN for an interface switch configure terminal switch config interface ethernet 1 5 switch config if mvr vlan 1 switch config if Rela...

Страница 126: ...1120 Cisco Nexus 5500 Series NX OS Layer 2 Interfaces Command Reference OL 27880 02 Chapter M Commands mvr vlan ...

Страница 127: ...1121 Cisco Nexus 5500 Series NX OS Layer 2 Interfaces Command Reference OL 27880 02 N Commands This chapter describes the Cisco NX OS Ethernet and virtual Ethernet commands that begin with N ...

Страница 128: ...d History Usage Guidelines You cannot change the name for the default VLAN VLAN 1 or for the internally allocated VLANs Examples This example shows how to name VLAN 2 switch config vlan 2 switch config vlan name accounting Related Commands vlan name Name of the VLAN you can use up to 32 alphanumeric case sensitive characters The default name is VLANxxxx where xxxx represents four numeric digits in...

Страница 129: ...erent MST regions if the region names are different Caution Be careful when using the name command to set the name of an MST region If you make a mistake you can put the switch in a different region The configuration name is a case sensitive parameter Examples This example shows how to name a region switch config spanning tree mst configuration switch config mst name accounting Related Commands na...

Страница 130: ...a routed interface enter the no switchport command Examples This example shows how to enable an interface as a Layer 3 routed interface switch config interface ethernet 1 5 switch config if no switchport switch config if This example shows how to configure a Layer 3 interface as a Layer 2 interface switch config interface ethernet 1 5 switch config if switchport switch config if Related Commands R...

Страница 131: ...1125 Cisco Nexus 5500 Series NX OS Layer 2 Interfaces Command Reference OL 27880 02 Chapter N Commands no switchport ...

Страница 132: ...1126 Cisco Nexus 5500 Series NX OS Layer 2 Interfaces Command Reference OL 27880 02 Chapter N Commands no switchport ...

Страница 133: ...1127 Cisco Nexus 5500 Series NX OS Layer 2 Interfaces Command Reference OL 27880 02 P Commands This chapter describes the Cisco NX OS Ethernet and virtual Ethernet commands that begin with P ...

Страница 134: ...guration mode Command History Usage Guidelines This command does not require a license Examples This example shows how to configure packet VLAN pinning for an interface switch configure terminal switch config interface ethernet 1 5 switch config if pinning packet vlan 5 switch config if Related Commands control vlan Configures pinning for control VLANs packet vlan Configures pinning for packet VLA...

Страница 135: ...nd History Usage Guidelines This command does not require a license Examples This example shows how to pin a virtual Ethernet interface to subgroup 3 switch configure terminal switch config interface vethernet 1 switch config if pinning id 3 switch config if Related Commands sub group id ID number of the subgroup The range is from 0 to 31 Release Modification 5 2 1 N1 1 This command was introduced...

Страница 136: ...n module that is installed in a Cisco Nexus 5548P switch You must configure Ethernet ports and FC ports in a specified order FC ports must be configured from the last port of the module Ethernet ports must be configured from the first port of the module If the order is not followed the following errors are displayed ERROR Ethernet range starts from first port of the module ERROR FC range should en...

Страница 137: ...itch config slot port 32 type fc switch config slot copy running config startup config switch config slot reload This example shows how to configure 20 ports as Ethernet ports and 12 as FC ports switch configure terminal switch config slot 1 switch config slot port 21 32 type fc switch config slot copy running config startup config switch config slot reload Related Commands Command Description slo...

Страница 138: ...distribution on the destination IP address destination mac Loads distribution on the destination MAC address destination port Loads distribution on the destination port source destination ip Loads distribution on the source and destination IP address source destination mac Loads distribution on the source and destination MAC address source destination port Loads distribution on the source and dest...

Страница 139: ...d distribution results The valid load balancing hash polynomial values are as follows CRC8a Hash polynomial CRC8a CRC8b Hash polynomial CRC8b CRC8c Hash polynomial CRC8c CRC8d Hash polynomial CRC8d CRC8e Hash polynomial CRC8e CRC8f Hash polynomial CRC8f CRC8g Hash polynomial CRC8g CRC8h Hash polynomial CRC8h Note The hash polynomial that you choose affects both the multicast and unicast traffic eg...

Страница 140: ...enter the no vlan command for the primary VLAN all private VLAN associations with that VLAN are lost If you enter the no vlan command for a secondary VLAN the private VLAN associations with that VLAN are suspended and are reenabled when you recreate the specified VLAN and configure it as the previous secondary VLAN You cannot configure VLAN1 or the internally allocated VLANs as private VLANs A pri...

Страница 141: ...is enabled on a switch you can configure private VLANs only on a device configured in Transparent mode Examples This example shows how to assign VLAN 5 to a private VLAN as the primary VLAN switch configure terminal switch config vlan 5 switch config vlan private vlan primary This example shows how to assign VLAN 100 to a private VLAN as a community VLAN switch configure terminal switch config vla...

Страница 142: ...LAN to private VLAN mode the original associations are reinstated If you enter the no vlan command for the primary VLAN all private VLAN associations with that VLAN are lost However if you enter the no vlan command for a secondary VLAN the private VLAN associations with that VLAN are suspended and return when you recreate the specified VLAN and configure it as the previous secondary VLAN The secon...

Страница 143: ... vlan 19 switch config vlan private vlan isolated switch config vlan 20 switch config vlan private vlan community switch config vlan 21 switch config vlan private vlan community switch config vlan 14 switch config vlan private vlan primary switch config vlan private vlan association 19 21 This example shows how to remove isolated VLAN 18 and community VLAN 20 from the private VLAN association swit...

Страница 144: ...e associated primary VLAN when you exit the MST configuration mode the device displays a warning message that lists the secondary VLANs that are not mapped to the same instance as the associated VLAN The private vlan synchronize command automatically maps all secondary VLANs to the same instance as the associated primary VLANs Examples This example shows how to initialize private VLAN synchronizat...

Страница 145: ...s to talk to a vCenter server You must first create an SVS connection before you enable the VMware VI SDK This command does not require a license Examples This example shows how to enable the VMware VI SDK switch configure terminal switch config svs connection SVSConn switch config svs conn protocol vmware vim switch config svs conn This example shows how to disable the VMware VI SDK switch config...

Страница 146: ...odule N2K C2232P Cisco Nexus 2000 Series Fabric Extender 32x10G Module N2K C2232TM Cisco Nexus 2000 Series Fabric Extender 32x10G Module N2K C2248T Cisco Nexus 2000 Series Fabric Extender 48x1G 4x10G Module N2K N2224TP Cisco Nexus 2000 Series Fabric Extender 24x1G 2x10G SFP Module N55 M16FP Cisco 16 port Port Fiber Channel Expansion Module 16 x SFP N55 M16P Cisco 16x10 Gigabit Ethernet Expansion M...

Страница 147: ...rofile Once the module is inserted and interfaces are created the preprovisioning module passes on the configuration to the respective applications before the interfaces come up Mutual exclusion is a mechanism where configuration outside the switch profile is not allowed in the switch profile and vice versa This requirement is to ensure that configuration in the switch profile is exactly the same ...

Страница 148: ...sis slot switch config slot 2 switch config slot no provision model switch config slot Related Commands Command Description show module Displays module information show provision Displays provisioned modules show switch profile Displays switch profile information show running config exclude provision Displays the running configuration excluding the preprovisioned features slot Enables a slot for p...

Страница 149: ...1143 Cisco Nexus 5500 Series NX OS Layer 2 Interfaces Command Reference OL 27880 02 R Commands This chapter describes the Cisco NX OS Ethernet and virtual Ethernet commands that begin with R ...

Страница 150: ...re a license Examples This example shows how to set the maximum input packet rate to 3 for an interface and enable the logging of syslog messages switch configure terminal switch config interface ethernet 1 5 switch config if rate limit cpu direction input pps 3 action log switch config if Related Commands both Sets the maximum input and output packet rate input Sets the maximum input packet rate ...

Страница 151: ...nfigure terminal switch config svs connection SVSConn switch config svs conn remote hostname vcMain switch config svs conn This example shows how to remove the hostname configuration for a remote machine switch configure terminal switch config svs connection SVSConn switch config svs conn no remote hostname switch config svs conn host name Name of the remote host The name can be a maximum of 128 c...

Страница 152: ...ds Command Description remote ip address Configures the IPv4 address for a remote machine remote port Configures the TCP port for a remote machine remote vrf Configures the virtual routing and forwarding VRF instance for a remote machine show svs connections Displays SVS connection information svs connection Enables an SVS connection ...

Страница 153: ...switch configure terminal switch config svs connection SVSConn switch config svs conn remote ip address 192 0 2 12 switch config svs conn This example shows how to remove the IPv4 address configuration for a remote machine switch configure terminal switch config svs connection SVSConn switch config svs conn no remote ip address switch config svs conn ipv4 addr IPv4 address of the remote machine Th...

Страница 154: ...mmands Command Description remote hostname Configures the hostname for a remote machine remote port Configures the TCP port for a remote machine remote vrf Configures the virtual routing and forwarding VRF instance for a remote machine show svs connections Displays SVS connection information svs connection Enables an SVS connection ...

Страница 155: ...ch config svs connection SVSConn switch config svs conn remote port 21 switch config svs conn This example shows how to remove the TCP port configuration of a remote machine switch configure terminal switch config svs connection SVSConn switch config svs conn no remote port switch config svs conn Related Commands port num TCP port of the remote host The port number is from 1 to 65355 Release Modif...

Страница 156: ...VRF of a remote machine switch configure terminal switch config svs connection SVSConn switch config svs conn remote vrf default switch config svs conn Related Commands vrf name VRF name The name is case sensitive and can be a maximum of 32 characters default Specifies the default VRF management Specifies the management VRF Release Modification 5 2 1 N1 1 This command was introduced Command Descri...

Страница 157: ...ng and name are considered to be in different MST regions if the configuration revision numbers are different Caution Be careful when using the revision command to set the revision number of the MST region configuration because a mistake can put the switch in a different region Examples This example shows how to set the revision number of the MST region configuration switch config spanning tree ms...

Страница 158: ...1152 Cisco Nexus 5500 Series NX OS Layer 2 Interfaces Command Reference OL 27880 02 Chapter R Commands revision ...

Страница 159: ...1153 Cisco Nexus 5500 Series NX OS Layer 2 Interfaces Command Reference OL 27880 02 S Commands This chapter describes the Cisco NX OS Ethernet and virtual Ethernet commands that begin with S ...

Страница 160: ...idelines This command does not require a license Examples This example shows how to shut down an ERSPAN session switch configure terminal switch config monitor session 1 type erspan source switch config erspan src shut switch config erspan src This example shows how to enable an ERSPAN session switch configure terminal switch config monitor session 1 type erspan source switch config erspan src no ...

Страница 161: ...n mode Command History Usage Guidelines You can use this command on the following interfaces Layer 2 interface Ethernet interface EtherChannel interface subinterface Layer 3 interface Note Use the no switchport command to configure an interface as a Layer 3 interface Layer 3 subinterface Management interface Virtual Ethernet interface Examples This example shows how to shut down or disable a Layer...

Страница 162: ...tch config if shutdown switch config if Related Commands Command Description no switchport Converts an interface to a Layer 3 routed interface show interface ethernet Displays the Ethernet interface configuration information show interface port channel Displays information on traffic about the specified EtherChannel interface show interface vethernet Displays the virtual Ethernet interface configu...

Страница 163: ...ic for the other VLANs allowed on that port However the interface associations for the specified VLAN remain and when you reenable or recreate that specified VLAN the switch automatically reinstates all the original ports to that VLAN To find out if a VLAN has been shut down internally check the Status field in the show vlan command output If a VLAN is shut down internally one of these values appe...

Страница 164: ...158 Cisco Nexus 5500 Series NX OS Layer 2 Interfaces Command Reference OL 27880 02 Chapter S Commands shutdown VLAN configuration Related Commands Command Description show vlan Displays VLAN information ...

Страница 165: ...r interfaces Ethernet Fibre Channel on modules before the modules are inserted in the switch chassis Examples This example shows how to enable a chassis slot for preprovisioning of a module switch config slot 2 switch config slot This example shows how to configure a switch profile to enable a chassis slot for preprovisioning of a module switch config sync Enter configuration commands one per line...

Страница 166: ...mands slot Related Commands Command Description port Configures ports as Ethernet native Fibre Channel or Fibre Channel over Ethernet FCoE ports provision Preprovisions a module in a slot show running config exclude provision Displays the running configuration excluding the preprovisioned features ...

Страница 167: ... or keywords Command Default None Command Modes Global configuration mode Command History Usage Guidelines The snmp server enable traps command enables both traps and informs depending on the configured notification host receivers Examples This example shows how to enable SNMP notifications on a VTP domain switch config snmp server enable traps vtp switch config This example shows how to disable a...

Страница 168: ...SPAN port The slot number is from 1 to 255 The QSFP module number is from 1 to 4 The port number is from 1 to 128 Note The QSFP module number applies only to the QSFP Generic Expansion Module GEM port channel channel num Specifies the EtherChannel interface to use as the source SPAN port The EtherChannel number is from 1 to 4096 vethernet veth num Specifies the virtual Ethernet interface to use as...

Страница 169: ...ws how to configure an Ethernet SPAN source port switch configure terminal switch config monitor session 9 type local switch config monitor description A Local SPAN session switch config monitor source interface ethernet 1 1 switch config monitor This example shows how to configure a port channel SPAN source switch configure terminal switch config monitor session 2 switch config monitor source int...

Страница 170: ...dging loops in the network Note Bridge Assurance is supported only by Rapid per VLAN Spanning Tree Plus Rapid PVST and Multiple Spanning Tree MST Legacy 802 1D spanning tree does not support Bridge Assurance Bridge Assurance is enabled by default and can only be disabled globally Bridge Assurance is enabled globally by default but is disabled on an interface by default You can enable Bridge Assura...

Страница 171: ...Chapter S Commands spanning tree bridge assurance Related Commands Command Description show spanning tree bridge Displays the status and configuration of the local Spanning Tree Protocol STP bridge spanning tree port type network Configures an interface as a network spanning tree port ...

Страница 172: ...rmal spanning tree port type and moves through the normal spanning tree transitions Caution Be careful when you enter the spanning tree bpdufilter enable command on specified interfaces Explicitly configuring BPDU Filtering on a port this is not connected to a host can cause a bridging loop because the port will ignore any BPDU that it receives and the port moves to the STP forwarding state Use th...

Страница 173: ...1167 Cisco Nexus 5500 Series NX OS Layer 2 Interfaces Command Reference OL 27880 02 Chapter S Commands spanning tree bpdufilter ...

Страница 174: ...use a data packet loop and disrupt the switch and network operation When you enable this BPDU Guard command globally the command applies only to spanning tree edge ports See the spanning tree port type edge bpdufilter default command for more information on the global command for BPDU Guard However when you enable this feature on an interface it applies to that interface regardless of the spanning...

Страница 175: ...0 02 Chapter S Commands spanning tree bpduguard Examples This example shows how to enable BPDU Guard on this interface switch config if spanning tree bpduguard enable Related Commands Command Description show spanning tree summary Displays information about the spanning tree state ...

Страница 176: ... method command for information on setting the path cost calculation method for Rapid per VLAN Spanning Tree Plus Rapid PVST When you configure the value higher values will indicate higher costs vlan vlan id Optional Lists the VLANs on this trunk interface for which you want to assign the path cost You do not use this parameter on access ports The range is from 1 to 4094 value Value of the port co...

Страница 177: ...t is the aggregation of all the configured port costs assigned to that channel Note Use this command to set the port cost for Rapid PVST Use the spanning tree mst cost command to set the port cost for MST Examples This example shows how to access an interface and set a path cost value of 250 for the spanning tree VLAN that is associated with that interface switch config interface ethernet 1 4 swit...

Страница 178: ...n num Syntax Description Command Default None Command Modes Global configuration mode Command History Usage Guidelines This command does not require a license Examples This example shows how to configure a spanning tree domain switch configure terminal switch config spanning tree domain 1 switch config Related Commands domain num STP domain number The range is from 1 to 1023 Release Modification 5...

Страница 179: ...and Modes Interface configuration mode Command History Usage Guidelines You cannot enable Loop Guard if Root Guard is enabled although the switch accepts the command to enable Loop Guard on spanning tree edge ports Examples This example shows how to enable Root Guard switch config if spanning tree guard root Related Commands loop Enables Loop Guard on the interface none Sets the guard mode to none...

Страница 180: ...int to point links between two bridges By default the switch derives the link type of a port from the duplex mode A full duplex port is considered as a point to point link while a half duplex configuration is assumed to be on a shared link Note On a Cisco Nexus 5000 Series switch port duplex is not configurable Examples This example shows how to configure the port as a shared link switch config if...

Страница 181: ...ory Usage Guidelines Loop Guard provides additional security in the bridge network Loop Guard prevents alternate or root ports from becoming the designated port because of a failure that could lead to a unidirectional link Loop Guard operates only on ports that are considered point to point links by the spanning tree and it does not run on spanning tree edge ports Entering the spanning tree guard ...

Страница 182: ... Usage Guidelines You cannot simultaneously run MST and Rapid PVST on the switch Caution Be careful when using the spanning tree mode command to switch between Rapid PVST and MST modes When you enter the command all STP instances are stopped for the previous mode and are restarted in the new mode Using this command may cause the user traffic to be disrupted Examples This example shows how to switc...

Страница 183: ...lan command Region name See the name MST configuration command Configuration revision number See the revision command The abort and exit commands allow you to exit MST configuration mode The difference between the two commands depends on whether you want to save your changes or not The exit command commits all the changes before leaving MST configuration mode The abort command leaves MST configura...

Страница 184: ...ws how to enter MST configuration mode switch config spanning tree mst configuration switch config mst This example shows how to reset the MST configuration name instance mapping and revision number to the default settings switch config no spanning tree mst configuration Related Commands Command Description instance vlan Maps a VLAN or a set of VLANs to an MST instance name MST configuration Sets ...

Страница 185: ...mand Modes Interface configuration mode Command History Usage Guidelines The port cost depends on the port speed the faster interface speeds indicate smaller costs MST always uses long path costs Higher cost values indicate higher costs When entering the cost do not include a comma in the entry for example enter 1000 not 1 000 The EtherChannel bundle is considered as a single port The port cost is...

Страница 186: ... 5500 Series NX OS Layer 2 Interfaces Command Reference OL 27880 02 Chapter S Commands spanning tree mst cost Related Commands Command Description show spanning tree mst Displays the information about the MST protocol ...

Страница 187: ... forward time seconds no spanning tree mst forward time Syntax Description Command Default 15 seconds Command Modes Global configuration mode Command History Examples This example shows how to set the forward delay timer switch config spanning tree mst forward time 20 Related Commands seconds Number of seconds to set the forward delay timer for all the instances on the switch The range is from 4 t...

Страница 188: ...tax Description Command Default 2 seconds Command Modes Global configuration mode Command History Usage Guidelines If you do not specify the hello time value the value is calculated from the network diameter Examples This example shows how to set the hello time delay timer switch config spanning tree mst hello time 3 Related Commands seconds Number of seconds to set the hello time delay timer for ...

Страница 189: ...e mst max age Syntax Description Command Default 20 seconds Command Modes Global configuration mode Command History Usage Guidelines This parameter is used only by Instance 0 or the IST Examples This example shows how to set the max age timer switch config spanning tree mst max age 40 Related Commands seconds Number of seconds to set the max age timer for all the instances on the switch The range ...

Страница 190: ...is command spanning tree mst max hops hop count no spanning tree mst max hops Syntax Description Command Default 20 hops Command Modes Global configuration mode Command History Examples This example shows how to set the number of possible hops switch config spanning tree mst max hops 25 Related Commands hop count Number of possible hops in the region before a BPDU is discarded The range is from 1 ...

Страница 191: ... priority value is 128 Command Modes Interface configuration mode Command History Usage Guidelines Higher port priority priority values indicate smaller priorities The priority values are 0 32 64 96 128 160 192 and 224 All other values are rejected Examples This example shows how to set the interface priority switch config if spanning tree mst 0 port priority 64 Related Commands instance id Instan...

Страница 192: ...rd no spanning tree mst pre standard Syntax Description This command has no arguments or keywords Command Default None Command Modes Interface configuration mode Command History Usage Guidelines This command does not require a license Examples This example shows how to force a prestandard MST BPDU transmission on port switch configure terminal switch config interface ethernet 1 5 switch config if ...

Страница 193: ...f 4096 only When you set the priority valid values are 0 4096 8192 12288 16384 20480 24576 28672 32768 36864 40960 45056 49152 53248 57344 and 61440 You can set the priority value argument to 0 to make the switch root You can enter the instance id argument as a single instance or a range of instances for example 0 3 5 7 9 Examples This example shows how to set the bridge priority switch config spa...

Страница 194: ...t first specify the diameter dia keyword and argument before you can specify the hello time hello time keyword and argument Examples This example shows how to designate the primary root switch config spanning tree mst 0 root primary This example shows how to set the priority and timer values for the bridge switch config spanning tree mst 0 root primary diameter 7 hello time 2 instance id Instance ...

Страница 195: ... 5500 Series NX OS Layer 2 Interfaces Command Reference OL 27880 02 Chapter S Commands spanning tree mst root Related Commands Command Description show spanning tree mst Displays the information about the MST protocol ...

Страница 196: ...mmand to change this setting globally Command Modes Interface configuration mode Command History Usage Guidelines MST interoperates with Rapid PVST with no need for user configuration The PVST simulation feature enables this seamless interoperability However you may want to control the connection between MST and Rapid PVST to protect against accidentally connecting an MST enabled port to a Rapid P...

Страница 197: ... Examples This example shows how to prevent specified ports from automatically interoperating with a connected device running Rapid PVST switch config if spanning tree mst simulate pvst disable Related Commands Command Description spanning tree mst simulate pvst global Enables global seamless interoperation between MST and Rapid PVST ...

Страница 198: ... The PVST simulation feature enables this seamless interoperability However you may want to control the connection between MST and Rapid PVST to protect against accidentally connecting an MST enabled port to a Rapid PVST enabled port When you use the no spanning tree mst simulate pvst global command the switch running in MST mode moves all interfaces that receive a Rapid PVST SSTP bridge protocol ...

Страница 199: ...Examples This example shows how to prevent all ports on the switch from automatically interoperating with a connected device running Rapid PVST switch config no spanning tree mst simulate pvst global Related Commands Command Description spanning tree mst simulate pvst Enables seamless interoperation between MST and Rapid PVST by the interface ...

Страница 200: ... 2 through 2 00 000 000 The short path cost calculation method 16 bits yields values in the range of 1 through 65535 Note This command applies only to the Rapid per VLAN Spanning Tree Plus Rapid PVST spanning tree mode which is the default mode When you are using Multiple Spanning Tree MST spanning tree mode the switch uses only the long method for calculating path cost this is not user configurab...

Страница 201: ...s are 0 32 64 96 128 160 192 and 224 All other values are rejected Note Use this command to configure the port priority for Rapid per VLAN Spanning Tree Plus Rapid PVST spanning tree mode which is the default STP mode To configure the port priority for Multiple Spanning Tree MST spanning tree mode use the spacing tree mst port priority command Examples This example shows how to increase the probab...

Страница 202: ...nk mode as a spanning tree edge port Caution You should use this command only with interfaces that connect to end stations otherwise an accidental topology loop could cause a data packet loop and disrupt the switch and network operation When a linkup occurs spanning tree edge ports are moved directly to the spanning tree forwarding state without waiting for the standard forward time delay Note Thi...

Страница 203: ...anning tree edge port type setting use the no spanning tree port type command The default spanning tree port type is normal Examples This example shows how to configure an interface connected to a host as an edge port which automatically transitions that interface to the forwarding state on a linkup switch config if spanning tree port type edge Related Commands Command Description show spanning tr...

Страница 204: ... Use this command to enable BPDU Filtering globally on all spanning tree edge ports BPDU Filtering prevents a port from sending or receiving any BPDUs Caution Be cautious when using this command incorrect usage can cause bridging loops You can override the global effects of this spanning tree port type edge bpdufilter default command by configuring BPDU Filtering at the interface level See the spa...

Страница 205: ...ring globally on all spanning tree edge operational ports by default switch config spanning tree port type edge bpdufilter default Related Commands Command Description show spanning tree summary Displays the information about the spanning tree configuration spanning tree bpdufilter Enables BPDU Filtering on the interface spanning tree port type edge Configures an interface as a spanning tree edge ...

Страница 206: ...mode Command History Usage Guidelines To enable BPDU Guard by default you must do the following Configure the interface as spanning tree edge ports by entering the spanning tree port type edge or the spanning tree port type edge default command Enable BPDU Guard Use this command to enable BPDU Guard globally on all spanning tree edge ports BPDU Guard disables a port if it receives a BPDU Global BP...

Страница 207: ...ing tree port type edge bpduguard default Related Commands Command Description show spanning tree summary Displays the information about the spanning tree configuration spanning tree bpduguard Enables BPDU guard on the interface spanning tree port type edge Configures an interface as a spanning tree edge port ...

Страница 208: ...terfaces that connect to end stations otherwise an accidental topology loop could cause a data packet loop and disrupt the switch and network operation When a linkup occurs an interface configured as an edge port automatically moves the interface directly to the spanning tree forwarding state without waiting for the standard forward time delay This transition was previously configured as the Cisco...

Страница 209: ... OL 27880 02 Chapter S Commands spanning tree port type edge default Related Commands Command Description show spanning tree summary Displays information about the spanning tree configuration spanning tree port type edge Configures an interface as a spanning tree edge port ...

Страница 210: ... Usage Guidelines Use this command to configure an interface that connects to a switch as a spanning tree network port Bridge Assurance runs only on Spanning Tree Protocol STP network ports Note If you mistakenly configure ports connected to hosts as STP network ports and enable Bridge Assurance those ports will automatically move into the blocking state Note Bridge Assurance is enabled by default...

Страница 211: ... network Examples This example shows how to configure an interface connected to a switch or bridge as a spanning tree network port switch config if spanning tree port type network Related Commands Command Description show spanning tree interface Displays information about the spanning tree configuration per specified interface ...

Страница 212: ...twork ports by default You can then use the spanning tree port type edge command to configure specified ports that are connected to hosts as spanning tree edge ports Note If you mistakenly configure ports connected to hosts as Spanning Tree Protocol STP network ports and Bridge Assurance is enabled those ports will automatically move into the blocking state Configure only the ports that connect to...

Страница 213: ...OS Layer 2 Interfaces Command Reference OL 27880 02 Chapter S Commands spanning tree port type network default Related Commands Command Description show spanning tree summary Displays information about the spanning tree configuration ...

Страница 214: ...escription This command has no arguments or keywords Command Default Default spanning tree port type is normal Command Modes Interface configuration mode Command History Usage Guidelines This command does not require a license Examples This example shows how to configure an interface as a normal port switch configure terminal switch config interface ethernet 1 5 switch config if spanning tree port...

Страница 215: ... load balancing To meet the VLAN based load balancing criteria you must configure a different Spanning Tree Protocol STP bridge priority value for the root bridge and the designated bridge This command does not require a license Examples This example shows how to enable Bridge Assurance globally on the switch switch configure terminal switch config spanning tree pseudo information switch config ps...

Страница 216: ...o 4094 fex hello time value Optional Specifies the hello interval for FEX ports spanning tree The range is from 2 to 12 seconds forward time value Optional Specifies the STP forward delay time The range is from 4 to 30 seconds hello time value Optional Specifies the number of seconds between the generation of configuration messages by the root switch The range is from 1 to 10 seconds max age value...

Страница 217: ...ter the spanning tree root primary command and the switch does not become the root then the bridge priority is changed to 4096 less than the bridge priority of the current bridge The command fails if the value required to be the root bridge is less than 1 If the switch does not become the root an error results If the network devices are set for the default bridge priority of 32768 and you enter th...

Страница 218: ...s This example shows how to change the spanning tree port path cost of an interface switch configure terminal switch config interface ethernet 1 5 switch config if spanning tree vlan 5 cost 200 switch config if This example shows how to revert the interface to the default configuration switch configure terminal switch config interface ethernet 1 5 switch config if no spanning tree vlan 5 cost 200 ...

Страница 219: ... is 12 seconds Command Modes Global configuration mode Command History Usage Guidelines Examples This example shows how to set the downstream hello message timer for VLAN 10 to a value of 5 switch config spanning tree vlan 10 fex hello time 5 Related Commands vlan id VLAN identification number The VLAN ID range is from 0 to 4094 fex hello time fex hello time value Specifies the number of seconds b...

Страница 220: ...and does not require a license Examples This example shows how to change the spanning tree port priority of an interface to 20 switch configure terminal switch config interface ethernet 1 5 switch config if spanning tree vlan 5 port priority 20 switch config if This example shows how to revert the interface to the default configuration switch configure terminal switch config interface ethernet 1 5...

Страница 221: ...n set its speed with the speed command Note If the interface and transceiver speed is mismatched the SFP validation failed message is displayed when you enter the show interface ethernet slot QSFP module 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 device are 1...

Страница 222: ...d interface This example shows how to set the an interface port to automatically negotiate the speed switch configure terminal switch config interface ethernet 1 5 switch config if speed auto switch config if Related Commands Command Description show interface Displays the interface configuration information ...

Страница 223: ...sing traffic Command Modes VLAN configuration mode Command History Usage Guidelines You cannot suspend the state for VLAN 1 or VLANs 1006 to 4094 VLANs in the suspended state do not pass packets Examples This example shows how to suspend VLAN 2 switch config vlan 2 switch config vlan state suspend Related Commands active Specifies that the VLAN is actively passing traffic suspend Specifies that th...

Страница 224: ...scription This command has no arguments or keywords Command Default VLAN interfaces are disabled Command Modes Global configuration mode Command History Usage Guidelines You must use the feature interface vlan command before you can create VLAN interfaces Examples This example shows how to enable the interface VLAN feature on the switch switch config svi enable Related Commands Release Modificatio...

Страница 225: ...s command does not require a license Examples This example shows how to enable an SVS connection switch configure terminal switch config svs connection SVSConn switch config svs conn This example shows how to disable an SVS connection switch configure terminal switch config no svs connection SVSConn switch config Related Commands svs name Name of the SVS connection The name can be a maximum of 64 ...

Страница 226: ... will be deleted after confirming with the vCenter server that no corresponding vNICs are in use This command does not require a license Examples This example shows how to enable the Virtual Supervisor Module VSM to automatically delete dvPorts no longer used by a vNIC or hypervisor port switch configure terminal switch config svs veth auto delete switch config This example shows how to disable th...

Страница 227: ...1221 Cisco Nexus 5500 Series NX OS Layer 2 Interfaces Command Reference OL 27880 02 Chapter S Commands svs veth auto delete ...

Страница 228: ...story Usage Guidelines This command does not require a license Examples This example shows how to enable automatic creation and configuration of virtual Ethernet interfaces switch configure terminal switch config svs veth auto setup switch config This example shows how to disable automatic creation and configuration of virtual Ethernet interfaces switch configure terminal switch config no svs veth...

Страница 229: ...rm of the switchport access vlan command to reset the access mode VLAN to the appropriate default VLAN for the switch This action may generate messages on the device to which the port is connected Examples This example shows how to configure an Ethernet interface to join VLAN 2 switch configure terminal switch config interface ethernet 1 7 switch config if switchport access vlan 2 switch config if...

Страница 230: ...Reference OL 27880 02 Chapter S Commands switchport access vlan Related Commands Command Description show interface switchport Displays the administrative and operational status of a port show interface vethernet Displays the virtual Ethernet interface information ...

Страница 231: ...ifies the backup Ethernet interface The slot number is from 1 to 255 The QSFP module number is from 1 to 4 The port number is from 1 to 128 Note The QSFP module number applies only to the QSFP Generic Expansion Module GEM port channel channel no Specifies the port channel interface The interface number is from 1 to 4096 multicast Optional Specifies to configure the multicast parameters fast conver...

Страница 232: ...ed with private VLAN Endnode mode Fabric path core interface Layer 2 multipath Examples This example shows how to configure Ethernet 1 1 and Ethernet 1 12 as Flex Links switch configure terminal switch config interface ethernet 1 1 switch config if switchport backup interface ethernet 1 12 switch config if This example shows how to configure EtherChannel 100 and EtherChannel 101 as Flex Links swit...

Страница 233: ...ure fast convergence on the backup interface switch configure terminal switch config interface ethernet1 1 switch config if switchport backup interface ethernet1 12 multicast fast convergence switch config if Related Commands Command Description feature flexlink Enables Flex Links for Layer 2 interfaces show interface switchport backup Displays backup interfaces ...

Страница 234: ...d History Usage Guidelines You can block the unknown multicast or unicast traffic on the switch ports Blocking the unknown multicast or unicast traffic is not automatically enabled on the switch ports you must explicitly configure it Examples This example shows how to block the unknown multicast traffic on an interface switch configure terminal switch config interface ethernet 1 1 switch config if...

Страница 235: ...7880 02 Chapter S Commands switchport block Related Commands Command Description show interface switchport Displays the switch port information for a specified interface or all interfaces show interface vethernet Displays the virtual Ethernet interface configuration information ...

Страница 236: ...ed to an end station An access host port handles the Spanning Tree Protocol STP like an edge port and immediately moves to the forwarding state without passing through the blocking and learning states Configuring an interface as an access host port also disables EtherChannel on that interface Examples This example shows how to set an interface as an Ethernet access host port with EtherChannel disa...

Страница 237: ...the switchport access vlan command The VLAN must exist before you can specify that VLAN as an access VLAN The system shuts down an access port that is assigned to an access VLAN that does not exist A virtual network tag VNTag port helps to identify the virtual interfaces on that physical port For a virtual Ethernet interface use the no form of the command without the keywords Examples This example...

Страница 238: ...configure terminal switch config interface vethernet 1 switch config if switchport mode trunk switch config if Related Commands Command Description interface vethernet Configures a virtual Ethernet interface show interface ethernet Displays information about a specified Ethernet interface show interface switchport Displays information on all interfaces configured as switch ports switchport access ...

Страница 239: ...omes inactive The port does not have a valid private VLAN association configured The port is a Switched Port Analyzer SPAN destination The private VLAN association is suspended If you delete a private VLAN port association or if you configure a private port as a SPAN destination the deleted private VLAN port association or the private port that is configured as a SPAN destination becomes inactive ...

Страница 240: ... Commands switchport mode private vlan host Related Commands Command Description interface vethernet Configures a virtual Ethernet interface show interface switchport Displays information on all interfaces configured as switch ports show vlan private vlan Displays the status of the private VLAN ...

Страница 241: ... becomes inactive The port does not have a valid private VLAN mapping configured The port is a Switched Port Analyzer SPAN destination If you delete a private VLAN port mapping or if you configure a private port as a SPAN destination the deleted private VLAN port mapping or the private port that is configured as a SPAN destination becomes inactive See the private vlan command for more information ...

Страница 242: ...ltiple isolated VLANs Examples This example shows how to configure Ethernet interface 1 1 as a promiscuous trunk port for a private VLAN switch config interface ethernet 1 1 switch config if switchport mode private vlan trunk promiscous switch config if This example shows how to configure Ethernet interface 1 5 as a secondary trunk port for a private VLAN switch config interface ethernet 1 5 switc...

Страница 243: ...e configuration mode Command History Usage Guidelines This command does not require a license Examples This example shows how to limit the bandwidth on Ethernet interface 1 2 to 1 GB switch config interface ethernet 1 2 switch config if switchport monitor rate limit 1G switch config if Related Commands 1G Optional Specifies that the rate limit is 1 GB Release Modification 5 2 1 N1 1 This command w...

Страница 244: ...terface configuration mode Command History Usage Guidelines This command does not require a license Examples This example shows how to enable port security on a Layer 2 interface switch configure terminal switch config interface ethernet 1 5 switch config if switchport port security switch config if This example shows how to disable port security on an interface switch configure terminal switch co...

Страница 245: ...e Guidelines This command does not require a license Examples This example shows how to configure the secure MAC address aging type on a port switch configure terminal switch config interface ethernet 1 5 switch config if switchport port security aging type absolute switch config if This example shows how to set the secure MAC address aging time to 2 minutes switch configure terminal switch config...

Страница 246: ...erence OL 27880 02 Chapter S Commands switchport port security aging Related Commands Command Description show port security Displays the port security configuration information switchport port security Configures the switchport parameters to establish port security ...

Страница 247: ...onfigure a static secure MAC address on a port switch configure terminal switch config interface ethernet 1 5 switch config if switchport port security mac address 0050 3e8d 6400 switch config if This example shows how to enable port security with sticky MAC addresses on a port switch configure terminal switch config interface ethernet 1 5 switch config if switchport port security mac address stic...

Страница 248: ...eries NX OS Layer 2 Interfaces Command Reference OL 27880 02 Chapter S Commands switchport port security mac address Related Commands Command Description show port security Displays the port security configuration information ...

Страница 249: ...ses on a port switch configure terminal switch config interface ethernet 1 5 switch config if switchport port security maximum 5 switch config if This example shows how to override the maximum number of secure MAC addresses set for a specific VLAN switch configure terminal switch config interface ethernet 1 5 switch config if switchport port security maximum 3 vlan 10 switch config if This example...

Страница 250: ... Series NX OS Layer 2 Interfaces Command Reference OL 27880 02 Chapter S Commands switchport port security maximum Related Commands Command Description show port security Displays the port security configuration information ...

Страница 251: ...violation mode on a port switch configure terminal switch config interface ethernet 1 5 switch config if switchport port security violation protect switch config if This example shows how to set the port security violation mode on a port to the default value switch configure terminal switch config interface ethernet 1 5 switch config if no switchport port security violation protect switch config i...

Страница 252: ...itch config if switchport priority extend trust switch config if This example shows how to set the Cisco IP phone port to mark data traffic with CoS value switch config interface ethernet 1 28 switch config if switchport priority extend cos 3 switch config if This example shows how to return to the default settings switch config interface ethernet 1 28 switch config if no switchport priority exten...

Страница 253: ...solated VLAN Only one isolated VLAN under a given primary VLAN can be associated to an isolated trunk port Examples This example shows how to map the secondary VLANs to the primary VLAN switch config interface ethernet 1 1 switch config if switchport mode private vlan trunk secondary switch config if switchport private vlan association trunk 5 100 switch config if Related Commands primary id Prima...

Страница 254: ...ciation between the private VLANs is suspended The secondary VLAN may be an isolated or community VLAN See the private vlan command for more information on primary VLANs secondary VLANS and isolated or community ports Examples This example shows how to configure a Layer 2 host private VLAN port with a primary VLAN VLAN 18 and a secondary VLAN VLAN 20 switch config if switchport private vlan host a...

Страница 255: ...and Reference OL 27880 02 Chapter S Commands switchport private vlan host association switch config if Related Commands Command Description interface vethernet Configures a virtual Ethernet interface show vlan private vlan Displays information on private VLANs ...

Страница 256: ...s mode but the primary VLAN does not exist the command is allowed but the port is made inactive The secondary VLAN may be an isolated or community VLAN See the private vlan command for more information on primary VLANs secondary VLANS and isolated or community ports Examples This example shows how to configure the associated primary VLAN 18 to secondary isolated VLAN 20 on a private VLAN promiscuo...

Страница 257: ...condary VLANs on a private VLAN promiscuous trunk port switch configure terminal switch config interface ethernet 1 12 switch config if switchport mode private vlan promiscous trunk switch config if switchport private vlan mapping trunk 30 50 100 ERROR secondary VLAN list contains primary VLAN id in trunk promiscuous port mapping switch config if This example shows how to remove all private VLAN a...

Страница 258: ... a mapping between primary and secondary VLANs Examples This example shows how to add VLANs to the list of allowed VLANs on an Ethernet private VLAN trunk port switch config interface ethernet 1 3 switch config if switchport private vlan trunk allowed vlan 15 20 switch config if vlan list VLAN IDs of the allowed VLANs when the interface is in private vlan trunking mode The range is from 1 to 4094 ...

Страница 259: ...ate vlan trunk allowed vlan Related Commands Command Description show interface switchport Displays information on all interfaces configured as switch ports switchport mode private vlan trunk Configures the port as a secondary trunk port for a private VLAN show vlan private vlan Displays the status of the private VLAN ...

Страница 260: ...es Secondary VLANs cannot be configured with a native VLAN ID on promiscuous trunk ports Primary VLANs cannot be configured with a native VLAN ID on isolated trunk ports Examples This example shows how to map the secondary VLANs to the primary VLAN switch config interface ethernet 1 1 switch config if switchport private vlan trunk native vlan 5 switch config if Related Commands vlan vlan list Spec...

Страница 261: ...d VLANs on a virtual Ethernet interface trunk port switch configure terminal switch config interface vethernet 1 switch config if switchport trunk allowed vlan 5 15 switch config if add Specifies the VLANs to be added to the current list except Specifies all VLANs to be added to the current list except the specified VLANs remove Specifies the VLANs to be removed from the current list vlan_list VLA...

Страница 262: ...es Command Reference OL 27880 02 Chapter S Commands switchport trunk allowed vlan Related Commands Command Description interface vethernet Configures a virtual Ethernet interface show running config Displays the running system configuration information ...

Страница 263: ...and Modes Interface configuration mode Virtual Ethernet interface configuration mode Command History Usage Guidelines This command does not require a license Examples This example shows how to set VLAN 3 as the native trunk port switch configure terminal switch config interface vethernet 1 switch config if switchport trunk native vlan 3 switch config if Related Commands vlan_ID VLAN ID of the nati...

Страница 264: ...nfigure the Cisco IP phone to transmit voice traffic in 802 1p frames switch config interface ethernet 1 28 switch config if switchport voice vlan dot1p switch config if This example shows how to configure an Ethernet port to send CDP packets that configure the Cisco IP phone to transmit untagged voice traffic switch config interface ethernet 1 28 switch config if switchport voice vlan untagged sw...

Страница 265: ...orts before configuring PVLANs on the FEX trunk ports If the FEX Isolated trunk ports and the FEX trunk ports are both enabled unwanted traffic might occur Syntax Description This command has no arguments or keywords Command Default None Command Modes Interface configuration mode Command History Examples This example shows how to configure PVLAN over a FEX trunk port switch configure terminal swit...

Страница 266: ...yes Note After switch reload VLANs 1006 1085 will be reserved for internal use This requires copy running config to startup config before switch reload Creating VLANs within this range is not allowed This example shows how to remove the reserved VLAN configuration switch no system vlan 1006 reserve This will delete all configs on vlans 3968 4047 Continue anyway y n no yes Note After switch reload ...

Страница 267: ...1261 Cisco Nexus 5500 Series NX OS Layer 2 Interfaces Command Reference OL 27880 02 Chapter S Commands system vlan reserve ...

Страница 268: ...1262 Cisco Nexus 5500 Series NX OS Layer 2 Interfaces Command Reference OL 27880 02 Chapter S Commands system vlan reserve ...

Страница 269: ...1263 Cisco Nexus 5500 Series NX OS Layer 2 Interfaces Command Reference OL 27880 02 Show Commands This chapter describes the Cisco NX OS Ethernet show commands ...

Страница 270: ... time is 60 seconds Hold time is 180 seconds Ethernet1 1 is down CDP enabled on interface Refresh time is 60 seconds Hold time is 180 seconds Ethernet1 2 is down CDP enabled on interface Refresh time is 60 seconds Hold time is 180 seconds Ethernet1 3 is down CDP enabled on interface Refresh time is 60 seconds Hold time is 180 seconds Ethernet1 4 is down CDP enabled on interface Refresh time is 60 ...

Страница 271: ...1265 Cisco Nexus 5500 Series NX OS Layer 2 Interfaces Command Reference OL 27880 02 Chapter Show Commands show cdp all Related Commands Command Description cdp Enables CDP on the switch ...

Страница 272: ... Filtering Interface mgmt0 Port ID outgoing port GigabitEthernet0 30 Holdtime 162 sec Version Cisco IOS Software C3560E Software C3560E UNIVERSALK9 M Version 12 2 50 SE2 RELEASE SOFTWARE fc2 Copyright c 1986 2009 by Cisco Systems Inc Compiled Fri 15 May 09 22 11 by nachen Advertisement Version 2 Native VLAN 88 Duplex full Mgmt address es IPv4 Address 192 0 2 70 Device ID switch FOC16333ZER System ...

Страница 273: ... Disput e Interface Ethernet1 6 Port ID outgoing port Ethernet1 10 Holdtime 131 sec Version Cisco Nexus Operating System NX OS Software Version 6 0 2 N1 1 Advertisement Version 2 Native VLAN 1 Duplex full MTU 1500 Physical Location snmplocation Mgmt address es IPv4 Address 192 0 2 192 Device ID switch FOC16333ZER System Name switch Interface address es IPv4 Address 192 0 2 192 Platform N6K C6004 9...

Страница 274: ...nmplocation Mgmt address es IPv4 Address 192 0 2 192 switch This example shows how to display a specific entry from the CDP database switch show cdp entry name swor95 SSI13110AAS Device ID swor95 SSI13110AAS System Name swor95 Interface address es IPv4 Address 192 0 2 95 Platform N5K C5010P BF Capabilities Switch IGMP Filtering Supports STP Dispute Interface Ethernet1 29 Port ID outgoing port Ethe...

Страница 275: ...s no arguments or keywords Command Default None Command Modes EXEC mode Command History Examples This example shows how to display the CDP global parameters switch show cdp global Global 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 switch Related Commands Release Modification 5 2 ...

Страница 276: ...efresh time is 60 seconds Hold time is 180 seconds switch This example shows how to display the CDP parameters for a management interface switch show cdp interface mgmt 0 mgmt0 is up CDP enabled on interface Refresh time is 60 seconds Hold time is 180 seconds switch Related Commands ethernet slot QSFP module port Specifies an Ethernet interface The slot number is from 1 to 255 The QSFP module numb...

Страница 277: ...9 S I s N6K C6004 96Q Eth1 12 switch FOC16333ZER Eth1 6 173 S I s N6K C6004 96Q Eth1 10 switch FOC16333ZER Eth1 10 175 S I s N6K C6004 96Q Eth1 6 switch FOC16333ZER Eth1 12 169 S I s N6K C6004 96Q Eth1 4 switch This example shows how to display the CDP neighbors for a specific Ethernet interface interface Optional Displays CDP neighbor information for an interface Ethernet or management ethernet s...

Страница 278: ...ce Ethernet1 29 Port ID outgoing port Ethernet1 19 Holdtime 141 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 0 2 95 switch This example shows how to display the CDP neighbors for the management interface switch show cdp neighbors interface mgmt 0 Capabilit...

Страница 279: ... C3560E 48T Capabilities Switch IGMP Filtering Interface mgmt0 Port ID outgoing port GigabitEthernet0 30 Holdtime 151 sec Version Cisco IOS Software C3560E Software C3560E UNIVERSALK9 M Version 12 2 50 SE2 RELEASE SOFTWARE fc2 Copyright c 1986 2009 by Cisco Systems Inc Compiled Fri 15 May 09 22 11 by nachen Advertisement Version 2 Native VLAN 88 Duplex full Mgmt address es IPv4 Address 192 0 2 70 ...

Страница 280: ...Interface address es IPv4 Address 192 0 2 192 Platform N6K C6004 96Q Capabilities Switch IGMP Filtering Supports STP Dispute Interface Ethernet1 10 Port ID outgoing port Ethernet1 6 Holdtime 120 sec Version Cisco Nexus Operating System NX OS Software Version 6 0 2 N1 1 Advertisement Version 2 Native VLAN 1 Duplex full MTU 1500 Physical Location snmplocation Mgmt address es IPv4 Address 192 0 2 192...

Страница 281: ...Nexus 5500 Series NX OS Layer 2 Interfaces Command Reference OL 27880 02 Chapter Show Commands show cdp neighbors IPv4 Address 192 0 2 192 switch Related Commands Command Description cdp Enables CDP on the switch ...

Страница 282: ...v2 Packets 3203 Invalid CDP Packets 0 Unsupported Version 0 Checksum Errors 0 Malformed Packets 0 Output Statistics Total Packets 3203 CDP v1 Packets 0 CDP v2 Packets 3203 Send Errors 0 switch This example shows how to display CDP traffic statistics for a management interface interface Displays CDP traffic statistics for an interface Ethernet or management ethernet slot QSFP module port Displays C...

Страница 283: ...raffic statistics for mgmt0 Input Statistics Total Packets 3201 Valid CDP Packets 3201 CDP v1 Packets 0 CDP v2 Packets 3201 Invalid CDP Packets 0 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 cdp Enables CDP on the switch ...

Страница 284: ...0G D Eth1 7 1 eth access down SFP not inserted 40G D Eth1 8 1 eth access down SFP not inserted 40G D Eth1 9 1 eth access down SFP not inserted 40G D Eth1 10 1 eth access up none 40G D Eth1 11 1 eth access down SFP not inserted 40G D Eth1 12 1 eth access up none 40G D Eth5 1 1 eth access down Link not connected 40G D Eth5 2 1 eth access down SFP not inserted 40G D Eth5 3 1 eth access down SFP not i...

Страница 285: ... 1500 switch This example shows how to display the summary configuration information of interfaces including routed interfaces switch show interface brief Ethernet VLAN Type Mode Status Reason Speed Port Interface Ch Eth1 1 1 eth access down Link not connected 10G D Eth1 2 1 eth trunk up none 10G D Eth1 3 1 eth access down SFP not inserted 10G D Eth1 4 1 eth access down SFP not inserted 10G D Eth1...

Страница 286: ...4 1 eth access down Link not connected auto D Eth100 1 5 1 eth access down Link not connected auto D Eth100 1 6 1 eth access down Link not connected auto D Eth100 1 7 1 eth access down Link not connected auto D Eth100 1 8 1 eth access down Link not connected auto D Eth100 1 9 1 eth access down Link not connected auto D Eth100 1 10 1 eth access up none 10G D Eth100 1 11 1 eth access down Link not c...

Страница 287: ... Eth1 6 1 eth access down Link not connected 10G D Eth1 7 1 eth fabric down Link not connected 10G D Eth1 8 1 eth access down SFP not inserted 10G D Eth1 9 1 eth access down SFP not inserted 10G D Eth1 10 1 eth access down SFP not inserted 10G D Eth1 11 1 eth access down SFP not inserted 10G D Eth1 12 1 eth access down SFP not inserted 10G D Eth1 13 1 eth access down SFP not inserted 10G D Eth1 14...

Страница 288: ...nterface switch show interface ethernet 1 1 capabilities Ethernet1 1 Model N6K C6004 M12Q FIX Type SFP capable unknown Speed 40000 Duplex full Trunk encap type 802 1Q Channel yes Broadcast suppression no Flowcontrol rx off on tx off on Rate mode none QOS scheduling rx 6q1t tx 1p6q0t CoS rewrite no ToS rewrite no SPAN yes UDLD yes MDIX no Link Debounce yes Link Debounce Time yes Pvlan Trunk capable...

Страница 289: ...faces Command Reference OL 27880 02 Chapter Show Commands show interface capabilities FabricPath capable yes Port mode Switched FEX Fabric yes switch Related Commands Command Description interface ethernet Configures an Ethernet IEEE 802 3 interface ...

Страница 290: ...of all interfaces switch show interface debounce Port Debounce time Value ms Eth1 1 enable 100 Eth1 2 enable 100 Eth1 3 enable 100 Eth1 4 enable 100 Eth1 5 enable 100 Eth1 6 enable 100 Eth1 7 enable 100 Eth1 8 enable 100 Eth1 9 enable 100 Eth1 10 enable 100 Eth1 11 enable 100 Eth1 12 enable 100 Eth5 1 enable 100 Eth5 2 enable 100 Eth5 3 enable 100 Eth5 4 enable 100 Eth5 5 enable 100 Eth5 6 enable ...

Страница 291: ... 9 enable 100 Eth6 10 enable 100 Eth6 11 enable 100 Eth6 12 enable 100 Eth8 1 enable 100 Eth8 2 enable 100 Eth8 3 enable 100 Eth8 4 enable 100 Eth8 5 enable 100 Eth8 6 enable 100 Eth8 7 enable 100 Eth8 8 enable 100 Eth8 9 enable 100 Eth8 10 enable 100 Eth8 11 enable 100 Eth8 12 enable 100 switch Related Commands Command Description link debounce Enables the debounce timer on an interface ...

Страница 292: ...n ARPA Port mode is access auto duplex 40 Gb s Beacon is turned off slot QSFP module port Ethernet interface slot number and port number The slot number is from 1 to 255 The QSFP module number is from 1 to 4 The port number is from 1 to 128 Note The QSFP module number applies only to the QSFP Generic Expansion Module GEM Optional Specifies the subinterface separator Note This keyword applies to La...

Страница 293: ... 0 input discard 0 Rx pause TX 0 unicast packets 0 multicast packets 0 broadcast packets 0 output packets 0 bytes 0 jumbo packets 0 output errors 0 collision 0 deferred 0 late collision 0 lost carrier 0 no carrier 0 babble 0 output discard 0 Tx pause switch This example shows how to display the counters configured on a specified interface switch show interface ethernet 1 1 counters Port InOctets I...

Страница 294: ...ode VLAN 1 default Trunking Native Mode VLAN 1 default Trunking VLANs Enabled 1 300 800 Pruning VLANs Enabled 2 1001 Administrative private vlan primary host association none Administrative private vlan secondary host association none Administrative private vlan primary mapping none Administrative private vlan secondary mapping none Administrative private vlan trunk native VLAN none Administrative...

Страница 295: ...ssed 0 input errors 0 frame 0 overrun 0 fifo 0 packets output 0 bytes 0 underruns 0 output errors 0 collisions 0 fifo switch Table 1 describes the significant fields shown in the display lo number Loopback interface number The range is from 0 to 1023 brief Optional Displays a brief summary of the loopback interface information description Optional Displays the description provided for the loopback...

Страница 296: ...ve more than one error and others may have errors that do not fall into any of the specifically tabulated categories frame Number of packets received incorrectly having a CRC error and a noninteger number of octets On a serial line this is usually the result of noise or other transmission problems overrun Number of times the serial receiver hardware was unable to hand received data to a hardware b...

Страница 297: ...ommands show interface loopback This example shows how to display the brief information for a specific loopback interface switch show interface loopback 10 brief Interface Status Description loopback10 up switch Related Commands Command Description interface loopback Configures a loopback interface ...

Страница 298: ...753d 5b7a Ethernet1 4 c84c 753d 5b74 c84c 753d 5b7b Ethernet1 5 c84c 753d 5b74 c84c 753d 5b7c Ethernet1 6 c84c 753d 5b74 c84c 753d 5b7d Ethernet1 7 c84c 753d 5b74 c84c 753d 5b7e Ethernet1 8 c84c 753d 5b74 c84c 753d 5b7f Ethernet1 9 c84c 753d 5b74 c84c 753d 5b80 Ethernet1 10 c84c 753d 5b74 c84c 753d 5b81 Ethernet1 11 c84c 753d 5b74 c84c 753d 5b82 Ethernet1 12 c84c 753d 5b74 c84c 753d 5b83 Ethernet5...

Страница 299: ... e9f8 Ethernet6 10 c84c 753d 5b74 a44c 11e7 e9f9 Ethernet6 11 c84c 753d 5b74 a44c 11e7 e9fa Ethernet6 12 c84c 753d 5b74 a44c 11e7 e9fb Ethernet8 1 c84c 753d 5b74 c84c 753d 5c38 Ethernet8 2 c84c 753d 5b74 c84c 753d 5c39 Ethernet8 3 c84c 753d 5b74 c84c 753d 5c3a Ethernet8 4 c84c 753d 5b74 c84c 753d 5c3b Ethernet8 5 c84c 753d 5b74 c84c 753d 5c3c Ethernet8 6 c84c 753d 5b74 c84c 753d 5c3d Ethernet8 7 c...

Страница 300: ...EtherType is 0x0000 1 minute input rate 11336 bits sec 9 packets sec 1 minute output rate 2248 bits sec 3 packets sec Rx 22722587 input packets 7487592 unicast packets 7082728 multicast packets intf num Management interface number The value is 0 brief Optional Displays a summary of the configuration information for the management interface capabilities Optional Displays the interface capabilities ...

Страница 301: ...ts 7283211 unicast packets 334751 multicast packets 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 Port VRF Status IP Address Speed MTU mgmt0 up 192 0 2 192 1000 1500 switch Related Commands Command Description interface mgmt Configures a management interface ...

Страница 302: ...plex 10 Gb s Beacon is turned off Input flow control is on output flow control is on Switchport monitor is off Members in this channel Eth2 3 Last clearing of show interface counters never 30 seconds input rate 0 bits sec 0 packets sec 30 seconds output rate 352 bits sec 0 packets sec Load Interval 2 5 minute 300 seconds input rate 0 bps 0 pps output rate 368 bps 0 pps RX 0 unicast packets 0 multi...

Страница 303: ...un 0 underrun 0 ignored 0 watchdog 0 bad etype drop 0 bad proto drop 0 if down drop 0 input with dribble 0 input discard 0 Rx pause TX 0 unicast packets 15813 multicast packets 9 broadcast packets 15822 output packets 1615917 bytes 0 jumbo packets 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 Comma...

Страница 304: ...lan command The commands for configuring private VLANs are not visible until you enable private VLANs This command displays the mapping information between the primary and secondary VLANs that allows both VLANs to share the VLAN interface of the primary VLAN Examples This example shows how to display information about primary and secondary private VLAN mapping switch show interface private vlan ma...

Страница 305: ...4 1 27 down BPDUGuard errDisable Eth114 1 28 down BPDUGuard errDisable Eth114 1 29 down BPDUGuard errDisable Eth114 1 30 down BPDUGuard errDisable Eth114 1 31 down BPDUGuard errDisable Eth114 1 32 down BPDUGuard errDisable Eth114 1 33 down BPDUGuard errDisable Eth114 1 34 down BPDUGuard errDisable Eth114 1 35 down BPDUGuard errDisable Eth114 1 36 down BPDUGuard errDisable Eth114 1 39 down BPDUGuar...

Страница 306: ...Reference OL 27880 02 Chapter Show Commands show interface status err disabled Related Commands Command Description errdisable detect cause Enables the error disabled err disabled detection errdisable recovery cause Enables error disabled recovery on an interface ...

Страница 307: ...y information for all Ethernet interfaces switch 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 3967 4048 4093 Administrative private vlan primary host association none Administrative private vlan secondary host association none Administr...

Страница 308: ...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 Name Ethernet1 2 Switchport Enabled Switchport Monitor Not enabled Operational Mode vntag Access Mode VLAN 1 default Trunking Native Mode VLAN 1 default Trunking VLANs Ena...

Страница 309: ...vate vlan primary host association none Output truncated switch This example shows how to display the rate limit status for Ethernet interface 1 2 switch show interface switchport 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 Enab...

Страница 310: ...thernet interface switch show interface ethernet 1 28 switchport Name Ethernet1 28 Switchport Enabled Switchport Monitor Not enabled Operational Mode access Access Mode VLAN 3000 VLAN3000 Trunking Native Mode VLAN 1 default Trunking VLANs Enabled 1 200 300 302 500 2001 2248 3000 3001 4049 4090 Pruning VLANs Enabled 2 1001 Voice VLAN 3 Extended Trust State not trusted COS 0 Administrative private v...

Страница 311: ...Backup Down port channel300 port channel301 Active Up Backup Down port channel500 port channel501 Active Down Backup Down port channel502 port channel503 Active Down Backup Down port channel504 Ethernet2 1 Active Down Backup Down switch This example shows how to display the detailed information for all Flex Links switch show interface switchport backup detail Switch Backup Interface Pairs Active I...

Страница 312: ...n Mode off Multicast Fast Convergence Off Bandwidth 100000 Kbit port channel504 0 Kbit Ethernet2 1 switch Table 2 describes the significant fields displayed in the output Related Commands Table 2 show interface switchport backup Field Descriptions Field Description Active Interface Layer 2 interface being configured Backup Interface Layer 2 interface to act as a backup link to the interface being ...

Страница 313: ...ernet interface switch show interface ethernet 1 1 transceiver Ethernet1 1 transceiver is present type is SFP H10GB CU1M name is CISCO MOLEX part number is 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 ethernet slot QSFP module port Displays information about an Ether...

Страница 314: ...ference OL 27880 02 Chapter 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 ...

Страница 315: ...x mode is auto 300 seconds input rate 0 bits sec 0 packets sec 300 seconds output rate 0 bits sec 0 packets sec Rx 0 unicast packets 0 multicast packets 0 broadcast packets 0 input packets 0 bytes 0 input packet drops Tx 0 unicast packets 0 multicast packets 0 broadcast packets 0 output packets 0 bytes 0 flood packets 0 output packet drops veth id Virtual Ethernet interface number The range is fro...

Страница 316: ...ethernet 1 switchport Name Vethernet1 Switchport Enabled Switchport Monitor Not enabled Operational Mode access Access Mode VLAN 1 default Trunking Native Mode VLAN 1 default Trunking VLANs Allowed 1 3967 4048 4093 Voice VLAN none Extended Trust State not trusted COS 0 Administrative private vlan primary host association none Administrative private vlan secondary host association none Administrati...

Страница 317: ...nters brief Interface Input Rate avg Output Rate avg Rate Total Rate Total Rate averaging MB s Frames MB s Frames interval seconds Vethernet10 0 0 0 0 switch Related Commands veth id Virtual Ethernet interface number The range is from 1 to 1 048 575 brief Optional Displays brief information about the vEth interface counters detailed Optional Displays detailed information of only the nonzero vEth i...

Страница 318: ...show interface virtual status Interface VIF index Bound If Chan Vlan Status Mode Vntag Total 1 Veth interfaces switch status Displays the status of all virtual Ethernet interfaces vEth and floating virtual interfaces summary Displays the summary information about virtual Ethernet interfaces adapter fex Optional Displays information about fixed virtual ethernet interfaces bound interface Optional D...

Страница 319: ...S Layer 2 Interfaces Command Reference OL 27880 02 Chapter Show Commands show interface virtual Related Commands Command Description feature vmfex Enables VM FEX on the switch interface vethernet Configures a virtual Ethernet interface ...

Страница 320: ...utput for the show interface vlan vlan id private vlan mapping command only when you specify a primary private VLAN If you specify a secondary private VLAN the output is blank Examples This example shows how to display information about the specified VLAN switch show interface vlan 10 Vlan10 is up line protocol is up Hardware is EtherSVI address is 0005 9b78 6e7c MTU 1500 bytes BW 1000000 Kbit DLY...

Страница 321: ...LAN switch show interface vlan 10 private vlan mapping When you specify a primary VLAN the switch displays all secondary VLANs mapped to that primary VLAN Related Commands Command Description show interface switchport Displays information about the ports including those in private VLANs show vlan Displays summary information for all VLANs show vlan private vlan Displays summary information for all...

Страница 322: ...IGMP Snooping information for vlan 1 IGMP snooping enabled IGMP querier none Switch querier disabled IGMPv3 Explicit tracking enabled IGMPv2 Fast leave disabled IGMPv1 v2 Report suppression enabled IGMPv3 Report suppression disabled Link Local Groups suppression enabled Router port detection using PIM Hellos IGMP Queries Number of router ports 1 Number of groups 0 VLAN vPC function enabled Active ...

Страница 323: ...Eth199 1 13 IGMP Snooping information for vlan 300 IGMP snooping enabled IGMP querier none Switch querier disabled IGMPv3 Explicit tracking enabled More switch Related Commands Command Description ip igmp snooping EXEC Globally enables IGMP snooping IGMP snooping must be globally enabled in order to be enabled on a VLAN ip igmp snooping VLAN Enables IGMP snooping on the VLAN interface ...

Страница 324: ...show lacp interface ethernet 1 1 Interface Ethernet1 1 is up Channel group is 1 port channel is Po1 PDUs sent 1684 PDUs rcvd 1651 Markers sent 0 counters Displays information about the LACP traffic statistics interface ethernet slot QSFP module port Displays LACP information for a specific Ethernet interface The slot number is from 1 to 255 The QSFP module number is from 1 to 4 The port number is ...

Страница 325: ...ue Distributing true Partner information refresh timeout Long Timeout 90s Actor Admin State Ac 1 To 1 Ag 1 Sy 0 Co 0 Di 0 De 0 Ex 0 Actor Oper State Ac 1 To 0 Ag 1 Sy 1 Co 1 Di 1 De 0 Ex 0 Neighbor 1 1 MAC Address 0 d ec c9 c8 3c System Identifier 0x8000 0 d ec c9 c8 3c Port Identifier 0x8000 0x101 Operational key 0 LACP_Activity active LACP_Timeout Long Timeout 30s Synchronization IN_SYNC Collect...

Страница 326: ...escription Command Default None Command Modes EXEC mode Command History Examples This example shows how to display MAC address aging times switch show mac address table aging time Vlan Aging Time 2023 300 2022 300 2021 300 2020 300 2019 300 2018 300 2017 300 2016 300 2015 300 2014 300 2013 300 2012 300 2011 300 2010 300 2009 300 2008 300 2007 300 2006 300 2005 300 2004 300 2003 300 More switch vla...

Страница 327: ...ce OL 27880 02 Chapter Show Commands show mac address table aging time Related Commands Command Description mac address table aging time Configures the aging time for entries in the MAC address table show mac address table Displays information about the MAC address table ...

Страница 328: ...h address EEEE EEEE EEEE Optional Displays a count of the MAC address table entries for a specific address dynamic Optional Displays a count of the dynamic MAC addresses static Optional Displays a count of the static MAC addresses interface Optional Specifies the interface The interface can be Ethernet or EtherChannel ethernet slot QSFP module port Optional Specifies the Ethernet interface slot nu...

Страница 329: ... Series NX OS Layer 2 Interfaces Command Reference OL 27880 02 Chapter Show Commands show mac address table count Related Commands Command Description show mac address table Displays information about the MAC address table ...

Страница 330: ...Command Default None Command Modes EXEC mode Command History Examples This example shows how to display MAC address move notifications switch show mac address table notification mac move MAC Move Notify disabled switch Related Commands mac move Displays notification messages about MAC addresses that were moved threshold Displays notification messages sent when the MAC address table threshold was e...

Страница 331: ...information about a specific MAC address dynamic Optional Displays information about the dynamic MAC address table entries only interface Optional Specifies the interface The interface can be either Ethernet or EtherChannel ethernet slot QSFP module port Optional Specifies the Ethernet interface slot number and port number The slot number is from 1 to 255 The QSFP module number is from 1 to 4 The ...

Страница 332: ...dress Type age Secure NTFY Ports 100 0000 0001 0003 dynamic 0 F F Po1 100 0000 0001 0004 dynamic 0 F F Po1 100 0000 0001 0009 dynamic 0 F F Po1 100 0000 0001 0010 dynamic 0 F F Po1 1 001d 7172 6c40 dynamic 300 F F Eth100 1 20 switch This example shows how to display information about the MAC address table for a specific interface switch show mac address table interface ethernet 1 3 This example sh...

Страница 333: ...L 27880 02 Chapter Show Commands show mac address table show mac address table count Displays the number of entries currently in the MAC address table show mac address table notifications Displays information about notifications for the MAC address table Command Description ...

Страница 334: ...1 description A Local SPAN session type local state down No operational src dst source intf rx Eth1 5 tx Eth1 5 both Eth1 5 source VLANs rx source VSANs rx destination ports Eth1 21 Legend f forwarding enabled l learning enabled switch This example shows how to display a brief information about a SPAN session switch show monitor session range 1 brief session 1 session Optional Number of the sessio...

Страница 335: ...isplay the information about an ERSPAN session switch show monitor session 1 session 1 description ERSPAN Source configuration type erspan source state down No valid global IP Address flow id 1 vrf name default destination ip 192 0 2 1 ip ttl 255 ip dscp 0 origin ip origin ip not specified source intf rx Eth1 5 tx Eth1 5 both Eth1 5 source VLANs rx 5 switch Related Commands Command Description mon...

Страница 336: ...s EXEC mode Command History Examples This example shows how to display information about MVRs switch show mvr MVR Status enabled Global MVR VLAN 5 Number of MVR VLANs 1 switch Related Commands Release Modification 5 2 1 N1 1 This command was introduced Command Description mvr group Configures an MVR group for an interface mvr type Configures an MVR port type for an interface mvr vlan Configures an...

Страница 337: ...d has no arguments or keywords Command Default None Command Modes EXEC mode Command History Examples This example shows how to display information about MVR groups switch show mvr groups Related Commands Release Modification 5 2 1 N1 1 This command was introduced Command Description mvr group Configures an MVR group for an interface mvr type Configures an MVR port type for an interface mvr vlan Co...

Страница 338: ... switch Related Commands ethernet slot QSFP module port Optional Displays information about Ethernet IEEE 802 3z interfaces The slot number is from 1 to 255 The QSFP module number is from 1 to 4 The port number is from 1 to 128 Note The QSFP module number applies only to the QSFP Generic Expansion Module GEM port channel channel num Optional Displays information about EtherChannel interfaces The r...

Страница 339: ...plays the active MVR groups configured on an Ethernet IEEE 802 3z interface The slot number is from 1 to 255 The QSFP module number is from 1 to 4 The port number is from 1 to 128 Note The QSFP module number applies only to the QSFP Generic Expansion Module GEM port channel channel num Optional Displays the active MVR groups configured on an EtherChannel interface The range is from 1 to 4096 vethe...

Страница 340: ...net IEEE 802 3z interface The slot number is from 1 to 255 The QSFP module number is from 1 to 4 The port number is from 1 to 128 Note The QSFP module number applies only to the QSFP Generic Expansion Module GEM port channel channel num Optional Displays the MVR receiver ports on an EtherChannel interface The range is from 1 to 4096 vethernet veth num Optional Displays the MVR receiver ports on a ...

Страница 341: ... number is from 1 to 255 The QSFP module number is from 1 to 4 The port number is from 1 to 128 Note The QSFP module number applies only to the QSFP Generic Expansion Module GEM port channel channel num Optional Displays the MVR source ports on an EtherChannel interface The range is from 1 to 4096 vethernet veth num Optional Displays the MVR source ports on a virtual Ethernet interface The range i...

Страница 342: ...on This command has no arguments or keywords Command Default None Command Modes EXEC mode Command History Examples This example shows how to display the EtherChannel capacity switch show port channel capacity Port channel resources 768 total 29 used 739 free 3 used switch Related Commands Release Modification 5 2 1 N1 1 This command was introduced Command Description port channel load balance ethe...

Страница 343: ...eters port mode Members must have the same port mode configured port mode Members must have the same port mode configured either E F or AUTO If they are configured in AUTO port mode they have to negotiate E or F mode when they come up If a member negotiates a different mode it will be suspended speed Members must have the same speed configured If they are configured in AUTO speed they have to nego...

Страница 344: ...ode Members must have the same span mode load interval Member must have same load interval configured More output truncated 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 ...

Страница 345: ... last bundle is 0d 09h 12m 20s Last bundled member is Ports Ethernet199 1 24 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 Age of the port channel is 0d 09h 11m 30s Time since last bundle is 0d 09h 12m 20s Last bundled member is Ports Et...

Страница 346: ...nnel 21 port channel21 Last membership update is successful 1 ports in total 1 ports up First operational port is Ethernet2 3 Age of the port channel is 0d 09h 13m 14s Time since last bundle is 0d 09h 14m 04s 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 te...

Страница 347: ...mber subinterface number vlan Optional Identifies the VLAN for hardware hashing vlan_ID VLAN ID The range is from 1 to 3967 and 4048 to 4093 dst ip Optional Displays the load distribution on the destination IP address ipv4 addr IPv4 address to specify a source or destination IP address The format is A B C D dst ipv6 Optional Displays the load distribution on the destination IPv6 address ipv6 addr ...

Страница 348: ...dress src mac If multichassis EtherChannel trunk MCT is enabled and the traffic flows from a virtual port channel vPC peer link the output displays Outgoing port id vPC peer link traffic To get accurate results you must do the following For unicast frames Provide the destination MAC address dst mac and the VLAN for hardware hashing vlan When the destination MAC address is not provided hardware has...

Страница 349: ...icast multicast and broadcast packets dst mac ffff ffff ffff vlan id 1 switch This example shows how to display the port channel load balancing information when MCT is enabled and traffic flows from a vPC peer link switch show port channel load balance forwarding path interface port channel 10 vlan 1 dst ip 192 0 2 25 src ip 192 0 2 10 dst mac ffff ffff ffff src mac aa bb cc dd ee ff l4 src port 0...

Страница 350: ...ce Algorithm on switch source dest port crc8_hash 204 Outgoing port id Ethernet1 1 Param s used to calculate load balance dst port 1 src port 0 dst ip 192 0 2 25 src ip 192 0 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 ...

Страница 351: ... about EtherChannels switch show port channel summary Flags D Down P Up in port channel members I Individual H Hot standby LACP only s Suspended r Module removed S Switched R Routed U Up port channel Group Port Type Protocol Member Ports Channel 1 Po1 SU Eth LACP Eth1 1 P Eth1 2 P Eth1 3 P Eth1 4 P Eth1 21 P Eth1 22 P Eth1 23 P Eth1 24 P Eth1 25 P Eth1 26 P Eth1 27 P Eth1 28 P Eth1 29 P Eth1 30 P ...

Страница 352: ...SU Eth LACP Eth102 1 2 P 103 Po103 SU Eth LACP Eth102 1 3 P 104 Po104 SU Eth LACP Eth102 1 4 P 105 Po105 SU Eth LACP Eth102 1 5 P 106 Po106 SU Eth LACP Eth102 1 6 P 107 Po107 SU Eth LACP Eth102 1 7 P 108 Po108 SU Eth LACP Eth102 1 8 P 109 Po109 SU Eth LACP Eth102 1 9 P 110 Po110 SU Eth LACP Eth102 1 10 P 111 Po111 SU Eth LACP Eth102 1 11 P output truncated switch Related Commands Command Descripti...

Страница 353: ...0 Eth1 1 0 0 0 0 99 64 99 81 0 0 0 0 4000 Eth1 2 0 0 0 0 0 06 0 06 0 0 0 0 4000 Eth1 3 0 0 0 0 0 23 0 06 0 0 0 0 4000 Eth1 4 0 0 0 0 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 10 Eth1 7 0 0 0 0 0 0 0 0 0 0 0 0 10 E...

Страница 354: ...80 02 Chapter Show Commands show port channel traffic 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 ...

Страница 355: ...channel usage Total 29 port channel numbers used Used 19 21 50 100 150 170 171 198 199 256 301 400 401 1032 1033 1111 1504 1511 1514 1516 1520 1532 1548 1723 1905 1912 Unused 1 18 20 22 49 51 99 101 149 151 169 172 197 200 255 257 300 302 399 402 1031 1034 1110 1112 1503 1505 1510 1512 1513 1515 1521 1531 1533 1547 1549 1722 1724 1904 1906 1911 1913 4096 some numbers may be in use by SAN port chan...

Страница 356: ...luding one mac per port 0 Max Addresses limit in System excluding one mac per port 8192 Secure Port MaxSecureAddr CurrentAddr SecurityViolation Security Action Count Count Count Ethernet1 5 10 0 0 Shutdown switch address Optional Displays the secure MAC address of a port interface Optional Displays the secure address for an interface ethernet slot QSFP module port Optional Displays the secure addr...

Страница 357: ...how port security Related Commands Command Description clear port security dynamic Clears the dynamically secured addresses on a port show running config port security Displays the port security configuration information switchport port security Configures the switchport parameters to establish port security ...

Страница 358: ...not been applied yet for this slot switch This example shows how to display the preprovisioning configuration that failed to be applied to slot 2 in a switch profile switch config sync show provision failed config 2 Config has not been applied yet for this slot switch config sync Related Commands failed config Displays the configuration that failed to be applied to the slot slot number Slot number...

Страница 359: ...vail vlan 16 4094 509 0 3 monitor session 0 2 0 0 2 vrf 2 1000 2 0 998 port channel 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 Related Commands resource Resource name which can be one of the following port channel Displays the number of EtherChannels available in the system vlan Displays the number...

Страница 360: ...ommand Modes EXEC mode Command History Examples This example shows how to display information on the running configuration switch show running config This example shows how to display detailed information on the running configuration switch show running config all Related Commands all Optional Displays the full operating information including default settings Release Modification 5 2 1 N1 1 This c...

Страница 361: ...ature flexlink logging level Flexlink 5 interface port channel300 switchport backup interface port channel301 preemption mode forced switchport backup interface port channel301 multicast fast convergence interface port channel500 switchport backup interface port channel501 preemption delay 36 switchport backup interface port channel501 multicast fast convergence interface port channel502 switchpor...

Страница 362: ...erface port channel501 multicast fast convergence interface port channel502 switchport backup interface port channel503 preemption mode off switchport backup interface port channel503 preemption delay 35 interface port channel504 switchport backup interface Ethernet2 1 preemption mode off switchport backup interface Ethernet2 1 preemption delay 35 interface Ethernet1 2 switchport backup interface ...

Страница 363: ...mand Reference OL 27880 02 Chapter Show Commands show running config backup show tech support backup Displays troubleshooting information for backup interfaces show tech support flexlink Displays troubleshooting information for Flex Links Command Description ...

Страница 364: ...ed interfaces switch show running config exclude provision Command show running config exclude provision Time Mon Jan 30 00 37 27 2013 version 6 0 2 N1 1 feature fcoe feature telnet feature tacacs cfs ipv4 distribute cfs eth distribute feature udld feature interface vlan feature lacp feature vpc feature lldp feature vtp feature fex username admin password 5 1 wmFN7Wly pjqx1DfAkCCAg KyxbUz role net...

Страница 365: ...ecover errdisable errdisable recovery interval 600 no errdisable detect cause link flap errdisable recovery cause link flap errdisable recovery cause udld More output truncated switch Related Commands Command Description copy running config startup config Copies the running configuration to the startup configuration provision Preprovisions a module in a slot show provision Displays the preprovisio...

Страница 366: ...nk 5 interface port channel300 switchport backup interface port channel301 preemption mode forced switchport backup interface port channel301 multicast fast convergence interface port channel500 switchport backup interface port channel501 preemption delay 36 switchport backup interface port channel501 multicast fast convergence interface port channel502 switchport backup interface port channel503 ...

Страница 367: ... mode off switchport backup interface port channel503 preemption delay 35 interface port channel504 switchport backup interface Ethernet2 1 preemption mode off switchport backup interface Ethernet2 1 preemption delay 35 interface Ethernet1 2 switchport backup interface Ethernet1 1 preemption mode off switchport backup interface Ethernet1 1 preemption delay 35 interface Ethernet1 20 switchport back...

Страница 368: ... Note The QSFP module number applies only to the QSFP Generic Expansion Module GEM fc slot port Optional Displays the configuration information of the Fibre Channel interface The slot number is from 1 to 2 and the port number is from 1 to 48 loopback number Optional Displays the number of the loopback interface The range of values is from 1 to 4096 mgmt 0 Optional Displays the configuration inform...

Страница 369: ...rnet10 Time Mon Jan 30 00 37 27 2013 version 6 0 2 N1 1 interface Vethernet10 inherit port profile ppVEth untagged cos 3 switchport access vlan 101 bind interface Ethernet1 5 channel 10 switch This example shows how to display the running configuration for VLAN 5 that has been configured as an SVI to be used for in band management switch show running config interface vlan 5 Command show running co...

Страница 370: ... running config monitor Command show running config monitor Time Mon Jan 30 00 37 27 2013 version 6 0 2 N1 1 monitor session 1 description A Local SPAN session source interface Ethernet1 5 both destination interface Ethernet1 21 no shut switch This example shows how to display detailed information on the running SPAN configuration switch show running config monitor all Command show running config ...

Страница 371: ...erfaces Command Reference OL 27880 02 Chapter Show Commands show running config monitor Related Commands Command Description monitor session Configures SPAN or ERSPAN sessions show monitor session Displays information about SPAN or ERSPAN sessions ...

Страница 372: ...ines This command does not require a license Examples This example shows how to display the running system configuration of all secure ports on an interface switch show running config port security Command show running config port security Time Mon Jan 30 00 37 27 2013 version 6 0 2 N1 1 feature port security interface Ethernet1 5 switchport port security switchport port security aging time 3 swit...

Страница 373: ...L 27880 02 Chapter Show Commands show running config port security Related Commands Command Description clear port security dynamic Clears the dynamically secured addresses on a port show startup config port security Displays the configuration information in the startup file ...

Страница 374: ... on the running STP configuration switch show running config spanning tree all Note Display output differs slightly depending on whether you are running Rapid Per VLAN Spanning Tree Plus Rapid PVST or Multiple Spanning Tree MST This example shows how to display information on the running STP configuration including the spanning tree pseudo information switch show running config spanning tree spann...

Страница 375: ...delines This command provides information on the specified VLAN including private VLANs The display varies with your configuration If you have configured the VLAN name shutdown status or suspended status these are also displayed Examples This example shows how to display the running configuration for VLAN 5 switch show running config vlan 5 Related Commands vlan id Number of VLAN or range of VLANs...

Страница 376: ...how to display the VTP running configuration on the switch switch show running config vtp Command show running config vtp Time Mon Jan 30 00 37 27 2013 version 6 0 2 N1 1 feature vtp vtp mode transparent vtp domain MyDomain vtp file bootflash myvtp txt switch Related Commands Release Modification 5 2 1 N1 1 This command was introduced Command Description copy running config startup config Copies t...

Страница 377: ... type no port type displays Table 4 describes the fields that are displayed in the output of show spanning tree commands blockedports Optional Displays the alternate ports blocked by STP inconsistentports Optional Displays the ports that are in an inconsistent STP state pathcost method Optional Displays whether short or long path cost method is used The method differs for Rapid Per VLAN Spanning T...

Страница 378: ... 139 P2p TYPE_Inc Eth1 12 Desg BKN 2 128 140 P2p TYPE_Inc Eth1 15 Desg BKN 2 128 143 P2p TYPE_Inc Eth1 16 Desg BKN 2 128 144 P2p TYPE_Inc Eth1 33 Desg FWD 2 128 161 Edge P2p Eth1 35 Desg FWD 2 128 163 Edge P2p Sts Current port STP state Valid values are as follows BLK blocking DIS disabled LRN learning FWD forwarding Type Status information Valid values are as follows P2p Shr The interface is cons...

Страница 379: ... Name Interface Inconsistency VLAN0001 Eth1 11 Port Type Inconsistent VLAN0001 Eth1 12 Port Type Inconsistent VLAN0001 Eth1 15 Port Type Inconsistent VLAN0001 Eth1 16 Port Type Inconsistent Number of inconsistent ports segments in the system 4 switch This example shows how to display the path cost method switch config show spanning tree pathcost method Spanning tree default pathcost method used is...

Страница 380: ...s show spanning tree show spanning tree root Displays the status and configuration of the root bridge for the STP instance to which this switch belongs show spanning tree summary Displays summary information about STP show spanning tree vlan Displays STP information for specified VLANs Command Description ...

Страница 381: ...mmary of STP interface information Release Modification 5 2 1 N1 1 This command was introduced Command Description show spanning tree Displays information about STP show spanning tree bridge Displays the bridge ID timers and protocol for the local bridge on the switch show spanning tree brief Displays a brief summary about STP show spanning tree detail Displays detailed information about STP show ...

Страница 382: ...ow to display detailed STP information for the bridge switch show spanning tree bridge detail address Optional Displays the MAC address for the STP local bridge brief Optional Displays a brief summary of the status and configuration for the STP bridge detail Optional Displays a detailed summary of the status and configuration for the STP bridge forward time Optional Displays the STP forward delay ...

Страница 383: ...005 9b74 a6fc Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec VLAN0005 Bridge ID Priority 32773 priority 32768 sys id ext 5 Address 0005 9b74 a6fc Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec switch Related Commands Command Description spanning tree bridge assurance Enables Bridge Assurance on all network ports on the switch show spanning tree summary Displays summary information abou...

Страница 384: ...2769 Address 000d ecb0 fc7c Cost 1 Port 4495 port channel400 Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec Bridge ID Priority 32769 priority 32768 sys id ext 1 Address 000d ece7 df7c Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec Interface Role Sts Cost Prio Nbr Type Po19 Desg FWD 1 128 4114 Edge P2p Po400 Root FWD 1 128 4495 vPC peer link Network P2p Eth170 1 17 Desg FWD 2 128 3857 E...

Страница 385: ...rotocol for the local bridge on the switch show spanning tree detail Displays detailed information about STP show spanning tree interface Displays the STP interface status and configuration of specified interfaces show spanning tree mst Displays information about Multiple Spanning Tree MST STP show spanning tree root Displays the status and configuration of the root bridge for the STP instance to ...

Страница 386: ... the spanning tree Topology change flag not set detected flag not set Number of topology changes 0 last change occurred 663 31 38 ago Times hold 1 topology change 35 notification 2 hello 2 max age 20 forward delay 15 Timers hello 0 topology change 0 notification 0 Port 159 Ethernet1 31 of VLAN0001 is designated forwarding Port path cost 2 Port priority 128 Port Identifier 128 159 Designated root h...

Страница 387: ...nd protocol for the local bridge on the switch show spanning tree brief Displays a brief summary about STP show spanning tree interface Displays the STP interface status and configuration of specified interfaces show spanning tree mst Displays information about Multiple Spanning Tree MST STP show spanning tree root Displays the status and configuration of the root bridge for the STP instance to wh...

Страница 388: ...r is from 1 to 128 Note The QSFP module number applies only to the QSFP Generic Expansion Module GEM port channel number Specifies the EtherChannel interface and number The EtherChannel number is from 1 to 4096 active Optional Displays information about STP active interfaces only on the specified interfaces brief Optional Displays brief summary of STP information on the specified interfaces detail...

Страница 389: ... interface switch config show spanning tree interface ethernet 1 3 This example shows how to display detailed STP information on a specified interface switch config show spanning tree interface ethernet 1 3 detail Related Commands Command Description show spanning tree Displays information about STP show spanning tree active Displays information about STP active interfaces only show spanning tree ...

Страница 390: ...e id Optional Multiple Spanning Tree MST instance range that you want to display For example 0 to 3 5 7 to 9 detail Optional Displays detailed Multiple Spanning Tree MST information interface Optional Specifies the interface The interface can be Ethernet or EtherChannel ethernet slot QSFP module port Optional Specifies the Ethernet interface and its slot number and port number The slot number is f...

Страница 391: ... mst configuration This example shows how to display the MD5 digest included in the current Multiple Spanning Tree MST configuration switch show spanning tree mst configuration digest See Table 4 on page 371 for descriptions of the fields that are displayed in the output of the show spanning tree commands Related Commands Command Description show spanning tree Displays information about STP show s...

Страница 392: ... and configuration for the root bridge cost Optional Displays the path cost from the root to this bridge detail Optional Displays detailed information on the status and configuration for the root bridge forward time Optional Displays the STP forward delay interval for the root bridge hello time Optional Displays the STP hello time for the root bridge id Optional Displays the STP bridge identifier ...

Страница 393: ...rief Displays a brief summary of STP information show spanning tree detail Displays detailed information about STP show spanning tree interface Displays the STP interface status and configuration of specified interfaces show spanning tree mst Displays information about Multiple Spanning Tree MST STP show spanning tree summary Displays summary information about STP show spanning tree vlan Displays ...

Страница 394: ...ing Tree MST Examples This example shows how to display a summary of STP information on the switch switch show spanning tree summary Switch is in rapid pvst mode Root bridge for VLAN0001 VLAN0005 Port Type Default is disable Edge Port PortFast BPDU Guard Default is disabled Edge Port PortFast BPDU Filter Default is disabled Bridge Assurance is enabled Loopguard Default is disabled Pathcost method ...

Страница 395: ... show spanning tree vlan vlan id summary Syntax Description vlan id VLAN or range of VLANs that you want to display active Optional Displays information about STP VLANs and active ports brief Optional Displays a brief summary of STP information for the specified VLANs detail Optional Displays detailed STP information for the specified VLANs blockedports Optional Displays the STP alternate ports in...

Страница 396: ...plies only to the QSFP Generic Expansion Module GEM port channel number Optional Specifies the EtherChannel interface and number The EtherChannel number is from 1 to 4096 cost Optional Displays the STP path cost for the specified VLANs edge Optional Displays the STP type edge port information for the specified interface for the specified VLANs inconsistency Optional Displays the STP port inconsist...

Страница 397: ...nd protocol for the local bridge on the switch show spanning tree brief Displays a brief summary about STP show spanning tree detail Displays detailed information about STP show spanning tree interface Displays the STP interface status and configuration of specified interfaces show spanning tree mst Displays information about Multiple Spanning Tree MST STP show spanning tree root Displays the stat...

Страница 398: ...mand show startup config Syntax Description This command has no arguments or keywords Command Default None Command Modes EXEC mode Command History Examples This example shows how to display information from the startup configuration file switch show startup config Related Commands Release Modification 5 2 1 N1 1 This command was introduced Command Description show running config Displays the conte...

Страница 399: ...nfig saved at Mon Jan 30 03 40 28 2013 version 6 0 2 N1 1 feature flexlink logging level Flexlink 5 interface port channel300 switchport backup interface port channel301 preemption mode forced interface port channel500 switchport backup interface port channel501 preemption delay 36 switchport backup interface port channel501 multicast fast convergence interface port channel502 switchport backup in...

Страница 400: ...onvergence interface port channel502 switchport backup interface port channel503 preemption mode off switchport backup interface port channel503 preemption delay 35 interface port channel504 switchport backup interface Ethernet2 1 preemption mode off switchport backup interface Ethernet2 1 preemption delay 35 interface Ethernet1 2 switchport backup interface Ethernet1 1 preemption mode off switchp...

Страница 401: ...mand Reference OL 27880 02 Chapter Show Commands show startup config backup show tech support backup Displays troubleshooting information for backup interfaces show tech support flexlink Displays troubleshooting information for Flex Links Command Description ...

Страница 402: ...ed interfaces switch show startup config exclude provision Command show startup config exclude provision Time Wed Jan 30 08 24 27 2013 Startup config saved at Mon Jan 30 08 20 52 2013 version 6 0 2 N1 1 feature fcoe feature telnet feature tacacs cfs ipv4 distribute cfs eth distribute feature udld feature interface vlan feature lacp feature vpc feature lldp feature vtp feature fex username admin pa...

Страница 403: ...ot1Q tag native logging event link status default logging event trunk status default no service recover errdisable errdisable recovery interval 600 no errdisable detect cause link flap errdisable recovery cause link flap More output truncated switch Related Commands Command Description provision Preprovisions a module in a slot show provision Displays the preprovisioned module information show run...

Страница 404: ...013 version 6 0 2 N1 1 feature flexlink logging level Flexlink 5 interface port channel300 switchport backup interface port channel301 preemption mode forced interface port channel500 switchport backup interface port channel501 preemption delay 36 switchport backup interface port channel501 multicast fast convergence interface port channel502 switchport backup interface port channel503 interface p...

Страница 405: ...02 switchport backup interface port channel503 preemption mode off switchport backup interface port channel503 preemption delay 35 interface port channel504 switchport backup interface Ethernet2 1 preemption mode off switchport backup interface Ethernet2 1 preemption delay 35 interface Ethernet1 2 switchport backup interface Ethernet1 1 preemption mode off switchport backup interface Ethernet1 1 p...

Страница 406: ...and Reference OL 27880 02 Chapter Show Commands show startup config flexlink show tech support backup Displays troubleshooting information for backup interfaces show tech support flexlink Displays troubleshooting information for Flex Links Command Description ...

Страница 407: ...n Command Default None Command Modes EXEC mode Command History Usage Guidelines This command does not require a license Examples This example shows how to display the information from the startup configuration file for all secure ports configured on an interface switch show startup config port security Related Commands all Optional Displays detailed information about secure ports including default...

Страница 408: ...TP configuration stored in the startup configuration file switch show startup config vtp Command show startup config vtp Time Wed Jan 30 08 45 33 2013 Startup config saved at Wed Jan 30 08 45 03 2013 version 6 0 2 N1 1 feature vtp vtp mode transparent vtp domain MyDomain vtp file bootflash myvtp txt switch Related Commands Release Modification 5 2 1 N1 1 This command was introduced Command Descrip...

Страница 409: ...license Examples This example shows how to display information about the local and remote SVS connections switch show svs connections Local Info connection SVSConn ip address 192 0 2 12 remote port 21 vrf default protocol vmware vim https certificate default datacenter name DCName extension key Cisco_Nexus_1000V_1155927 dvs name DVS_DC DVS uuid config status Disabled operational status Disconnecte...

Страница 410: ...ws how to display the SVS information of the local machine switch show svs connections SVSConn Local Info connection SVSConn ip address 10 0 0 1 remote port 21 vrf default protocol vmware vim https certificate default datacenter name DCName extension key Cisco_Nexus_1000V_1199955927 dvs name DVS_DC DVS uuid config status Disabled operational status Disconnected sync status version switch Related C...

Страница 411: ...ion This command has no arguments or keywords Command Default None Command Modes Any command mode Command History Examples This example shows how to display the system reserved VLAN range switch show system vlan reserved system current running vlan reservation 3968 4095 switch Related Commands Release Modification 5 2 1 N1 1 This command was introduced Command Description system vlan reserve Confi...

Страница 412: ...n Preemption Mode off Multicast Fast Convergence Off 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 Preemption Delay 35 seconds default Multicas...

Страница 413: ...1530 with flexlink_q_mts 5 Thu Jan 1 00 01 21 2009 595064 usecs flexlink_mts_queue_initialize regi stered MTS_OPC_SYSLOG_FACILITY_OPR 185 with flexlink_q_mts 6 Thu Jan 1 00 01 21 2009 595113 usecs flexlink_mts_queue_initialize regi stered MTS_OPC_SYSMGR_CFG_ACTION 1360 with flexlink_q_mts 7 Thu Jan 1 00 01 21 2009 595161 usecs flexlink_mts_queue_initialize regi stered MTS_OPC_SYSMGR_CFG_SAVED 1361...

Страница 414: ...ackup 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 Bandwidth 100000 Kbit port channel502 100000 Kbit port channel503 port channel504 Ethernet2 1 Active Down Backup Down Preemption Mode off Multicast Fast Convergence O...

Страница 415: ...SH_CMD_TLV 7679 with flexlink_q_mts 9 Thu Jan 1 00 01 21 2009 595257 usecs flexlink_mts_queue_initialize regi stered MTS_OPC_VSH_CMD_TLV_SYNC 7682 with flexlink_q_mts 10 Thu Jan 1 00 01 21 2009 595304 usecs flexlink_mts_queue_initialize reg istered MTS_OPC_FM_SRV_ENABLE_FEATURE 8925 with flexlink_q_mts 11 Thu Jan 1 00 01 21 2009 595351 usecs flexlink_mts_queue_initialize reg istered MTS_OPC_FM_SRV...

Страница 416: ...ge this output you can redirect the output to a file Examples This example shows how to display Cisco technical support information for EtherChannel interfaces switch show tech support port channel show port channel internal event history all Low Priority Pending queue len 0 max len 2 Thu Jul 8 04 05 04 2010 High Priority Pending queue len 0 max len 32 Thu Jul 8 04 05 04 2010 PCM Control Block inf...

Страница 417: ...show tech support port channel flag 0 More output truncated switch Related Commands Command Description port channel load balance ethernet Configures the load balancing method among the interfaces in the channel group bundle show port channel load balance Displays information on EtherChannel load balancing ...

Страница 418: ...rent operational state advertisement Single neighbor detected Message interval 15 Timeout interval 5 Entry 1 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 ethernet slot QSFP module port Displays UDLD information for an Ethernet IEEE 802 3z interface The slot...

Страница 419: ...ate bidirectional Current operational state advertisement Single neighbor detected Message interval 15 Timeout interval 5 Entry 1 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 CDP Device name N5Kswitch 2 FLC12280095 swi...

Страница 420: ... 7 bidirectional Ethernet1 8 JAF1346000H 1 Ethernet1 8 bidirectional Ethernet1 9 JAF1346000C 1 Ethernet1 9 bidirectional Ethernet1 10 JAF1346000C 1 Ethernet1 10 bidirectional switch Related Commands Command Description udld configuration mode Configures the UDLD protocol on the switch udld Ethernet Configures the UDLD protocol on an Ethernet interface ...

Страница 421: ... VLAN is suspended active VLAN is active If you shut down a VLAN using the shutdown command these values appear in the Status field act lshut VLAN status is active but shut down locally sus lshut VLAN status is suspended but shut down locally If a VLAN is shut down internally these values appear in the Status field act ishut VLAN status is active but shut down internally sus ishut VLAN status is s...

Страница 422: ... and associated ports only switch show vlan brief This example shows how to display the VLAN information for a specific VLAN by name switch show vlan name test This example shows how to display information about the number of VLANs configured on the switch switch show vlan summary Related Commands Command Description show interface switchport Displays information about the ports including those in...

Страница 423: ... Description This command has no arguments or keywords Command Default None Command Modes EXEC mode Command History Examples This example shows how to display the status of 802 1Q tagging on the native VLANs switch show vlan dot1Q tag native vlan dot1q native tag is enabled switch Related Commands Release Modification 5 2 1 N1 1 This command was introduced Command Description vlan dot1q tag native...

Страница 424: ...Usage Guidelines Use this command to display information and statistics on an individual VLAN or a range of VLANs including private VLANs Note You can also display information about individual VLANs using the show vlan name command Examples This example shows how to display information for the individual VLAN 5 switch show vlan id 5 Related Commands vlan id VLAN or range of VLANs that you want to ...

Страница 425: ...rmation on the types of all private VLANs on the switch switch config show vlan private vlan type This example shows how to display information on the type for the specified private VLAN switch config show vlan id 42 private vlan type Related Commands id vlan id Optional Displays private VLAN information for the specified VLAN type Optional Displays the private VLAN type primary isolated or commun...

Страница 426: ...ample shows how to display the VTP counters switch show vtp counters VTP statistics Summary advertisements received 0 Subset advertisements received 0 Request advertisements received 0 Summary advertisements transmitted 0 Subset advertisements transmitted 0 Request advertisements transmitted 0 Number of config revision errors 0 Number of config digest errors 0 Number of V1 summary errors 0 VTP pru...

Страница 427: ... Layer 2 Interfaces Command Reference OL 27880 02 Chapter Show Commands show vtp counters Related Commands Command Description feature vtp Enables VTP on the switch vtp Enables VTP on an interface vtp mode Configures the VTP device mode ...

Страница 428: ...erface VTP Status port channel23 Enabled port channel67 Enabled port channel400 Enabled port channel1504 Enabled Ethernet1 2 Enabled Ethernet1 12 Enabled switch This example shows how to display the VTP configuration information for an Ethernet interface switch show vtp interface ethernet 1 12 Interface VTP Status Ethernet1 12 Enabled ethernet slot QSFP module port Optional Displays the VTP config...

Страница 429: ...terface switch show vtp interface port channel 23 Interface VTP Status port channel23 Enabled switch Related Commands Command Description feature vtp Enables VTP on the switch show interface ethernet Displays the Ethernet interfaces configured on the switch show interface port channel Displays the EtherChannels configured on the switch show vtp status Displays the VTP configuration status vtp Enab...

Страница 430: ... use this command you must enable VTP on the switch by using the feature vtp command Examples This example shows how to display the VTP password configured for administrative domain 1 switch show vtp password domain 1 VTP password cisco switch Related Commands domain Optional Specifies the VTP administrative domain domain id VTP domain ID The ID can be from 0 to 4294967295 Release Modification 5 2...

Страница 431: ...ion 1 Configuration Revision 0 Maximum VLANs supported locally 1005 VTP Operating Mode Transparent VTP Domain Name VTP Pruning Mode Disabled VTP V2 Mode Disabled VTP Traps Generation Disabled switch This example shows how to display the VTP domain status in Cisco NX OS Release 5 0 2 N1 1 switch show vtp status VTP Status Information VTP Version 2 capable Configuration Revision 0 Maximum VLANs supp...

Страница 432: ...lly 1005 Number of existing VLANs 14 VTP Operating Mode Server VTP Domain Name cisco VTP Pruning Mode Disabled Operationally Disabled VTP V2 Mode Disabled VTP Traps Generation Disabled MD5 Digest 0x70 0x06 0xAE 0x94 0x0B 0x33 0xFB 0xD4 Configuration last modified by 0 0 0 0 at 0 0 00 00 00 00 Local updater ID is 0 0 0 0 VTP version running 1 switch Related Commands Command Description feature vtp ...

Страница 433: ...1427 Cisco Nexus 5500 Series NX OS Layer 2 Interfaces Command Reference OL 27880 02 U Commands This chapter describes the Cisco NX OS Ethernet and virtual Ethernet commands that begin with U ...

Страница 434: ...ops normal UDLD with the default interval of 15 seconds is fast enough to shut down a unidirectional link before a blocking port transitions to the forwarding state with default spanning tree parameters When you enable the UDLD aggressive mode the following occurs One side of a link has a port stuck both transmission and receive One side of a link remains up while the other side of the link is dow...

Страница 435: ...er U Commands udld configuration mode switch config udld aggressive This example shows how to reset all ports that were shut down by UDLD switch configure terminal switch config udld reset Related Commands Command Description show udld Displays the administrative and operational UDLD status ...

Страница 436: ...n the other linked interface and its device To use the normal UDLD mode on a link you must configure one of the ports for normal mode and configure the port on the other end for the normal or aggressive mode To use the aggressive UDLD mode you must configure both ends of the link for aggressive mode Examples This example shows how to enable the normal UDLD mode for an Ethernet port switch configur...

Страница 437: ...o Nexus 5500 Series NX OS Layer 2 Interfaces Command Reference OL 27880 02 Chapter U Commands udld Ethernet Related Commands Command Description show udld Displays the administrative and operational UDLD status ...

Страница 438: ...1432 Cisco Nexus 5500 Series NX OS Layer 2 Interfaces Command Reference OL 27880 02 Chapter U Commands udld Ethernet ...

Страница 439: ...1433 Cisco Nexus 5500 Series NX OS Layer 2 Interfaces Command Reference OL 27880 02 V Commands This chapter describes the Cisco NX OS Ethernet and virtual Ethernet commands that begin with V ...

Страница 440: ...ode Command History Usage Guidelines 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 Examples This example shows how to enable automatic creation of virtual Ethernet interfaces on the switch switch config vethernet auto create switch config This example shows how to disable automatic creation ...

Страница 441: ...ed and cannot be changed you cannot create or delete this VLAN Additionally you cannot create or delete VLAN 4095 or any of the internally allocated VLANs When you delete a VLAN all the access ports in that VLAN are shut down and no traffic flows On trunk ports the traffic continues to flow for the other VLANs allowed on that port but the packets for the deleted VLAN are dropped However the system...

Страница 442: ...AN and enter VLAN configuration mode switch config vlan 2 switch config vlan This example shows how to add a range of new VLANs and enter VLAN configuration mode switch config vlan 2 5 10 12 20 25 4000 switch config vlan This example shows how to delete a VLAN switch config no vlan 2 Related Commands Command Description show vlan Displays VLAN information ...

Страница 443: ... Examples This example shows how to configure a spanning tree domain switch configure terminal switch config spanning tree pseudo information switch config pseudo vlan 1 designated priority 4096 switch config pseudo vlan 1 root priority 8192 switch config pseudo Related Commands instance id MST instance The range is from 0 to 4094 designated Optional Sets the designated bridge priority for the spa...

Страница 444: ...Interfaces Command Reference OL 27880 02 Chapter V Commands vlan STP show spanning tree Displays the configuration information of the STP spanning tree pseudo information Configures spanning tree pseudo information parameters Command Description ...

Страница 445: ... packets on that VLAN To maintain the tagging on the native VLAN and drop untagged traffic use the vlan dot1q tag native command The switch will tag the traffic received on the native VLAN and admit only 802 1Q tagged frames dropping any untagged traffic including untagged traffic in the native VLAN Control traffic continues to be accepted as untagged on the native VLAN on a trunked port even when...

Страница 446: ...500 Series NX OS Layer 2 Interfaces Command Reference OL 27880 02 Chapter V Commands vlan dot1Q tag native Related Commands Command Description show vlan dot1q tag native Displays the status of tagging on the native VLAN ...

Страница 447: ...ample shows how to configure a VMware policy on a specific virtual Ethernet interface switch configure terminal switch config interface vethernet 1 switch config if vmware dvport 3 dvswitch uuid nexusDVswitch switch config if Related Commands dvport Configures distributed virtual DV port mapping DVPort_number Distributed virtual DV port number The range is from 0 to 4294967294 dvswitch uuid Option...

Страница 448: ...g svs conn vmware dvs datacenter name dc1 switch config svs conn This example shows how to remove a VMware virtual switch switch configure terminal switch config svs connection SVSConn switch config svs conn no vmware dvs datacenter name dc1 switch config svs conn Related Commands datacenter name name VMware data centre name including the path The name can be a maximum of 256 characters For exampl...

Страница 449: ...fex command This command does not require a license Examples This example shows how to configure a VMware policy on a specific virtual Ethernet interface switch configure terminal switch config install feature set virtualization switch config feature set virtualization switch config feature vmfex switch config interface vethernet 1 switch config if vsi mac 0005 9b74 a6fc switch config if Related C...

Страница 450: ...re a license Examples This example shows how to configure a VRF instance for the ESRSPAN source switch configure terminal switch config monitor session 1 type erspan source switch config erspan src vrf default switch config erspan src Related Commands vrf_name Name of the VRF The VRF name can be any case sensitive alphanumeric string up to 32 characters default Specifies the default VRF instance m...

Страница 451: ...bles configuration of IP features Additional commands available in IP configuration mode domain list Adds additional domain names domain lookup Enables or disables DNS lookup domain name Specifies the default domain name host Adds an entry to the IP hostname table name server Specifies the IP address of a DNS name server route Adds route information by specifying IP addresses of the next hop serve...

Страница 452: ...1446 Cisco Nexus 5500 Series NX OS Layer 2 Interfaces Command Reference OL 27880 02 Chapter V Commands vrf context Related Commands Command Description show vrf Displays VRF information ...

Страница 453: ... vtp command VLAN Trunking Protocol VTP is a Cisco Proprietary Layer 2 messaging protocol used to distribute the VLAN configuration information across multiple devices within a VTP domain Examples This example shows how to enable VTP on an interface switch config interface ethernet 1 1 switch config if vtp switch config if Related Commands Release Modification 5 2 1 N1 1 This command we introduced...

Страница 454: ...a Cisco Proprietary Layer 2 messaging protocol used to distribute the VLAN configuration information across multiple devices within a VTP domain Without VTP you must configure VLANs in each device in the network Using VTP you configure VLANs on a VTP server and then distribute the configuration to other VTP devices in the VTP domain Examples This example shows how to create a VTP domain named acco...

Страница 455: ... configuration file is stored in the VTP database vlan dat in NVRAM VTP configuration information is also stored in the startup configuration file Note Do not delete the vlan dat file When a switch in a VTP domain reloads the switch updates the VTP domain and VLAN configuration information from the information contained in the VTP database file vlan dat or the startup configuration file Depending ...

Страница 456: ...figured VTP information is overwritten by the configuration that it later receives from the VTP server transparent If both the VTP database and the startup configuration file show the VTP mode as transparent and the VTP domain names match the VTP database is ignored The VTP and VLAN configurations in the startup configuration file are used to restore the configuration in this VTP device If the VTP...

Страница 457: ... switch does not advertise its VLAN configuration and does not synchronize its VLAN configuration based on received advertisements The VTP configuration revision number is always set to zero 0 Transparent switches do forward VTP advertisements that they receive out their trunk ports in VTP version 2 A VTP device mode can be one of the following server You can create modify and delete VLANs and spe...

Страница 458: ...nsparent mode with the exception that VTP advertisements are not forwarded You can use this VTP device to monitor the VLANs Note If you use the no vtp mode command to remove a VTP device the device will be configured as a VTP server Use the vtp mode off command to remove a VTP device Examples This example shows how to configure a VTP device in transparent mode and add VLANs 2 3 and 4 switch config...

Страница 459: ...tches in the VTP domain The password must be the same password on all those switches The VTP password that you configure is translated by an algorithm into a 16 byte word MD5 value that is carried in all summary advertisement VTP packets Examples This example shows how to configure a password for the VTP administrative domain named accounting switch config vtp domain accounting switch config vtp p...

Страница 460: ...l configuration mode Command History Usage Guidelines Before you use this command you must enable VTP on the switch by using the feature vtp command If you enable VTP you must configure either version 1 or version 2 If you are using VTP in a Token Ring environment you must use version 2 Examples This example shows how to enable VTP version 2 for Token Ring VLANs switch config vtp version 2 switch ...

Отзывы: