Cisco AP775A - Nexus Converged Network Switch 5010 Configuration Manual page 193

Cli software configuration guide
Hide thumbs Also See for AP775A - Nexus Converged Network Switch 5010:
Table of Contents

Advertisement

vPC Example Configurations
Before You Begin
Ensure that the Cisco Nexus 2000 Series Fabric Extenders NX-2000-100 and NX-2000-101 are attached and
online.
Procedure
Step 1
Enable vPC and LACP.
NX-5000-1# configure terminal
NX-5000-1(config)# feature lacp
NX-5000-1(config)# feature vpc
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
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
OL-16597-01
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.
Single Homed Fabric Extender vPC Configuration Example
Cisco Nexus 5000 Series Switch CLI Software Configuration Guide
147

Advertisement

Table of Contents
loading

Table of Contents