Configuring Trunk Ports - Cisco 7206 - VXR Router Configuration Manual

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
Command
Step 5
show interface
Example:
switch# show interface
Step 6
copy running-config startup-config
Example:
switch(config)# copy running-config
startup-config
This example shows how to set Ethernet 3/1 as a Layer 2 access port with PortFast enabled and port
channel disabled:
switch# configure terminal
switch(config)# interface ethernet 3/1
switch(config-if)# switchport host
switch(config-if)#

Configuring Trunk Ports

You can configure a Layer 2 port as a trunk port. A trunk port transmits untagged packets for one VLAN
plus encapsulated, tagged, packets for multiple VLANs. (See the
on page 3-4
The device supports 802.1Q encapsulation only.
Note
BEFORE YOU BEGIN
Before you configure a trunk port, ensure that you are configuring a Layer 2 interface.
SUMMARY STEPS
1.
2.
3.
4.
5.
6.
OL-23435-03
for information about encapsulation.)
configure terminal
interface {type slot/port | port-channel number}
switchport mode {access | trunk}
exit
(Optional) show interface
(Optional) copy running-config startup-config
Purpose
(Optional) Displays the interface status and
information.
(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
"IEEE 802.1Q Encapsulation" section
3-13

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents