Cisco Nexus 5000 Series Switch CLI Software Configuration Guide, NX-OS 4.0(1a)N1 (OL-16597-01, January 2009)

CHAPTER
Send feedback to nx5000-docfeedback@cisco.com
12-1
Cisco Nexus 5000 Series Switch CLI Software Configuration Guide
OL-16597-01
12
Configuring Access and Trunk Interfaces
Ethernet interfaces can be configured either as access ports or trunk ports. Trunks carry the traffic of
multiple VLANs over a single link and allow you to extend VLANs across the network.
This chapter includes the following sections:
Information About Access and Trunk Interfaces, page 12-1
Configuring Access and Trunk Interfaces, page 12-4
Verifying Interface Configuration, page 12-8
Information About Access and Trunk Interfaces
This section includes the following topics:
Understanding Access and Trunk Interfaces, page 12-1
Understanding IEEE 802.1Q Encapsulation, page 12-2
Understanding Access VLANs, page 12-3
Understanding the Native VLAN ID for Trunk Ports, page 12-3
Understanding Allowed VLANs, page 12-4
Note Cisco NX-OS supports only IEEE 802.1Q-type VLAN trunk encapsulation.
Understanding Access and Trunk Interfaces
Ethernet interfaces can be configured either as access ports or a trunk ports, as follows:
An access port can have only one VLAN configured on the interface; it can carry traffic for only one
VLAN.
A trunk port can have two or more VLANs configured on the interface; it can carry traffic for several
VLANs simultaneously.
Figure 12-1 show how you can use trunk ports in the network. The trunk port carries traffic for two or
more VLANs.