Configuring The Native Vlan For Untagged Traffic - Cisco Catalyst 3750-X Software Configuration Manual

Hide thumbs Also See for Catalyst 3750-X:
Table of Contents

Advertisement

Chapter 15
Configuring VLANs
Beginning in privileged EXEC mode, follow these steps to remove VLANs from the pruning-eligible list
on a trunk port:
Command
Step 1
configure terminal
Step 2
interface interface-id
switchport trunk pruning vlan {add |
Step 3
except | none | remove} vlan-list
[,vlan[,vlan[,,,]]
Step 4
end
show interfaces interface-id switchport Verify your entries in the Pruning VLANs Enabled field of the display.
Step 5
Step 6
copy running-config startup-config
To return to the default pruning-eligible list of all VLANs, use the no switchport trunk pruning vlan
interface configuration command.

Configuring the Native VLAN for Untagged Traffic

A trunk port configured with IEEE 802.1Q tagging can receive both tagged and untagged traffic. By
default, the switch forwards untagged traffic in the native VLAN configured for the port. The native
VLAN is VLAN 1 by default.
The native VLAN can be assigned any VLAN ID.
Note
For information about IEEE 802.1Q configuration issues, see the
Considerations" section on page
Beginning in privileged EXEC mode, follow these steps to configure the native VLAN on an
IEEE 802.1Q trunk:
Command
Step 1
configure terminal
Step 2
interface interface-id
OL-21521-01
Purpose
Enter global configuration mode.
Select the trunk port for which VLANs should be pruned, and enter
interface configuration mode.
Configure the list of VLANs allowed to be pruned from the trunk. (See
the
"VTP Pruning" section on page
For explanations about using the add, except, none, and remove
keywords, see the command reference for this release.
Separate nonconsecutive VLAN IDs with a comma and no spaces; use a
hyphen to designate a range of IDs. Valid IDs are 2 to 1001.
Extended-range VLANs (VLAN IDs 1006 to 4094) cannot be pruned.
VLANs that are pruning-ineligible receive flooded traffic.
The default list of VLANs allowed to be pruned contains VLANs 2 to
1001.
Return to privileged EXEC mode.
(Optional) Save your entries in the configuration file.
15-17.
Purpose
Enter global configuration mode.
Define the interface that is configured as the IEEE 802.1Q trunk, and
enter interface configuration mode.
Catalyst 3750-X and 3560-X Switch Software Configuration Guide
Configuring VLAN Trunks
16-6).
"IEEE 802.1Q Configuration
15-21

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Catalyst 3560-x

Table of Contents