Cisco Nexus 5000 Series NX-OS Interfaces Configuration Guide,Release 5.2(1)N1(1)First Published: July 02, 2012Last Modified: July 02, 2012Americas Hea
DescriptionConventionNested set of square brackets or braces indicate optional or requiredchoices within optional or required elements. Braces and a v
PurposeCommand or ActionThe vpc-orphan-port suspend commandis supported only on physical ports.NoteExits interface configuration mode.switch(config-if
You must configure both switches on either side of the vPC peer link with the following procedure.ProcedurePurposeCommand or ActionEnters configuratio
PurposeCommand or ActionConfigures the selected port channel into the vPC to connectto the downstream switch. The range is from 1 to 4096.switch(confi
PurposeCommand or Action(Optional)Copies the running configuration to the startupconfiguration.switch# copy running-configstartup-configStep 5This exa
This example shows how to configure a vPC peer link:switch# configure terminalswitch(config)# vpc domain 5switch(config-if)# system-priority 4000Manua
Configuring the vPC Peer SwitchConfiguring a Pure vPC Peer Switch TopologyYou can configure a pure vPC peer switch topology using the peer-switch comm
This example shows how to configure a pure vPC peer switch topology:switch# configure terminalEnter configuration commands, one per line. End with CNT
PurposeCommand or ActionConfigures the designated bridge priority of the VLAN.Valid values are multiples of 4096 from 0 to 61440.switch(config-pseudo)
PurposeCommandDisplays whether vPC is enabled or not.switch# show featureDisplays how many EtherChannels are configuredand how many are still availabl
Viewing A Global Type-1 InconsistencyWhen a global Type-1 inconsistency occurs, the vPCs on the secondary switch are brought down. The followingexampl
Obtaining Documentation and Submitting a Service RequestFor information on obtaining documentation, submitting a service request, and gathering additi
20 Po20 up failed Global compat check failed 1-1030 Po30 up failed Global compat check failed 1-10Viewing An Interface-Specific Type-1 InconsistencyWh
----------------------------------------------------------------------------id Port Status Consistency Reason Active vlans------ ----------- ------ --
-- ---- ------ --------------------------------------------------1 Po1 up 1-4,6-10vPC status----------------------------------------------------------
vPC Example ConfigurationsDual Homed Fabric Extender vPC Configuration ExampleThe following example shows how to configure the dual homed Fabric Exten
Step 4Create a Fabric Extender identifier (for example, "100").NX-5000-1(config)# fex 100NX-5000-1(config-fex)# pinning max-links 1NX-5000-1
Single Homed Fabric Extender vPC Configuration ExampleThe following example shows how to configure the single homed Fabric Extender vPC topology using
Step 2Enable SVI interfaces, create the VLAN and SVI to be used by the vPC peer-keepalive link.NX-5000-1(config)# feature interface-vlanNX-5000-1(conf
Step 7Configure a vPC server port on on the Fabric Extender NX-2000-100.NX-5000-1(config-if)# interface ethernet 100/1/1NX-5000-1(config-if)# switchpo
Cisco Nexus 5000 Series NX-OS Interfaces Configuration Guide, Release 5.2(1)N1(1)106 78-26881-OL Configuring Virtual Port ChannelsvPC Default Sett
INDEXAadding ports 55port channels 55Bbandwidth 38configuring 38Cchanged information 1description 1channel mode 58port channels 58channel modes 52port
Cisco Nexus 5000 Series NX-OS Interfaces Configuration Guide, Release 5.2(1)N1(1)xii 78-26881-OL PrefaceObtaining Documentation and Submitting a S
Iinterface information, displaying 29layer 2 29interface speed 6, 13configuring 13interfaces 3, 5, 33, 35, 36, 38, 39, 40, 42, 43assigning to a VRF 40
port profiles 8, 9about 8guidelines and limitations 9port profiles 9Rrelated documents 44Layer 3 interfaces 44routed interfaces 33, 36, 38configuring
Cisco Nexus 5000 Series NX-OS Interfaces Configuration Guide, Release 5.2(1)N1(1)IN-4 78-26881-OL Index
CHAPTER 1New and Changed Information for this ReleaseThe following table provides an overview of the significant changes to this guide for this curren
Cisco Nexus 5000 Series NX-OS Interfaces Configuration Guide, Release 5.2(1)N1(1)2 78-26881-OL New and Changed Information for this ReleaseNew and
CHAPTER 2Configuring Layer 2 InterfacesThis chapter contains the following sections:• Information About Ethernet Interfaces, page 3• Configuring Ether
The interface numbering convention is extended to support use with a Cisco Nexus 2000 Series Fabric Extenderas follows:switch(config)# interface ether
About the Unidirectional Link Detection ParameterThe Cisco-proprietary Unidirectional Link Detection (UDLD) protocol allows ports that are connected t
Table 2: UDLD Default ConfigurationDefault ValueFeatureGlobally disabledUDLD global enable stateDisabledUDLD aggressive modeEnabled on all Ethernet fi
CDP runs on all media that support Subnetwork Access Protocol (SNAP). Because CDP runs over the data-linklayer only, two systems that support differen
THE SPECIFICATIONS AND INFORMATION REGARDING THE PRODUCTS IN THIS MANUAL ARE SUBJECT TO CHANGE WITHOUT NOTICE. ALL STATEMENTS,INFORMATION, AND RECOMME
About Port ProfilesYou can create a port profile that contains many interface commands and apply that port profile to a range ofinterfaces on the Cisc
Guidelines and Limitations for Port ProfilesPort profiles have the following configuration guidelines and limitations:• Each port profile must have a
Configuring Ethernet InterfacesThe section includes the following topics:Configuring a Layer 3 Interface on a Cisco Nexus 5500 Platform SwitchOn Cisco
If you're configuring a unified port as Fibre Channel or FCoE, confirm that you have enabled the feature fcoecommand.ProcedurePurposeCommand or A
Configuring the UDLD ModeYou can configure normal or aggressive unidirectional link detection (UDLD) modes for Ethernet interfaceson devices configure
switch(config)# interface ethernet 1/4switch(config-if)# udld disableThis example shows how to disable UDLD for the switch:switch# configure terminals
Disabling Link NegotiationYou can disable link negotiation using the no negotiate auto command. By default, auto-negotiation is enabledon 1-Gigabit po
ProcedurePurposeCommand or ActionEnters configuration mode.switch# configure terminalStep 1(Optional)Configures the version to use to send CDP adverti
ProcedurePurposeCommand or ActionEnters configuration mode.switch# configure terminalStep 1Enters interface configuration mode for the specifiedinterf
PurposeCommand or ActionBrings the interface up administratively andenables the interface to recover manually fromthe err-disabled state.no shutdownEx
CONTENTSPreface Preface ixAudience ixDocument Conventions ixDocumentation Feedback xObtaining Documentation and Submitting a Service Request xiCHA
PurposeCommand or ActionDisplays information about err-disabledinterfaces.show interface status err-disabledExample:switch(config)#show interface stat
This example shows how to enable err-disabled recovery under all conditions:switch(config)#errdisable recovery cause allswitch(config)#Port ProfilesCr
This example shows how to add the interface commands to a port profile named ppEth configured for Ethernetinterfaces:switch# configure terminalswitch(
This example shows how to remove commands from the port profile named ppEth configured for an Ethernetinterface:switch# configure terminalswitch(confi
This example shows how to enter port profile configuration mode and enable the port profile:switch# configure terminalswitch(config)# port-profile typ
This example shows how to add the interface commands to a port profile named ppEth configured for Ethernetinterfaces:switch# configure terminalswitch(
PurposeCommand or ActionExits the port profile configuration mode.exitExample:switch(config-port-prof)# exitswitch(config)#Step 4(Optional)Displays th
PurposeCommand or ActionExits port profile configuration mode.exitExample:switch(config-port-prof)# exitswitch(config)#Step 4(Optional)Displays the po
PurposeCommand or ActionExits port profile configuration mode.exitExample:switch(config-port-prof)# exitswitch(config)#Step 4(Optional)Displays the po
switch(config-port-prof)# sh running-config interface ethernet 1/14!Command: show running-config interface Ethernet1/14!Time: Thu Aug 26 07:03:17 2010
Configuring Unified Ports 10Configuring the UDLD Mode 12Configuring Interface Speed 13Disabling Link Negotiation 14Configuring the CDP Characteristics
Configuring the Description ParameterYou can provide textual interface descriptions for the Ethernet ports.ProcedurePurposeCommand or ActionEnters con
This example shows how to restart an Ethernet interface:switch# configure terminalswitch(config)# interface ethernet 1/4switch(config-if)# no shutdown
0 crc 0 Ignored 0 Bad etype drop0 Bad proto dropTx119038487241 output packets 119038487245 multicast packets0 broadcast packets 0 jumbo packets7618463
Eth1/3 enable 100...This example shows how to display the CDP neighbors:The default device ID field for CDP advertisement is the hostname and serial n
Cisco Nexus 5000 Series NX-OS Interfaces Configuration Guide, Release 5.2(1)N1(1)32 78-26881-OL Configuring Layer 2 InterfacesDefault Physical Eth
CHAPTER 3Configuring Layer 3 InterfacesThis chapter contains the following sections:• Information About Layer 3 Interfaces, page 33• Licensing Require
You can assign an IP address to the port, enable routing, and assign routing protocol characteristics to thisrouted interface.You can assign a static
VLAN InterfacesA VLAN interface or a switch virtual interface (SVI) is a virtual routed interface that connects a VLAN onthe device to the Layer 3 rou
You can use loopback interfaces for performance analysis, testing, and local communications. Loopbackinterfaces can act as a termination address for r
PurposeCommand or ActionTo convert a Layer 3 interface back into a Layer2 interface, use the switchport command.NoteConfigures an IP address for this
Configuring a Routed Interface 36Configuring a Subinterface 37Configuring the Bandwidth on an Interface 38Configuring a VLAN Interface 39Configuring a
PurposeCommand or ActionEnters interface configuration mode. The range for theslot is from 1 to 255. The range for the port is from 1to 128.switch(con
PurposeCommand or Action(Optional)Saves the change persistently through reboots and restarts bycopying the running configuration to the startup config
Configuring a Loopback InterfaceBefore You BeginEnsure that the IP address of the loopback interface is unique across all routers on the network.Proce
PurposeCommand or ActionAdds this interface to a VRF.switch(conifg-if)#vrf member vrf-nameStep 3Configures an IP address for this interface. Youmust d
PurposeCommandDisplays the subinterface configuration, status, andcounters (including the f-minute exponentiallydecayed moving average of inbound and
PurposeCommandDisplays the Layer 3 interface statistics. You canoptionally include all 32-bit and 64-bit packet andbyte counters (including errors).sh
This example shows how to configure a VLAN interface:switch# configuration terminalswitch(config)# interface vlan 100switch(config-if)# no switchports
CHAPTER 4Configuring Port ChannelsThis chapter contains the following sections:• Information About Port Channels, page 45• Configuring Port Channels,
channels. For information on port channel configuration limits, see the Verified Scalability document for yourplatform. For more information about loa
• If a port channel is created in global configuration mode, channel groups including member interfacesmust also be created using global configuration
Disabling LACP Graceful Convergence 61Reenabling LACP Graceful Convergence 62Verifying Port Channel Configuration 63Verifying the Load-Balancing Outgo
• Description• CDP• LACP port priority• DebounceAfter you enable forcing a port to be added to a channel group by entering the channel-group force com
• For a Layer 4 frame, it uses the source and destination MAC addresses and the source and destinationIP addresses.You have the option to include the
Layer 4 CriteriaLayer 3 CriteriaLayer 2 CriteriaConfigurationSource and destinationMAC, source anddestination IP, source anddestination portSource and
Layer 4 CriteriaLayer 3 CriteriaLayer 2 CriteriaConfigurationSource and destinationMAC, source anddestination IP , and sourceand destination portSourc
LACP ID ParametersLACP uses the following parameters:• LACP system priority—Each system that runs LACP has an LACP system priority value. You canaccep
Table 6: Channel Modes for Individual Links in a Port channelDescriptionChannel ModeLACP mode that places a port into a passivenegotiating state, in w
LACP-Enabled and Static Port Channel DifferencesThe following table provides a brief summary of major differences between port channels with LACP enab
Adding a Port to a Port ChannelYou can add a port to a new channel group or to a channel group that already contains ports. Cisco NX-OScreates the por
ProcedurePurposeCommand or ActionEnters configuration mode.switch# configure terminalStep 1Specifies the load-balancing algorithm for the device. Ther
Configuring Hardware Hashing for Multicast TrafficBy default, ingress multicast traffic on any port in the switch selects a particular port channel me
Enabling vPCs 80Disabling vPCs 80Creating a vPC Domain 81Configuring a vPC Keepalive Link and Messages 82Creating a vPC Peer Link 84Checking the Confi
This example shows how to enable LACP:switch# configure terminalswitch(config)# feature lacpConfiguring the Channel Mode for a PortYou can configure t
This example shows how to set the LACP-enabled interface to active port-channel mode for Ethernet interface1/4 in channel group 5:switch# configure te
Configuring the LACP System Priority and System IDThe LACP system ID is the combination of the LACP system priority value and the MAC address.Before Y
This example shows how to set the LACP port priority for Ethernet interface 1/4 to 40000:switch# configure terminalswitch (config)# interface ethernet
PurposeCommand or Action(Optional)Saves the change persistently through rebootsand restarts by copying the runningconfiguration to the startup configu
PurposeCommand or ActionEnables LACP graceful convergence on thespecified port channel.lacp graceful-convergenceExample:switch(config-if)# lacpgracefu
PurposeCommandDisplays a summary for the port channel interfaces.switch# show port-channel summaryDisplays the traffic statistics for port channels.sw
CHAPTER 5Configuring Virtual Port ChannelsThis chapter contains the following sections:• Information About vPCs, page 65• Guidelines and Limitations f
which allows you to create redundancy by enabling multiple parallel paths between nodes and load balancingtraffic where alternative paths exist.Figure
A vPC provides the following benefits:• Allows a single device to use an EtherChannel across two upstream devices• Eliminates Spanning Tree Protocol (
Cisco Nexus 5000 Series NX-OS Interfaces Configuration Guide, Release 5.2(1)N1(1)viii 78-26881-OL Contents
• Host interface—An Ethernet interface for server or host connectivity. These ports are 1-Gigabit Ethernetinterfaces or 10-Gigabit Ethernet interfaces
Single Homed Fabric Extender vPC TopologyYou can connect a server with dual or quad or more network adapters that are configured in a vPC to a pairof
Dual Homed Fabric Extender vPC TopologyYou can connect the Cisco Nexus Fabric Extender to two upstream Cisco Nexus devices and downstream toa number o
If you manually configure the system priority, you must ensure that you assign the same priority value onboth vPC peer switches. If the vPC peer switc
You must ensure that all interfaces in the vPC have the identical operational and configuration parameterslisted in this section.Enter the show vpc co
To ensure that none of the vPC interfaces are in the suspend mode, enter the show vpc brief and showvpc consistency-parameters commands and check the
Per-VLAN Consistency CheckBeginning with Cisco NX-OS Release 5.0(2)N2(1), some Type-1 consistency checks are performed on aper-VLAN basis when spannin
You must ensure that the two switches connected by the vPC peer link have certain identical operationaland configuration parameters.NoteWhen you confi
vPC Interactions with Other FeaturesConfiguring vPC Peer Links and Links to the CoreConfigure the command line interface by using a track object and a
PurposeCommand or ActionExits track configuration mode.switch(config-track)# endStep 8Enters vPC domain configuration.switch(config)# vpc domain domai
PrefaceThis preface contains the following sections:• Audience, page ix• Document Conventions, page ix• Documentation Feedback , page x• Obtaining Doc
We recommend that you set all the vPC peer link interfaces to the STP network port type so that BridgeAssurance is automatically enabled on all vPC pe
Do not enter the no cfs eth distribute or the no cfs distribute command. CFSoE must be enabled forvPC functionality. If you do enter either of these c
• A Fabric Extender can be a member of a Host Interface vPC topology or a Fabric Extender vPC topologybut not both simultaneously.• You must configure
When you disable the vPC feature, the Cisco Nexus device clears all the vPC configurations.NoteProcedurePurposeCommand or ActionEnters configuration m
PurposeCommand or Action(Optional)Displays brief information about each vPC domain.switch# show vpc briefStep 3(Optional)Copies the running configurat
ProcedurePurposeCommand or ActionEnters configuration mode.switch# configure terminalStep 1Creates a vPC domain on the switch if it doesnot already ex
interface Ethernet1/31switchport access vlan 123interface Vlan123vrf member vpc_keepaliveip address 123.1.1.2/30no shutdownvpc domain 1peer-keepalive
ProcedurePurposeCommand or ActionEnters configuration mode.switch# configure terminalStep 1Selects the EtherChannel that you want to use as thevPC pee
This example shows how to check that the required configurations are compatible across all the vPC interfaces:switch# show vpc consistency-parameters
PurposeCommand or ActionEnables the auto-recovery feature and sets thereload delay period. The default is disabled.switch(config-vpc-domain)# auto-rec
Comments to this Manuals