Associating Secondary Vlans With A Primary Vlan - Cisco 7604 Configuration Manual

Ios software configuration guide
Hide thumbs Also See for 7604:
Table of Contents

Advertisement

Configuring Private VLANs
Command
Step 3
Router(config-vlan)# end
Step 4
Router# show vlan private-vlan [type]
This example shows how to configure VLAN 202 as a primary VLAN and verify the configuration:
Router# configure terminal
Router(config)# vlan 202
Router(config-vlan)# private-vlan primary
Router(config-vlan)# end
Router# show vlan private-vlan
Primary Secondary Type
------- --------- ----------------- ------------------------------------------
202
This example shows how to configure VLAN 303 as a community VLAN and verify the configuration:
Router# configure terminal
Router(config)# vlan 303
Router(config-vlan)# private-vlan community
Router(config-vlan)# end
Router# show vlan private-vlan
Primary Secondary Type
------- --------- ----------------- ------------------------------------------
202
This example shows how to configure VLAN 440 as an isolated VLAN and verify the configuration:
Router# configure terminal
Router(config)# vlan 440
Router(config-vlan)# private-vlan isolated
Router(config-vlan)# end
Router# show vlan private-vlan
Primary Secondary Type
------- --------- ----------------- ------------------------------------------
202

Associating Secondary VLANs with a Primary VLAN

To associate secondary VLANs with a primary VLAN, perform this task:
Command
Step 1
Router(config)# vlan primary_vlan_ID
Step 2
Router(config-vlan)# private-vlan association
{ secondary_vlan_list | add secondary_vlan_list |
remove secondary_vlan_list }
Router(config-vlan)# no private-vlan association
Step 3
Router(config-vlan)# end
Step 4
Router# show vlan private-vlan [type]
Cisco 7600 Series Router Cisco IOS Software Configuration Guide, Release 12.2SX
15-12
primary
primary
303
community
primary
303
community
440
isolated
Purpose
Exits configuration mode.
Verifies the configuration.
Interfaces
Interfaces
Interfaces
Purpose
Enters VLAN configuration submode for the primary
VLAN.
Associates the secondary VLANs with the primary
VLAN.
Clears all secondary VLAN associations.
Exits VLAN configuration mode.
Verifies the configuration.
Chapter 15
Configuring Private VLANs
OL-4266-08

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

761376067609-s7600 series

Table of Contents