Single Homed Fabric Extender vPC Configuration Example
DETAILED STEPS
Step 1
Enable vPC and LACP.
CiscoNexus-1# configure terminal
CiscoNexus-1(config)# feature lacp
CiscoNexus-1(config)# feature vpc
Step 2
Enable SVI interfaces, create the VLAN and SVI to be used by the vPC peer-keepalive link.
CiscoNexus-1(config)# feature interface-vlan
CiscoNexus-1(config)# vlan 900
CiscoNexus-1(config-vlan)# int vlan 900
CiscoNexus-1(config-if)# ip address 10.10.10.236 255.255.255.0
CiscoNexus-1(config-if)# no shutdown
CiscoNexus-1(config-if)# exit
Step 3
Create the vPC domain and add the vPC peer-keepalive link in the default VRF.
CiscoNexus-1(config)# vpc domain 30
CiscoNexus-1(config-vpc-domain)# peer-keepalive destination 10.10.10.237 source 10.10.10.236 vrf
default
CiscoNexus-1(config-vpc-domain)# exit
VLAN 900 must not be trunked across the vPC peer-link because it carries the vPC peer-keepalive messages.
Note
There must be an alternative path between switches CiscoNexus-1 and CiscoNexus-2 for the vPC peer-keepalive
messages.
Step 4
Configure the vPC peer link as a two port Etherchannel.
CiscoNexus-1(config)# interface ethernet 1/1-2
CiscoNexus-1(config-if-range)# switchport mode trunk
CiscoNexus-1(config-if-range)# switchport trunk allowed vlan 20-50
CiscoNexus-1(config-if-range)# switchport trunk native vlan 20
CiscoNexus-1(config-if-range)# channel-group 30 mode active
CiscoNexus-1(config-if-range)# exit
CiscoNexus-1(config)# interface port-channel 30
CiscoNexus-1(config-if)# vpc peer-link
CiscoNexus-1(config-if)# exit
Step 5
Configure the Fabric Extender NX-2000-100.
CiscoNexus-1(config)# fex 100
CiscoNexus-1(config-fex)# pinning max-links 1
CiscoNexus-1(fex)# exit
Step 6
Configure the fabric EtherChannel links for the Fabric Extender NX-2000-100.
CiscoNexus-1(config)# interface ethernet 1/20-21
CiscoNexus-1(config-if)# channel-group 100
CiscoNexus-1(config-if)# exit
CiscoNexus-1(config)# interface port-channel 100
CiscoNexus-1(config-if)# switchport mode fex-fabric
CiscoNexus-1(config-if)# fex associate 100
CiscoNexus-1(config-if)# exit
Cisco Nexus 5000 Series NX-OS Layer 2 Switching Configuration Guide, Release 5.1(3)N1(1)
146
Configuring Virtual Port Channels
OL-25842-01