Negotiation of Trunking: Off
Access Mode VLAN: 1 (default)
Trunking Native Mode VLAN: 1 (default)
Administrative Native VLAN tagging: enabled
Voice VLAN: none
Administrative private-vlan host-association: 20 501
Administrative private-vlan mapping: none
Administrative private-vlan trunk native VLAN: none
Administrative private-vlan trunk Native VLAN tagging: enabled
Administrative private-vlan trunk encapsulation: dot1q
Administrative private-vlan trunk normal VLANs: none
Administrative private-vlan trunk private VLANs: none
Operational private-vlan:
20 501
<output truncated>
Related Topics
Configuringa Layer 2 Interface as a Private VLAN Host Port, onpage 96
PrivateVLANs Ports, on page 88
Example: Configuring an Interface as a Private VLAN Promiscuous Port
Thisexample shows how to configure an interface as a private VLAN promiscuous port and map it to a private
VLAN.The interface is a member of primary VLAN 20 and secondary VLANs 501 to 503 are mapped to it.
Switch# configure terminal
Switch(config)# interface gigabitethernet1/0/2
Switch(config-if)# switchport mode private-vlan promiscous
Switch(config-if)# switchport private-vlan mapping 20 add 501-503
Switch(config-if)# end
Related Topics
Configuringa Layer 2 Interface as a Private VLAN Promiscuous Port, onpage 98
PrivateVLANs Ports, on page 88
Example: Mapping Secondary VLANs to a Primary VLAN Interface
Thisexample shows how to map the interfaces fo VLANs 501 and 502 to primary VLAN 10, which permits
routingof secondaryVLAN ingress trafficfrom private VLANs 501 and 502:
Switch# configure terminal
Switch(config)# interface vlan 10
Switch(config-if)# private-vlan mapping 501-502
Switch(config-if)# end
Switch# show interfaces private-vlan mapping
Interface Secondary VLAN Type
--------- -------------- -----------------
vlan10 501 isolated
vlan10 502 community
Related Topics
MappingSecondary VLANs to a Primary VLAN Layer 3 VLAN Interface, on page 99
Catalyst 2960-XR Switch VLAN Configuration Guide, Cisco IOS Release 15.0(2)EX1
OL-29440-01 103
Configuring Private VLANs
Example: Configuring an Interface as a Private VLAN Promiscuous Port