Download  Print this page

Guidelines For Configuring Access And Trunk Interfaces; Configuring A Lan Interface As A Layer 2 Access Port - Cisco 7206 - VXR Router Configuration Manual

Network configuration guide.
Hide thumbs

Advertisement

Configuring Access and Trunk 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
Note
If you are familiar with the Cisco IOS CLI, be aware that the Cisco NX-OS commands for this feature
might differ from the Cisco IOS commands that you would use.

Guidelines for Configuring Access and Trunk Interfaces

All VLANs on a trunk must be in the same VDC.

Configuring a LAN Interface as a Layer 2 Access Port

You can configure a Layer 2 port as an access port. An access port transmits packets on only one,
untagged VLAN. You specify which VLAN traffic that the interface carries, which becomes the access
VLAN. If you do not specify a VLAN for an access port, that interface carries traffic only on the default
VLAN. The default VLAN is VLAN1.
The VLAN must exist before you can specify that VLAN as an access VLAN. The system shuts down
an access port that is assigned to an access VLAN that does not exist.
BEFORE YOU BEGIN
Ensure that you are configuring a Layer 2 interface.
SUMMARY STEPS
1.
2.
3.
4.
5.
6.
7.
Cisco Nexus 7000 Series NX-OS Interfaces Configuration Guide, Release 5.x
3-10
Configuring a LAN Interface as a Layer 2 Access Port, page 3-10
Configuring Access Host Ports, page 3-11
Configuring Trunk Ports, page 3-13
Configuring the Native VLAN for 802.1Q Trunking Ports, page 3-14
Configuring the Allowed VLANs for Trunking Ports, page 3-16
Configuring a Default Interface, page 3-17
Configuring SVI Autostate Exclude, page 3-18
Configuring the Device to Tag Native VLAN Traffic, page 3-20
Changing the System Default Port Mode to Layer 2, page 3-21
configure terminal
interface {{type slot/port} | {port-channel number}}
switchport mode {access | trunk}
switchport access vlan vlan-id
exit
(Optional) show interface
(Optional) copy running-config startup-config
Chapter 3
Configuring Layer 2 Interfaces
OL-23435-03

Advertisement

Table of Contents

   Related Manuals for Cisco 7206 - VXR Router

Comments to this Manuals

Symbols: 0
Latest comments: