2-321
Catalyst 3560 Switch Command Reference
78-16405-05
Chapter 2 Catalyst 3560 Switch Cisco IOS Commands
private-vlan mapping
Examples
This example shows how to map the interface of VLAN 20 to the SVI of VLAN 18:
Switch#
configure terminal
Switch#
interface vlan 18
Switch(config-if)#
private-vlan mapping 20
Switch(config-vlan)#
end
This example shows how to permit routing of secondary VLAN traffic from secondary VLANs 303 to
305 and 307 through VLAN 20 SVI:
Switch#
configure terminal
Switch#
interface vlan 20
Switch(config-if)#
private-vlan mapping 303-305, 307
Switch(config-vlan)#
end
You can verify your setting by entering the
show interfaces private-vlan mapping
privileged EXEC
command.
Related Commands
Command
Description
show interfaces
private-vlan
mapping
Display private-VLAN mapping information for the VLAN SVIs.