11-19
Catalyst 6500 Series Switch Software Configuration Guide—Release 8.7
OL-8978-04
Chapter 11 Configuring VLANs
Configuring Private VLANs on the Switch
To clear VLAN mapping, perform this task in privileged mode:
This example shows how to clear the VLAN mapping from port 7/1:
Console>(enable)
clear port vlan-mapping 7/1 2002
VLAN mapping for VLAN 2002 removed from port 7/1-12.
Console>(enable)
Displaying the VLAN Mapping Information
Enter the
show port vlan-mapping
[
mod
|
mod/port
] command to display the VLAN mapping information.
To display VLAN mapping information, perform this task in normal mode:
This example shows how to display the VLAN mapping information for port 7/1:
Console>(enable)
show port vlan-mapping 7/1
Mod/Port Source VLAN Translated VLAN State
Max Allowed (Current) Entries
-------- ----------- --------------- ----------- -----------------------------
7/1
2002
3003
Enabled
128 (1)
Console>(enable)
Note
Enter the
show port capabilities
[
mod
|
mod/port
] command to display the mapping type (per port or per
ASIC) for each port. This command also displays the maximum allowed mappings for each port.
Configuring Private VLANs on the Switch
These sections describe how the private VLANs work:
•
Understanding How Private VLANs Work, page 11-20
•
Private VLAN Configuration Guidelines, page 11-21
•
Creating a Primary Private VLAN, page 11-25
•
Viewing the Port Capability of a Private VLAN Port, page 11-27
•
Deleting a Private VLAN, page 11-28
•
Deleting an Isolated, Community, or Two-Way Community VLAN, page 11-29
•
Deleting a Private VLAN Mapping, page 11-29
•
Private VLAN Support on the MSFC, page 11-30
Task
Command
Clear VLAN mapping.
clear port vlan-mapping
mod/port
all
clear port vlan-mapping
mod/port
[
source-vlan-id
]
clear port vlan-mapping all
Task
Command
Display the VLAN mapping information.
show port vlan-mapping
[
mod
|
mod/port
]