EasyManuals Logo
Home>Cisco>Network Router>7604

Cisco 7604 User Manual

Cisco 7604
1011 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #218 background imageLoading...
Page #218 background image
15-12
Cisco 7600 Series Router Cisco IOS Software Configuration Guide, Release 12.2SX
OL-4266-08
Chapter 15 Configuring Private VLANs
Configuring Private VLANs
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 Interfaces
------- --------- ----------------- ------------------------------------------
202 primary
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 Interfaces
------- --------- ----------------- ------------------------------------------
202 primary
303 community
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 Interfaces
------- --------- ----------------- ------------------------------------------
202 primary
303 community
440 isolated
Associating Secondary VLANs with a Primary VLAN
To associate secondary VLANs with a primary VLAN, perform this task:
Step 3
Router(config-vlan)# end
Exits configuration mode.
Step 4
Router# show vlan private-vlan [type]
Verifies the configuration.
Command Purpose
Command Purpose
Step 1
Router(config)# vlan
primary_vlan_ID
Enters VLAN configuration submode for the primary
VLAN.
Step 2
Router(config-vlan)# private-vlan association
{
secondary_vlan_list
| add
secondary_vlan_list
|
remove
secondary_vlan_list
}
Associates the secondary VLANs with the primary
VLAN.
Router(config-vlan)# no private-vlan association
Clears all secondary VLAN associations.
Step 3
Router(config-vlan)# end
Exits VLAN configuration mode.
Step 4
Router# show vlan private-vlan [type]
Verifies the configuration.

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Cisco 7604 and is the answer not in the manual?

Cisco 7604 Specifications

General IconGeneral
BrandCisco
Model7604
CategoryNetwork Router
LanguageEnglish

Related product manuals