Cisco 4500M Command Reference Manual page 238

Command reference
Hide thumbs Also See for 4500M:
Table of Contents

Advertisement

private-vlan mapping
Examples
This example shows how to map the interface of VLAN 20 to the SVI of VLAN 18:
Switch(config)# interface vlan 18
Switch(config-if)# private-vlan mapping 18 20
Switch(config-if)#
This example shows how to permit routing of secondary VLAN ingress traffic from PVLANs 303
through 307, 309, and 440 and how to verify the configuration:
Switch# config terminal
Switch(config)# interface vlan 202
Switch(config-if)# private-vlan mapping add 303-307,309,440
Switch(config-if)# end
Switch# show interfaces private-vlan mapping
Interface Secondary VLAN Type
--------- -------------- -----------------
vlan202
vlan202
vlan202
vlan202
vlan202
vlan202
vlan202
Switch#
This example shows the displayed error message you will see if the VLAN you are adding is already
mapped to the SVI of VLAN 18. You must delete the mapping from the SVI of VLAN 18 first:
Switch(config)# interface vlan 19
Switch(config-if)# private-vlan mapping 19 add 21
Switch(config-if)#
This example shows how to remove all PVLAN mappings from the SVI of VLAN 19:
Switch(config)# interface vlan 19
Switch(config-if)# no private-vlan mapping
Switch(config-if)#
Related Commands
show interfaces private-vlan mapping
show vlan
show vlan private-vlan
Catalyst4500 Series SwitchCiscoIOS Command Reference—Release 12.2(18)EW
2-206
303
isolated
304
isolated
305
isolated
306
isolated
307
isolated
309
isolated
440
isolated
Command rejected: The interface for VLAN 21 is already mapped as s secondary.
Chapter2
Cisco IOS Commands for the Catalyst 4500 Series Switches
78-16201-01

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ws-c4507r4500 series

Table of Contents