Cisco N7K-C7010 Configuration Guide - Page 97
con terminal, interface, port-channel, switchport trunk native vlan, Optional show vlan,
UPC - 882658174445
View all Cisco N7K-C7010 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 97 highlights
Chapter 3 Configuring Layer 2 Interfaces Configuring Access and Trunk Interfaces Send document comments to [email protected] SUMMARY STEPS 1. configure terminal 2. interface {type slot/port | port-channel number} 3. switchport trunk native vlan vlan-id 4. exit 5. (Optional) show vlan 6. (Optional) copy running-config startup-config DETAILED STEPS Step 1 Command configure terminal Purpose Enters configuration mode. Step 2 Step 3 Step 4 Example: switch# configure terminal switch(config)# interface {type slot/port | port-channel number} Specifies an interface to configure, and enters interface configuration mode. Example: switch(config)# interface ethernet 3/1 switch(config-if)# switchport trunk native vlan vlan-id Example: switch(config-if)# switchport trunk native vlan 5 exit Sets the native VLAN for the 802.1Q trunk. Valid values are from 1 to 4094, except those VLANs reserved for internal use. The default value is VLAN1. Exits the interface mode. Step 5 Example: switch(config-if)# exit switch(config)# show vlan Step 6 Example: switch# show vlan copy running-config startup-config Example: switch(config)# copy running-config startup-config (Optional) Displays the status and information of VLANs. (Optional) Copies the running configuration to the startup configuration. This example shows how to set the native VLAN for the Ethernet 3/1, Layer 2 trunk port to VLAN 5: switch# configure terminal switch(config)# interface ethernet 3/1 switch(config-if)# switchport trunk native vlan 5 switch(config-if)# OL-23435-03 Cisco Nexus 7000 Series NX-OS Interfaces Configuration Guide, Release 5.x 3-15