Cisco N7K-C7010 Configuration Guide - Page 174
allowed vlan, switchport trunk
UPC - 882658174445
View all Cisco N7K-C7010 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 174 highlights
Configuring Port Channels Chapter 6 Configuring Port Channels Send document comments to [email protected] Ensure that you are in the correct VDC (or use the switchto vdc command). All Layer 2 member ports must run in full-duplex mode and at the same speed. SUMMARY STEPS 1. configure terminal 2. interface type slot/port 3. switchport 4. switchport mode trunk 5. switchport trunk {allowed vlan vlan-id | native vlan-id} 6. channel-group channel-number [force] [mode {on | active | passive}] 7. show interface type slot/port 8. copy running-config startup-config DETAILED STEPS Step 1 Command configure terminal Purpose Enters configuration mode. Step 2 Example: switch# configure terminal switch(config)# interface type slot/port Step 3 Example: switch(config)# interface ethernet 1/4 switch(config-if) switchport Specifies the interface that you want to add to a channel group, and enters the interface configuration mode. Configures the interface as a Layer 2 access port. Step 4 Step 5 Example: switch(config-if)# switchport switchport mode trunk Example: switch(config-if)# switchport mode trunk switchport trunk {allowed vlan vlan-id | native vlan-id} (Optional) Configures the interface as a Layer 2 trunk port. (Optional) Configures necessary parameters for a Layer 2 trunk port. Example: switch(config-if)# switchport trunk native 3 6-18 Cisco Nexus 7000 Series NX-OS Interfaces Configuration Guide, Release 5.x OL-23435-03