Cisco 7206 - VXR Router Configuration Manual page 97

Network configuration guide
Table of Contents

Advertisement

Chapter 3
Configuring Layer 2 Interfaces
S e n d d o c u m e n t c o m m e n t s t o n e x u s 7 k - d o c f e e d b a c k @ c i s c o . c o m
SUMMARY STEPS
1.
2.
3.
4.
5.
6.
DETAILED STEPS
Command
Step 1
configure terminal
Example:
switch# configure terminal
switch(config)#
Step 2
interface {type slot/port | port-channel
number}
Example:
switch(config)# interface ethernet 3/1
switch(config-if)#
Step 3
switchport trunk native vlan vlan-id
Example:
switch(config-if)# switchport trunk
native vlan 5
Step 4
exit
Example:
switch(config-if)# exit
switch(config)#
Step 5
show vlan
Example:
switch# show vlan
Step 6
copy running-config startup-config
Example:
switch(config)# copy running-config
startup-config
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
configure terminal
interface {type slot/port | port-channel number}
switchport trunk native vlan vlan-id
exit
(Optional) show vlan
(Optional) copy running-config startup-config
Purpose
Enters configuration mode.
Specifies an interface to configure, and enters interface
configuration mode.
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.
(Optional) Displays the status and information of
VLANs.
(Optional) Copies the running configuration to the
startup configuration.
Cisco Nexus 7000 Series NX-OS Interfaces Configuration Guide, Release 5.x
Configuring Access and Trunk Interfaces
3-15

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents