Cisco 7206 - VXR Router Configuration Manual page 260

Network configuration guide
Table of Contents

Advertisement

Configuration Examples for vPCs
S e n d d o c u m e n t c o m m e n t s t o n e x u s 7 k - d o c f e e d b a c k @ c i s c o . c o m
switch(config)# feature vPC
switch(config)# feature lacp
(Optional) Configure one of the interfaces that you want to be peer link in dedicated mode.
Step 2
switch(config)# interface ethernet 7/1, ethernet 7/3, ethernet 7/5. ethernet 7/7
switch(config-if)# shutdown
switch(config-if)# exit
switch(config)# interface ethernet 7/1
switch(config-if)# rate-mode dedicated
switch(config-if)# no shutdown
switch(config-if)# exit
switch(config)#
(Optional) Configure the second, redundant interface that you want to be peer link in dedicated mode.
Step 3
switch(config)# interface ethernet 7/2, ethernet 7/4, ethernet 7/6. ethernet 7/8
switch(config-if)# shutdown
switch(config-if)# exit
switch(config)# interface ethernet 7/2
switch(config-if)# rate-mode dedicated
switch(config-if)# no shutdown
switch(config-if)# exit
switch(config)#
Step 4
Configure the two interfaces (for redundancy) that you want to be in the peer link to be an active Layer
2 LACP port channel.
switch(config)# interface ethernet 7/1-2
switch(config-if)# switchport
switch(config-if)# switchport mode trunk
switch(config-if)# switchport trunk allowed vlan 1-50
switch(config-if)# switchport trunk native vlan 20
switch(config-if)# channel-group 20 mode active
switch(config-if)# exit
Create and enable the VLANs.
Step 5
switch(config)# vlan 1-50
switch(config-vlan)# no shutdown
switch(config-vlan)# exit
Create a separate VRF for the vPC peer-keepalive link and add a Layer 3 interface to that VRF.
Step 6
switch(config)# vrf context pkal
switch(config-vrf)# exit
switch(config)# interface ethernet 8/1
switch(config-if)# vrf member pkal
switch(config-if)# ip address 172.23.145.218/24
switch(config-if)# no shutdown
switch(config-if)# exit
Step 7
Create the vPC domain and add the vPC peer-keepalive link.
switch(config)# vpc domain 1
switch(config-vpc-domain)# peer-keepalive destination 172.23.145.217 source 172.23.145.218
vrf pkal
switch(config-vpc-domain)# exit
Configure the vPC peer link.
Step 8
switch(config)# interface port-channel 20
switch(config-if)# switchport mode trunk
Cisco Nexus 7000 Series NX-OS Interfaces Configuration Guide, Release 5.x
7-58
Chapter 7
Configuring vPCs
OL-23435-03

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents