Page 3 - C O N T E N T S
C O N T E N T S P r e f a c e Preface ix Audience ix Document Conventions ix Documentation Feedback x Obtaining Documentation and Submitting a Service Request xi C H A P T E R 1 New and Changed Information for this Release 1 New and Changed Information for this Release 1 C H A P T E R 2 Configuring ...
Page 9 - Audience
Preface This preface contains the following sections: • Audience, page ix • Document Conventions, page ix • Documentation Feedback , page x • Obtaining Documentation and Submitting a Service Request, page xi Audience This publication is for experienced network administrators who configure and mainta...
Page 10 - Documentation Feedback
Description Convention Nested set of square brackets or braces indicate optional or requiredchoices within optional or required elements. Braces and a vertical barwithin square brackets indicate a required choice within an optionalelement. [x {y | z}] Indicates a variable for which you supply values...
Page 11 - Obtaining Documentation and Submitting a Service Request
Obtaining Documentation and Submitting a Service Request For information on obtaining documentation, submitting a service request, and gathering additional information,see the monthly What's New in Cisco Product Documentation , which also lists all new and revised Cisco technical documentation, at: ...
Page 13 - C H A P T E R
C H A P T E R 1 New and Changed Information for this Release The following table provides an overview of the significant changes to this guide for this current release.The table does not provide an exhaustive list of all changes made to the configuration guides or of the newfeatures in this release....
Page 15 - Information About Ethernet Interfaces; About the Interface Command
C H A P T E R 2 Configuring Layer 2 Interfaces This chapter contains the following sections: • Information About Ethernet Interfaces, page 3 • Configuring Ethernet Interfaces, page 10 • Displaying Interface Information, page 29 • Default Physical Ethernet Settings , page 31 Information About Etherne...
Page 16 - Information About Unified Ports; Guidelines and Limitations for Unified Ports
The interface numbering convention is extended to support use with a Cisco Nexus 2000 Series Fabric Extenderas follows: switch(config)# interface ethernet [ chassis /] slot / port • Chassis ID is an optional entry to address the ports of a connected Fabric Extender. The chassis ID is configured on a...
Page 17 - About the Unidirectional Link Detection Parameter; Default UDLD Configuration
About the Unidirectional Link Detection Parameter The Cisco-proprietary Unidirectional Link Detection (UDLD) protocol allows ports that are connected throughfiber optics or copper (for example, Category 5 cabling) Ethernet cables to monitor the physical configurationof the cables and detect when a u...
Page 18 - UDLD Aggressive and Nonaggressive Modes; Interface Speed
Table 2: UDLD Default Configuration Default Value Feature Globally disabled UDLD global enable state Disabled UDLD aggressive mode Enabled on all Ethernet fiber-optic LAN ports UDLD per-port enable state for fiber-optic media Disabled on all Ethernet 10/100 and 1000BASE-TXLAN ports UDLD per-port ena...
Page 19 - Default CDP Configuration; About the Error-Disabled State
CDP runs on all media that support Subnetwork Access Protocol (SNAP). Because CDP runs over the data-linklayer only, two systems that support different network-layer protocols can learn about each other. Each CDP-configured device sends periodic messages to a multicast address, advertising at least ...
Page 20 - About Port Profiles
About Port Profiles You can create a port profile that contains many interface commands and apply that port profile to a range ofinterfaces on the Cisco Nexus device. Port profiles can be applied to the following interface types: • Ethernet • VLAN network interface • Port channel A command that is i...
Page 21 - Guidelines and Limitations for Port Profiles; About the Debounce Timer Parameters; About MTU Configuration
Guidelines and Limitations for Port Profiles Port profiles have the following configuration guidelines and limitations: • Each port profile must have a unique name across interface types and the network. • Commands that you enter under the interface mode take precedence over the port profile’s comma...
Page 22 - Configuring Ethernet Interfaces; Procedure; Configuring Unified Ports; Before You Begin
Configuring Ethernet Interfaces The section includes the following topics: Configuring a Layer 3 Interface on a Cisco Nexus 5500 Platform Switch On Cisco Nexus devices, you can configure a Layer 3 interface. You can change a Layer 3 interface into a Layer 2 interface by using the switchport command....
Page 24 - Configuring the UDLD Mode
Configuring the UDLD Mode You can configure normal or aggressive unidirectional link detection (UDLD) modes for Ethernet interfaceson devices configured to run UDLD. Before you can enable a UDLD mode for an interface, you must makesure that UDLD is already enabled on the device that includes the int...
Page 25 - Configuring Interface Speed
switch(config)# interface ethernet 1/4 switch(config-if)# udld disable This example shows how to disable UDLD for the switch: switch# configure terminal switch(config)# no feature udld Configuring Interface Speed The first 32 ports of a Cisco Nexus 5596T switch are switchable 1-Gigabit and 10-Gigabi...
Page 26 - Disabling Link Negotiation; Configuring the CDP Characteristics
Disabling Link Negotiation You can disable link negotiation using the no negotiate auto command. By default, auto-negotiation is enabled on 1-Gigabit ports and disabled on 10-Gigabit ports. This command is equivalent to the Cisco IOS speed non-negotiate command. We do not recommend that you enable a...
Page 27 - Enabling or Disabling CDP
Procedure Purpose Command or Action Enters configuration mode. switch# configure terminal Step 1 (Optional)Configures the version to use to send CDP advertisements.Version-2 is the default state. switch(config)# [ no ] cdp advertise { v1 | v2 } Step 2 Use the no form of the command to return to its ...
Page 28 - Enabling the Error-Disabled Detection
Procedure Purpose Command or Action Enters configuration mode. switch# configure terminal Step 1 Enters interface configuration mode for the specifiedinterface. switch(config)# interface type slot / port Step 2 Enables CDP for the interface. switch(config-if)# cdp enable Step 3 To work correctly, th...
Page 29 - Enabling the Error-Disabled Recovery
Purpose Command or Action Brings the interface up administratively andenables the interface to recover manually fromthe err-disabled state. no shutdown Example: switch(config)# no shutdownswitch(config)# Step 4 Displays information about err-disabledinterfaces. show interface status err-disabled Exa...
Page 30 - Configuring the Error-Disabled Recovery Interval
Purpose Command or Action Displays information about err-disabledinterfaces. show interface status err-disabled Example: switch(config)#show interface statuserr-disabled Step 3 (Optional) Copies the running configuration tothe startup configuration. copy running-config startup-config Example: switch...
Page 31 - Port Profiles; Creating a Port Profile
This example shows how to enable err-disabled recovery under all conditions: switch(config)# errdisable recovery cause all switch(config)# Port Profiles Creating a Port Profile You can create a port profile on the switch. Each port profile must have a unique name across interface typesand the networ...
Page 32 - Modifying a Port Profile
This example shows how to add the interface commands to a port profile named ppEth configured for Ethernetinterfaces: switch# configure terminalswitch(config)# port-profile ppEthswitch(config-port-prof)# switchport mode trunkswitch(config-port-prof)# switchport trunk allowed vlan 300-400switch(confi...
Page 33 - Enabling a Specific Port Profile
This example shows how to remove commands from the port profile named ppEth configured for an Ethernetinterface: switch# configure terminalswitch(config)# port-profile ppEthswitch(config-port-prof)# switchport mode trunkswitch(config-port-prof)# switchport trunk allowed vlan 300-400switch(config-por...
Page 34 - Inheriting a Port Profile
This example shows how to enter port profile configuration mode and enable the port profile: switch# configure terminalswitch(config)# port-profile type ethernet testswitch(config-port-prof)# state enabledswitch(config-port-prof)# Inheriting a Port Profile You can inherit a port profile onto an exis...
Page 35 - Removing an Inherited Port Profile
This example shows how to add the interface commands to a port profile named ppEth configured for Ethernetinterfaces: switch# configure terminalswitch(config)# port-profile ppEthswitch(config-port-prof)# switchport mode trunkswitch(config-port-prof)# switchport trunk allowed vlan 300-400switch(confi...
Page 36 - Assigning a Port Profile to a Range of Interfaces
Purpose Command or Action Exits the port profile configuration mode. exit Example: switch(config-port-prof)# exitswitch(config)# Step 4 (Optional)Displays the port profile configuration. show port-profile Example: switch(config)# show port-profile name Step 5 (Optional)Copies the running configurati...
Page 37 - Removing a Port Profile from a Range of Interfaces
Purpose Command or Action Exits port profile configuration mode. exit Example: switch(config-port-prof)# exitswitch(config)# Step 4 (Optional)Displays the port profile configuration. show port-profile Example: switch(config)# show port-profile name Step 5 (Optional)Copies the running configuration t...
Page 38 - Configuration Examples for Port Profiles
Purpose Command or Action Exits port profile configuration mode. exit Example: switch(config-port-prof)# exitswitch(config)# Step 4 (Optional)Displays the port profile configuration. show port-profile Example: switch(config)# show port-profile name Step 5 (Optional)Copies the running configuration t...
Page 39 - Configuring the Debounce Timer
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 version 5.0(2)N1(1) interface Ethernet1/14 inherit port-profile alpha switch(config-port-prof)# sh running-config interface ethernet 1/14 expand-por...
Page 40 - Configuring the Description Parameter; Disabling and Restarting Ethernet Interfaces
Configuring the Description Parameter You can provide textual interface descriptions for the Ethernet ports. Procedure Purpose Command or Action Enters configuration mode. switch# configure terminal Step 1 Enters interface configuration mode for thespecified interface. switch(config)# interface type...
Page 41 - Displaying Interface Information
This example shows how to restart an Ethernet interface: switch# configure terminal switch(config)# interface ethernet 1/4 switch(config-if)# no shutdown Displaying Interface Information To view configuration information about the defined interfaces, perform one of these tasks: Purpose Command Displ...
Page 43 - Default Physical Ethernet Settings
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 number, as in the exampleabove. Note switch# show cdp neighbors Capability Codes: R - Router, T - Trans-Bridge, B - Source-Route-Bridge S - Switch, ...
Page 45 - Information About Layer 3 Interfaces; Routed Interfaces
C H A P T E R 3 Configuring Layer 3 Interfaces This chapter contains the following sections: • Information About Layer 3 Interfaces, page 33 • Licensing Requirements for Layer 3 Interfaces, page 36 • Guidelines and Limitations for Layer 3 Interfaces, page 36 • Default Settings for Layer 3 Interfaces...
Page 46 - Subinterfaces
You can assign an IP address to the port, enable routing, and assign routing protocol characteristics to thisrouted interface. You can assign a static MAC address to a Layer 3 interface. For information on configuring MAC addresses,see the Layer 2 Switching Configuration Guide for your device. You c...
Page 47 - VLAN Interfaces; Loopback Interfaces
VLAN Interfaces A VLAN interface or a switch virtual interface (SVI) is a virtual routed interface that connects a VLAN onthe device to the Layer 3 router engine on the same device. Only one VLAN interface can be associated witha VLAN, but you need to configure a VLAN interface for a VLAN only when ...
Page 48 - Tunnel Interfaces; Licensing Requirements for Layer 3 Interfaces; Guidelines and Limitations for Layer 3 Interfaces; Default Settings for Layer 3 Interfaces; Configuring a Routed Interface
You can use loopback interfaces for performance analysis, testing, and local communications. Loopbackinterfaces can act as a termination address for routing protocol sessions. This loopback configuration allowsrouting protocol sessions to stay up even if some of the outbound interfaces are down. Tun...
Page 49 - Configuring a Subinterface
Purpose Command or Action To convert a Layer 3 interface back into a Layer2 interface, use the switchport command. Note Configures an IP address for this interface. switch(config-if)# [ ip | ipv6 ] ip-address/length Step 4 (Optional)Configures the interface medium as either point to pointor broadcas...
Page 50 - Configuring the Bandwidth on an Interface
Purpose Command or Action Enters interface configuration mode. The range for the slot is from 1 to 255. The range for the port is from 1 to 128. switch(config)# interface ethernet slot/port.number Step 2 Configures IP address for this interface. switch(config-if)# [ ip | ipv6 ] address ip-address/le...
Page 51 - Configuring a VLAN Interface
Purpose Command or Action (Optional)Saves the change persistently through reboots and restarts bycopying the running configuration to the startup configuration. switch(config-if)# copy running-config startup-config Step 4 This example shows how to configure Ethernet interface 2/1 with a bandwidth va...
Page 52 - Configuring a Loopback Interface; Assigning an Interface to a VRF
Configuring a Loopback Interface Before You Begin Ensure that the IP address of the loopback interface is unique across all routers on the network. Procedure Purpose Command or Action Enters global configuration mode. switch# configure terminal Step 1 Creates a loopback interface. The instance range...
Page 53 - Verifying the Layer 3 Interfaces Configuration
Purpose Command or Action Adds this interface to a VRF. switch(conifg-if)# vrf member vrf-name Step 3 Configures an IP address for this interface. Youmust do this step after you assign this interfaceto a VRF. switch(config-if)# [ ip | ipv6 ] ip-address/length Step 4 (Optional)Displays VRF informatio...
Page 54 - Monitoring Layer 3 Interfaces
Purpose Command Displays the subinterface configuration, status, andcounters (including the f-minute exponentiallydecayed moving average of inbound and outboundpacket and byte rates). show interface ethernet slot/port.number Displays the port-channel subinterface configuration,status, and counters (...
Page 55 - Configuration Examples for Layer 3 Interfaces
Purpose Command Displays the Layer 3 interface statistics. You canoptionally include all 32-bit and 64-bit packet andbyte counters (including errors). show interface ethernet slot / port counters detailed [ all ] Displays the Layer 3 interface input and outputerrors. show interface ethernet slot / p...
Page 56 - Related Documents for Layer 3 Interfaces; MIBs for Layer 3 Interfaces; Standards for Layer 3 Interfaces
This example shows how to configure a VLAN interface: switch# configuration terminal switch(config)# interface vlan 100 switch(config-if)# no switchport switch(config-if)# ipv6 address 33:0DB::2/8 switch(config-if)# copy running-config startup-config This example shows how to configure a loopback in...
Page 57 - Information About Port Channels; Understanding Port Channels
C H A P T E R 4 Configuring Port Channels This chapter contains the following sections: • Information About Port Channels, page 45 • Configuring Port Channels, page 54 • Verifying Port Channel Configuration, page 63 • Verifying the Load-Balancing Outgoing Port ID , page 64 Information About Port Cha...
Page 58 - Guidelines and Limitations for Port Channel Configuration
channels. For information on port channel configuration limits, see the Verified Scalability document for your platform. For more information about load balancing, see Load Balancing Using Port Channels, on page 48 . Cisco NX-OS does not support Port Aggregation Protocol (PAgP) for port channels. No...
Page 59 - Compatibility Requirements
• If a port channel is created in global configuration mode, channel groups including member interfaces must also be created using global configuration mode. • Port channels that are configured within switch profile mode may have members both inside and outside of a switch profile. • If you want to ...
Page 60 - Load Balancing Using Port Channels
• Description • CDP • LACP port priority • Debounce After you enable forcing a port to be added to a channel group by entering the channel-group force command, the following two conditions occur: • When an interface joins a port channel the following parameters are removed and they are operationally...
Page 63 - Understanding LACP; LACP Overview
Layer 4 Criteria Layer 3 Criteria Layer 2 Criteria Configuration Source and destinationMAC, source anddestination IP , and sourceand destination port Source and destinationMAC, source anddestination IP Source and destinationMAC Source and destinationTCP/UDP port Use the option that provides the bala...
Page 64 - LACP ID Parameters; Channel Modes
LACP ID Parameters LACP uses the following parameters: • LACP system priority—Each system that runs LACP has an LACP system priority value. You can accept the default value of 32768 for this parameter, or you can configure a value between 1 and 65535.LACP uses the system priority with the MAC addres...
Page 65 - LACP Marker Responders
Table 6: Channel Modes for Individual Links in a Port channel Description Channel Mode LACP mode that places a port into a passivenegotiating state, in which the port responds to LACPpackets that it receives but does not initiate LACPnegotiation. passive LACP mode that places a port into an activene...
Page 66 - LACP-Enabled and Static Port Channel Differences; Creating a Port Channel
LACP-Enabled and Static Port Channel Differences The following table provides a brief summary of major differences between port channels with LACP enabledand static port channels. For information about the maximum configuration limits, see the Verified Scalability document for your device. Table 7: ...
Page 67 - Adding a Port to a Port Channel; Configuring Load Balancing Using Port Channels
Adding a Port to a Port Channel You can add a port to a new channel group or to a channel group that already contains ports. Cisco NX-OScreates the port channel associated with this channel group if the port channel does not already exist. If you want LACP-based port channels, you need to enable LAC...
Page 69 - Configuring Hardware Hashing for Multicast Traffic; Enabling LACP
Configuring Hardware Hashing for Multicast Traffic By default, ingress multicast traffic on any port in the switch selects a particular port channel member toegress the traffic. You can configure hardware hashing for multicast traffic to reduce potential bandwidthissues and to provide effective load...
Page 70 - Configuring the Channel Mode for a Port
This example shows how to enable LACP: switch# configure terminal switch(config)# feature lacp Configuring the Channel Mode for a Port You can configure the channel mode for each individual link in the LACP port channel as active or passive.This channel configuration mode allows the link to operate ...
Page 71 - Configuring the LACP Fast Timer Rate
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 terminal switch (config)# interface ethernet 1/4 switch(config-if)# channel-group 5 mode active This example shows how to forcefully add an interface t...
Page 72 - Configuring the LACP System Priority and System ID; Configuring the LACP Port Priority
Configuring the LACP System Priority and System ID The LACP system ID is the combination of the LACP system priority value and the MAC address. Before You Begin Ensure that you have enabled the LACP feature. Procedure Purpose Command or Action Enters configuration mode. switch# configure terminal St...
Page 73 - Disabling LACP Graceful Convergence
This example shows how to set the LACP port priority for Ethernet interface 1/4 to 40000: switch# configure terminal switch (config)# interface ethernet 1/4 switch(config-if)# lacp port priority 40000 Disabling LACP Graceful Convergence Before You Begin • Enable the LACP feature. • Confirm that the ...
Page 74 - Reenabling LACP Graceful Convergence
Purpose Command or Action (Optional)Saves the change persistently through rebootsand restarts by copying the runningconfiguration to the startup configuration. copy running-config startup-config Example: switch(config-if)# copy running-configstartup-config Step 6 The following example disables LACP ...
Page 75 - Verifying Port Channel Configuration
Purpose Command or Action Enables LACP graceful convergence on thespecified port channel. lacp graceful-convergence Example: switch(config-if)# lacpgraceful-convergenceswitch(config-if) # Step 4 Administratively brings the port channel up. no shutdown Example: switch(config-if)# no shutdownswitch(co...
Page 76 - Verifying the Load-Balancing Outgoing Port ID
Purpose Command Displays a summary for the port channel interfaces. switch# show port-channel summary Displays the traffic statistics for port channels. switch# show port-channel traffic Displays the range of used and unused channelnumbers. switch# show port-channel usage Displays information on cur...
Page 77 - Information About vPCs; vPC Overview
C H A P T E R 5 Configuring Virtual Port Channels This chapter contains the following sections: • Information About vPCs, page 65 • Guidelines and Limitations for vPCs, page 79 • Configuring vPCs, page 80 • Configuring the vPC Peer Switch, page 93 • Verifying the vPC Configuration, page 95 • vPC Exa...
Page 79 - Terminology; vPC Terminology
A vPC provides the following benefits: • Allows a single device to use an EtherChannel across two upstream devices • Eliminates Spanning Tree Protocol (STP) blocked ports • Provides a loop-free topology • Uses all available uplink bandwidth • Provides fast convergence if either the link or a switch ...
Page 80 - Supported vPC Topologies; Cisco Nexus 5000 Series Switch vPC Topology
• Host interface—An Ethernet interface for server or host connectivity. These ports are 1-Gigabit Ethernet interfaces or 10-Gigabit Ethernet interfaces, depending on the fabric extender model. • EtherChannel host interface—An EtherChannel downlink connection from the Fabric Extender host interface t...
Page 81 - Single Homed Fabric Extender vPC Topology
Single Homed Fabric Extender vPC Topology You can connect a server with dual or quad or more network adapters that are configured in a vPC to a pairof Cisco Nexus Fabric Extenders which are connected to the Cisco Nexus devices as depicted. Depending onthe FEX model, you may be able to connect one or...
Page 82 - Dual Homed Fabric Extender vPC Topology; vPC Domain
Dual Homed Fabric Extender vPC Topology You can connect the Cisco Nexus Fabric Extender to two upstream Cisco Nexus devices and downstream toa number of single homed servers. The topology shown in the following figure provides the vPC functionalityto singly connected servers with 1-Gigabit Ethernet ...
Page 83 - Peer-Keepalive Link and Messages; Compatibility Parameters for vPC Peer Links; Configuration Parameters That Must Be Identical
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 switches have different system priority values, the vPC will notcome up. Note Peer-Keepalive Link and Messages The Cisco NX-OS software uses a peer-keepali...
Page 85 - Configuration Parameters That Should Be Identical; Graceful Type-1 Check
To ensure that none of the vPC interfaces are in the suspend mode, enter the show vpc brief and show vpc consistency-parameters commands and check the syslog messages. Note Configuration Parameters That Should Be Identical When any of the following parameters are not configured identically on both v...
Page 86 - Per-VLAN Consistency Check; vPC Peer Links; vPC Peer Link Overview
Per-VLAN Consistency Check Beginning with Cisco NX-OS Release 5.0(2)N2(1), some Type-1 consistency checks are performed on aper-VLAN basis when spanning tree is enabled or disabled on a VLAN. VLANs that do not pass the consistencycheck are brought down on both the primary and secondary switches whil...
Page 87 - vPC Number
You must ensure that the two switches connected by the vPC peer link have certain identical operationaland configuration parameters. Note When you configure the vPC peer link, the vPC peer switches negotiate that one of the connected switchesis the primary switch and the other connected switch is th...
Page 88 - vPC Interactions with Other Features; Configuring vPC Peer Links and Links to the Core
vPC Interactions with Other Features Configuring vPC Peer Links and Links to the Core Configure the command line interface by using a track object and a track list that is associated with the Layer3 link to the core and on all vPC peer links on both vPC peer devices. You use this configuration to av...
Page 89 - vPC and LACP; vPC Peer Links and STP
Purpose Command or Action Exits track configuration mode. switch(config-track)# end Step 8 Enters vPC domain configuration. switch(config)# vpc domain domain-id Step 9 Adds the track object to the vPC domain. switch(config-vpc-domain)# track number Step 10 (Optional)Displays the track object. switch...
Page 90 - vPC and ARP; CFSoE
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 peer links. We also recommend that you do not enable any ofthe STP enhancement features on VPC peer links. You must configure a list of parameters to be...
Page 91 - vPC Peer Switch; Guidelines and Limitations for vPCs
Do not enter the no cfs eth distribute or the no cfs distribute command. CFSoE must be enabled for vPC functionality. If you do enter either of these commands when vPC is enabled, the system displays anerror message. Note When you enter the show cfs application command, the output displays "Phys...
Page 92 - Configuring vPCs; Enabling vPCs; Disabling vPCs
• A Fabric Extender can be a member of a Host Interface vPC topology or a Fabric Extender vPC topology but not both simultaneously. • You must configure both vPC peer switches; the configuration is not automatically synchronized between the vPC peer devices. • Check that the necessary configuration ...
Page 93 - Creating a vPC Domain
When you disable the vPC feature, the Cisco Nexus device clears all the vPC configurations. Note Procedure Purpose Command or Action Enters configuration mode. switch# configure terminal Step 1 Disables vPCs on the switch. switch(config)# no feature vpc Step 2 (Optional)Displays which features are e...
Page 94 - Configuring a vPC Keepalive Link and Messages
Purpose Command or Action (Optional)Displays brief information about each vPC domain. switch# show vpc brief Step 3 (Optional)Copies the running configuration to the startupconfiguration. switch# copy running-config startup-config Step 4 This example shows how to create a vPC domain: switch# configu...
Page 96 - Creating a vPC Peer Link
interface Ethernet1/31 switchport access vlan 123 interface Vlan123 vrf member vpc_keepaliveip address 123.1.1.2/30no shutdown vpc domain 1 peer-keepalive destination 123.1.1.1 source 123.1.1.2 vrf vpc_keepalive L3-NEXUS-2# sh vpc peer-keepalive vPC keep-alive status : peer is alive --Peer is alive ...
Page 97 - Checking the Configuration Compatibility
Procedure Purpose Command or Action Enters configuration mode. switch# configure terminal Step 1 Selects the EtherChannel that you want to use as thevPC peer link for this switch, and enters the interfaceconfiguration mode. switch(config)# interface port-channel channel-number Step 2 Configures the ...
Page 98 - Enabling vPC Auto-Recovery
This example shows how to check that the required configurations are compatible across all the vPC interfaces: switch# show vpc consistency-parameters global Legend: Type 1 : vPC will be suspended in case of mismatch Name Type Local Value Peer Value ------------- ---- ---------------------- --------...
Page 99 - Suspending Orphan Ports on a Secondary Switch in a vPC Topology
Purpose Command or Action Enables the auto-recovery feature and sets thereload delay period. The default is disabled. switch(config-vpc-domain)# auto-recovery reload-delay delay Step 3 This example shows how to enable the auto-recovery feature in vPC domain 10 and set the delay period for240 seconds...
Page 100 - Creating an EtherChannel Host Interface
Purpose Command or Action The vpc-orphan-port suspend command is supported only on physical ports. Note Exits interface configuration mode. switch(config-if)# exit Step 4 (Optional)Displays the orphan port configuration. switch# show vpc orphan-port Step 5 (Optional)Copies the running configuration ...
Page 101 - Moving Other Port Channels into a vPC
You must configure both switches on either side of the vPC peer link with the following procedure. Procedure Purpose Command or Action Enters configuration mode. switch# configure terminal Step 1 Specifies an interface to configure, and entersinterface configuration mode. switch(config)# interface e...
Page 102 - Manually Configuring a vPC Domain MAC Address
Purpose Command or Action Configures the selected port channel into the vPC to connectto the downstream switch. The range is from 1 to 4096. switch(config-if)# vpc number Step 3 The vPC number that you assign to the port channel connecting to the downstream switch from the vPC peer switch must beide...
Page 103 - Manually Configuring the System Priority
Purpose Command or Action (Optional)Copies the running configuration to the startupconfiguration. switch# copy running-config startup-config Step 5 This example shows how to configure a vPC domain MAC address: switch# configure terminal switch(config)# vpc domain 5 switch(config-if)# system-mac 23fb...
Page 104 - Manually Configuring a vPC Peer Switch Role
This example shows how to configure a vPC peer link: switch# configure terminal switch(config)# vpc domain 5 switch(config-if)# system-priority 4000 Manually Configuring a vPC Peer Switch Role By default, the Cisco NX-OS software elects a primary and secondary vPC peer switch after you configurethe ...
Page 105 - Configuring the vPC Peer Switch; Configuring a Pure vPC Peer Switch Topology
Configuring the vPC Peer Switch Configuring a Pure vPC Peer Switch Topology You can configure a pure vPC peer switch topology using the peer-switch command and then you set the best possible (lowest) spanning tree bridge priority value. The values you apply for the spanning tree priority must be ide...
Page 106 - Configuring a Hybrid vPC Peer Switch Topology
This example shows how to configure a pure vPC peer switch topology: switch# configure terminal Enter configuration commands, one per line. End with CNTL/Z. switch(config)# vpc domain 5 switch(config-vpc-domain)# peer-switch 2010 Apr 28 14:44:44 switch %STP-2-VPC_PEERSWITCH_CONFIG_ENABLED: vPC peer-...
Page 107 - Verifying the vPC Configuration
Purpose Command or Action Configures the designated bridge priority of the VLAN.Valid values are multiples of 4096 from 0 to 61440. switch(config-pseudo)# vlan vlan-id designated priority priority Step 3 Configures the root bridge priority of the VLAN. Validvalues are multiples of 4096 from 0 to 614...
Page 108 - Viewing The Graceful Type-1 Check Status
Purpose Command Displays whether vPC is enabled or not. switch# show feature Displays how many EtherChannels are configuredand how many are still available on the switch. switch# show port-channel capacity Displays running configuration information for vPCs. switch# show running-config vpc Displays ...
Page 109 - Viewing A Global Type-1 Inconsistency
Viewing A Global Type-1 Inconsistency When a global Type-1 inconsistency occurs, the vPCs on the secondary switch are brought down. The followingexample shows this type of inconsistency when there is a spanning-tree mode mismatch. The example shows how to display the status of the suspended vPC VLAN...
Page 110 - Viewing An Interface-Specific Type-1 Inconsistency
20 Po20 up failed Global compat check failed 1-10 30 Po30 up failed Global compat check failed 1-10 Viewing An Interface-Specific Type-1 Inconsistency When an interface-specific Type-1 inconsistency occurs, the vPC port on the secondary switch is broughtdown while the primary switch vPC ports remain...
Page 111 - Viewing a Per-VLAN Consistency Status
----------------------------------------------------------------------------id Port Status Consistency Reason Active vlans ------ ----------- ------ ----------- -------------------------- -----------20 Po20 up success success 1 30 Po30 up failed Compatibility check failed 1 for port mode Viewing a P...
Page 113 - vPC Example Configurations; Dual Homed Fabric Extender vPC Configuration Example
vPC Example Configurations Dual Homed Fabric Extender vPC Configuration Example The following example shows how to configure the dual homed Fabric Extender vPC topology using themanagement VRF to carry the peer-keepalive messages on switch NX-5000-1 as shown in following figure: Figure 9: vPC Config...
Page 115 - Single Homed Fabric Extender vPC Configuration Example
Single Homed Fabric Extender vPC Configuration Example The following example shows how to configure the single homed Fabric Extender vPC topology using thedefault VRF to carry the peer-keepalive messages on switch NX-5000-1 as shown in following figure: Figure 10: vPC Configuration Example The follo...
Page 117 - vPC Default Settings
Step 7 Configure a vPC server port on on the Fabric Extender NX-2000-100. NX-5000-1(config-if)# interface ethernet 100/1/1 NX-5000-1(config-if)# switchport mode trunk NX-5000-1(config-if)# switchport trunk native vlan 100 NX-5000-1(config-if)# switchport trunk allowed vlan 100-105 NX-5000-1(config-i...
Page 119 - I N D E X
I N D E X A adding ports 55 port channels 55 B bandwidth 38 configuring 38 C changed information 1 description 1 channel mode 58 port channels 58 channel modes 52 port channels 52 configuration 41 Layer 3 interfaces 41 verifying 41 configuration examples 43 Layer 3 interfaces 43 configuring 36, 37, ...