Cisco N7K-C7010 Configuration Guide - Page 239
switchport mode trunk, con terminal
UPC - 882658174445
View all Cisco N7K-C7010 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 239 highlights
Chapter 7 Configuring vPCs Configuring vPCs Send document comments to [email protected] Ensure that you are in the correct VDC (or use the switchto vdc command). SUMMARY STEPS 1. configure terminal 2. interface port-channel channel-number 3. (Optional) switchport mode trunk 4. (Optional) switchport trunk allowed vlan vlan-list 5. vpc peer-link 6. exit 7. (Optional) show vpc brief 8. (Optional) copy running-config startup-config DETAILED STEPS Step 1 Command configure terminal Purpose Enters global configuration mode. Step 2 Step 3 Step 4 Example: switch# configure terminal switch(config)# interface port-channel channel-number Example: switch(config)# interface port-channel 20 switch(config-if)# switchport mode trunk Example: switch(config-if)# switchport mode trunk switchport trunk allowed vlan vlan-list Selects the port channel that you want to use as the vPC peer link for this device, and enters the interface configuration mode. (Optional) Configures this interface in trunking mode. (Optional) Configures the allowed VLAN list. Step 5 Example: switch(config-if)# switchport trunk allowed vlan 1-120,201-3967 vpc peer-link Step 6 Example: switch(config-if)# vpc peer-link switch(config-vpc-domain)# exit Configures the selected port channel as the vPC peer link, and enters the vpc-domain configuration mode. Exits the vpc-domain configuration mode. Example: switch(config-vpc-domain)# exit switch(config)# OL-23435-03 Cisco Nexus 7000 Series NX-OS Interfaces Configuration Guide, Release 5.x 7-37