EasyManua.ls Logo

Cisco 7206 - VXR Router

Cisco 7206 - VXR Router
308 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Send document comments to nexus7k-docfeedback@cisco.com
3-15
Cisco Nexus 7000 Series NX-OS Interfaces Configuration Guide, Release 5.x
OL-23435-03
Chapter 3 Configuring Layer 2 Interfaces
Configuring Access and Trunk Interfaces
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
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)#
Command Purpose
Step 1
configure terminal
Example:
switch# configure terminal
switch(config)#
Enters configuration mode.
Step 2
interface {type slot/port | port-channel
number}
Example:
switch(config)# interface ethernet 3/1
switch(config-if)#
Specifies an interface to configure, and enters interface
configuration mode.
Step 3
switchport trunk native vlan vlan-id
Example:
switch(config-if)# switchport trunk
native vlan 5
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.
Step 4
exit
Example:
switch(config-if)# exit
switch(config)#
Exits the interface mode.
Step 5
show vlan
Example:
switch# show vlan
(Optional) Displays the status and information of
VLANs.
Step 6
copy running-config startup-config
Example:
switch(config)# copy running-config
startup-config
(Optional) Copies the running configuration to the
startup configuration.

Table of Contents

Other manuals for Cisco 7206 - VXR Router

Related product manuals