Cisco Catalyst 4500 Series Configuration Manual page 641

Ios software configuration guide isco ios xe 3.9.0e and ios 15.2(5)ex
Hide thumbs Also See for Catalyst 4500 Series:
Table of Contents

Advertisement

Chapter 2
The following example shows how to configure VLAN 440 as an isolated VLAN and verify the
configuration:
Switch# configure terminal
Switch(config)# vlan 440
Switch(config-vlan)# private-vlan isolated
Switch(config-vlan)# end
Switch# show vlan private-vlan
Primary Secondary Type
------- --------- ----------------- ------------------------------------------
202
The following example shows how to create a private VLAN relationship among the primary VLAN 14,
the isolated VLAN 19, and community VLANs 20 and 21:
Switch(config)# vlan 19
Switch(config-vlan) # private-vlan isolated
Switch(config)# vlan 14
Switch(config-vlan)# private-vlan primary
Switch(config-vlan)# private-vlan association 19
The following example shows how to remove a private VLAN relationship and delete the primary
VLAN. The associated secondary VLANs are not deleted.
Switch(config-vlan)# no private-vlan 14
Switch(config-vlan)#
The following example shows how to configure VLAN 550 as a twoway-community VLAN and verify
the configuration:
Switch# configure terminal
Switch(config)# vlan 550
Switch(config-vlan)# private-vlan twoway-community
Switch(config-vlan)# end
Switch# show vlan private-vlan
Primary Secondary Type
------- --------- ----------------- ------------------------------------------
202
The following example shows how to associate community VLANs 303 through 307 and 309 and
isolated VLAN 440 with primary VLAN 202 and verify the configuration:
Switch# configure terminal
Switch(config)# vlan 202
Switch(config-vlan)# private-vlan association 303-307,309,440
Switch(config-vlan)# end
Switch# show vlan private-vlan
Primary Secondary Type
------- --------- ----------------- ------------------------------------------
202
202
202
202
202
202
primary
303
community
440
isolated
primary
303
community
440
isolated
550
twoway-community
303
community
304
community
305
community
306
community
307
community
309
community
Catalyst 4500 Series Switch Cisco IOS Command Reference—Release XE 3.9.xE and 15.2(5)Ex
Interfaces
Interfaces
Interfaces
private-vlan
2-601

Advertisement

Table of Contents
loading

Table of Contents