Default SettingFeature
VLANs2 to1001VLANrange eligiblefor pruning
VLAN1DefaultVLAN (for access ports)
VLAN1NativeVLAN (for IEEE 802.1Q trunks)
How to Configure VLAN Trunks
Toavoid trunking misconfigurations, configure interfaces connected to devices that do not support DTP to
notforward DTP frames, that is, to turn off DTP.
Ifyou do not intend to trunk across those links, use the switchport mode access interface configuration
commandto disable trunking.
Toenable trunking to a device that does not support DTP,use the switchport mode trunk and switchport
nonegotiateinterface configuration commands to cause the interface to become a trunk but to not
generateDTP frames.

Configuring an Ethernet Interface as a Trunk Port

Configuring a Trunk Port

Becausetrunk ports send and receive VTP advertisements, to use VTP you must ensure that at least one trunk
portis configured on the switch and that this trunk port is connected to the trunk port of a second switch.
Otherwise,the switch cannotreceive any VTP advertisements.
Before You Begin
SUMMARY STEPS
1. configureterminal
2. interfaceinterface-id
3. switchportmode {dynamic {auto |desirable} | trunk}
4. switchportaccess vlan vlan-id
5. switchporttrunk native vlanvlan-id
6. end
7. showinterfaces interface-id switchport
8. showinterfaces interface-id trunk
9. copyrunning-config startup-config
Catalyst 2960-XR Switch VLAN Configuration Guide, Cisco IOS Release 15.0(2)EX1
OL-29440-01 67
Configuring VLAN Trunks
How to Configure VLAN Trunks