Cisco N7K-C7010 Configuration Guide - Page 260
Step 2, Cisco Nexus 7000 Series NX-OS Interfaces Configuration Guide, Release 5.x, OL-23435-03
UPC - 882658174445
View all Cisco N7K-C7010 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 260 highlights
Configuration Examples for vPCs Chapter 7 Configuring vPCs Send document comments to [email protected] Step 2 Step 3 Step 4 switch(config)# feature vPC switch(config)# feature lacp (Optional) Configure one of the interfaces that you want to be peer link in dedicated mode. 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. 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)# 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 Step 5 Create and enable the VLANs. switch(config)# vlan 1-50 switch(config-vlan)# no shutdown switch(config-vlan)# exit Step 6 Create a separate VRF for the vPC peer-keepalive link and add a Layer 3 interface to that VRF. 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 Step 8 Configure the vPC peer link. switch(config)# interface port-channel 20 switch(config-if)# switchport mode trunk 7-58 Cisco Nexus 7000 Series NX-OS Interfaces Configuration Guide, Release 5.x OL-23435-03