Verifies PVLAN port configuration

To configure a Layer 2 interface as a PVLAN promiscuous port, perform this procedure:

Switch(config)#interface {fastethernet | gigabitethernet}

slot/port

Switch(config-if)#switchport mode private-vlan {host |

promiscuous}

Switch(config-if)#[no] switchport private-vlan mapping primary_vlan_ID {secondary_vlan_list | add secondary_vlan_list

| remove secondary_vlan_list}

Here are best practices to consider when you configure a Layer 2 interface as a PVLAN

promiscuous port:

■ The secondary_vlan_list parameter cannot contain spaces. It can contain multiple comma-separated items. Each item can be a single PVLAN ID or a hyphenated range of PVLAN IDs.

■ Enter a secondary_vlan_list or use the add keyword with a secondary_vlan_list to map the secondary VLANs to the PVLAN promiscuous port.

■ Use the remove keyword with a secondary_vlan_list to clear the mapping between secondary VLANs and the PVLAN promiscuous port.

■ Use the no keyword to clear all mapping from the PVLAN promiscuous port.

8-38 Building Cisco Multilayer Switched Networks (BCMSN) v3.0 © 2006 Cisco Systems, Inc.

Was this article helpful?

0 0

Post a comment