Users Guide

Table Of Contents
VLANs 815
console(config)#show vlan
VLAN Name Ports Type
----- ----------- ------------- -------------
1 default Po1-128, Default
Gi1/0/1-10,
Gi1/0/13-24
100 VLAN0100 Te1/1/1, Static
Gi1/0/11-12
101 VLAN0101 Gi1/0/11 Static
102 VLAN0102 Gi1/0/12 Static
Configuring Inter-Switch Private VLANs
This is an example of configuring transport of private VLANs across multiple
switches using a trunk port. Configuration of the private VLAN on other
ports is included for clarity. Te1/0/2 is the trunk port between the switches,
VLAN 2 is the primary VLAN, VLAN 3 is the community VLAN, and VLAN 4
is the isolated VLAN.
==========
! Create the VLANs
vlan 2-4
exit
! Make VLAN 2 primary and associate it to VLANs 3 and 4
vlan 2
private-vlan primary
private-vlan association 3-4
exit
! Make VLAN 3 the community VLAN
vlan 3
private-vlan community
exit
! Make VLAN 4 the isolated VLAN
vlan 4
private-vlan isolated
exit
!
interface Te1/0/2
switchport mode trunk
! This is an optional step to restrict the traffic on the trunk
to just the private VLAN.
! By default, all VLANs are members of a trunk port.
switchport trunk allowed vlan 2-4