16-10
Catalyst 3750 Switch Software Configuration Guide
OL-8550-02
Chapter 16 Configuring Private VLANs
Configuring Private VLANs
Note
Dynamic MAC addresses learned in one VLAN of a private VLAN are replicated in the
associated VLANs. For example, a MAC address learned in a secondary VLAN is replicated
in the primary VLAN. When the original dynamic MAC address is deleted or aged out, the
replicated addresses are removed from the MAC address table.
•
Configure Layer 3 VLAN interfaces (SVIs) only for primary VLANs.
Configuring and Associating VLANs in a Private VLAN
Beginning in privileged EXEC mode, follow these steps to configure a private VLAN:
Note
The
private-vlan
commands do not take effect until you exit VLAN configuration mode.
Command
Purpose
Step 1
configure terminal
Enter global configuration mode.
Step 2
vtp mode transparent
Set VTP mode to transparent (disable VTP).
Step 3
vlan
vlan-id
Enter VLAN configuration mode and designate or create a VLAN that
will be the primary VLAN. The VLAN ID range is 2 to 1001 and 1006
to 4094.
Step 4
private-vlan
primary
Designate the VLAN as the primary VLAN.
Step 5
exit
Return to global configuration mode.
Step 6
vlan
vlan-id
(Optional) Enter VLAN configuration mode and designate or create a
VLAN that will be an isolated VLAN. The VLAN ID range is 2 to 1001
and 1006 to 4094.
Step 7
private-vlan
isolated
Designate the VLAN as an isolated VLAN.
Step 8
exit
Return to global configuration mode.
Step 9
vlan
vlan-id
(Optional) Enter VLAN configuration mode and designate or create a
VLAN that will be a community VLAN. The VLAN ID range is 2 to
1001 and 1006 to 4094.
Step 10
private-vlan
community
Designate the VLAN as a community VLAN.
Step 11
exit
Return to global configuration mode.
Step 12
vlan
vlan-id
Enter VLAN configuration mode for the primary VLAN designated in
Step 2.
Step 13
private-vlan association
[
add
|
remove
]
secondary_vlan_list
Associate the secondary VLANs with the primary VLAN.
Step 14
end
Return to privileged EXEC 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 ...