PurposeCommand or Action
Returnsto privileged EXEC mode.end
Example:
Switch(config)# end
Step 4
Verifiesyour entries in the Pruning VLANs Enabled field of the display.showinterfaces interface-id switchport
Example:
Switch# show interfaces
Step 5
gigabitethernet2/0/1 switchport
(Optional)Saves your entriesin the configurationfile.copyrunning-config startup-config
Example:
Switch# copy running-config
Step 6
startup-config
Configuring the Native VLAN for Untagged Traffic
Atrunk port configured with IEEE 802.1Q tagging can receive both tagged and untagged traffic. By default,
theswitch forwards untagged traffic in the native VLAN configured for the port. The native VLAN is VLAN
1by default.
Thenative VLAN can be assigned any VLAN ID.
Ifa packet has a VLAN ID that is the same as the outgoing port native VLAN ID, the packet is sent untagged;
otherwise,the switch sends the packet with a tag.
SUMMARY STEPS
1. configureterminal
2. interfaceinterface-id
3. switchporttrunk native vlanvlan-id
4. end
5. showinterfaces interface-id switchport
6. copyrunning-config startup-config
Catalyst 2960-XR Switch VLAN Configuration Guide, Cisco IOS Release 15.0(2)EX1
72 OL-29440-01
Configuring VLAN Trunks
Configuring an Ethernet Interface as a Trunk Port