Cisco Systems N5KC5596TFA Switch User Manual


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