13-23
Catalyst 3750 Switch Software Configuration Guide
OL-8550-02
Chapter 13 Configuring VLANs
Configuring VLAN Trunks
Beginning in privileged EXEC mode, follow these steps to remove VLANs from the pruning-eligible list
on a trunk port:
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.
Note
The native VLAN can be assigned any VLAN ID.
For information about IEEE 802.1Q configuration issues, see the
“IEEE 802.1Q Configuration
Considerations” section on page 13-19
.
Beginning in privileged EXEC mode, follow these steps to configure the native VLAN on an
IEEE 802.1Q trunk:
Command
Purpose
Step 1
configure terminal
Enter global configuration mode.
Step 2
interface
interface-id
Select the trunk port for which VLANs should be pruned, and enter
interface configuration mode.
Step 3
switchport trunk pruning vlan
{
add
|
except
|
none
|
remove
}
vlan-list
[
,vlan
[
,vlan
[
,,,
]]
Configure the list of VLANs allowed to be pruned from the trunk.
(See
the
“VTP Pruning” section on page 14-4
).
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.
Step 4
end
Return to privileged EXEC mode.
Step 5
show
interfaces
interface-id
switchport
Verify your entries in the
Pruning VLANs Enabled
field of the display.
Step 6
copy running-config startup-config
(Optional) Save your entries in the configuration file.
Command
Purpose
Step 1
configure terminal
Enter global configuration mode.
Step 2
interface
interface-id
Define the interface that is configured as the IEEE 802.1Q trunk, and
enter interface configuration mode.
Содержание 3750G - Catalyst Integrated Wireless LAN Controller
Страница 80: ...1 28 Catalyst 3750 Switch Software Configuration Guide OL 8550 02 Chapter 1 Overview Where to Go Next ...
Страница 606: ...27 8 Catalyst 3750 Switch Software Configuration Guide OL 8550 02 Chapter 27 Configuring UDLD Displaying UDLD Status ...
Страница 670: ...31 18 Catalyst 3750 Switch Software Configuration Guide OL 8550 02 Chapter 31 Configuring SNMP Displaying SNMP Status ...
Страница 1048: ...41 20 Catalyst 3750 Switch Software Configuration Guide OL 8550 02 Chapter 41 Configuring MSDP Monitoring and Maintaining MSDP ...
Страница 1086: ...43 26 Catalyst 3750 Switch Software Configuration Guide OL 8550 02 Chapter 43 Troubleshooting Using the crashinfo Files ...
Страница 1104: ...B 4 Catalyst 3750 Switch Software Configuration Guide OL 8550 02 Appendix B Supported MIBs Using FTP to Access the MIB Files ...