Руководство По Проектированию для Cisco Cisco Nexus 5010 Switch
© 2015 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public Information.
Page 97 of 119
Uplink Ports
PortChannels are configured by bundling Layer 2 ports (switch ports) on each Cisco Nexus 5000 Series Switch
using the vpc command:
nexus5000-1(config)#interface ethernet1/19 - 22
nexus5000-1(config-if)# channel-group 21 mode <active/passive>
nexus5000-1(config)#interface Port-channel 21
nexus5000-1(config-if)# switchport
nexus5000-1(config-if)#lacp suspend-individual
nexus5000-1(config-if)#spanning-tree port type normal
nexus5000-1(config-if)# switchport mode trunk
nexus5000-1(config-if)# switchport trunk allowed vlans <vlan list>
nexus5000-1(config-if)# vpc 21
!
nexus5000-2(config)#interface ethernet1/19 - 22
nexus5000-2(config-if)# channel-group 21 mode <active/passive>
nexus5000-2(config)#interface Port-channel 21
nexus5000-2(config-if)#switchport
nexus5000-2(config-if)#lacp suspend-individual
nexus5000-2(config-if)#spanning-tree port type normal
nexus5000-2(config-if)# switchport mode trunk
nexus5000-2(config-if)# switchport trunk allowed vlans <vlan list>
nexus5000-2(config-if)# vpc 21
Note: You may want to use lacp suspend-individual on the uplinks to the aggregation layer. If the aggregation
layer consists of the Cisco Nexus 7000 Series, the PortChannel on the Cisco Nexus 7000 Series Switch is
configured by default as lacp suspend-individual, differing from the Cisco Nexus 5000 Series.
You can verify the success of the configuration by entering the command show vpc brief.
If the consistency check does not report success, you should verify the consistency parameters. Typical reasons
that a vPC may not form include the following: the VLAN that is defined in the trunk does not exist or is not defined
on the peer link, or one vPC member is set to switch-port mode access and the other member is set to switch-port
mode trunk.
nexus5k01# show vpc consistency-parameters global
nexus5k01# show vpc consistency-parameters int port-channel 21
Legend:
Type 1 : vPC will be suspended in case of mismatch
Name Type Local Value Peer Value
------------- ---- ---------------------- -----------------------
Shut Lan 1 No No
STP Port Type 1 Default Default
STP Port Guard 1 None None
STP MST Simulate PVST 1 Default Default
lag-id 1 [(7f9b, [(7f9b,