Verifying That A Private Vlan Is Working - Juniper JUNOS OS 10.4 - FOR EX REV 1 Manual

For ex series ethernet switches
Table of Contents

Advertisement

Verifying That a Private VLAN Is Working

Purpose
Action
Copyright © 2010, Juniper Networks, Inc.
After creating and configuring private VLANs (PVLANs), verify that they are set up properly.
To determine whether you successfully created the primary and secondary VLAN
1.
configurations:
For a PVLAN on a single EX Series switch, use the
user@switch> show configuration vlans
community1 {
interface {
interface a;
interface b;
}
primary-vlan pvlan;
}
community2 {
interface {
interface d;
interface e;
}
primary-vlan pvlan;
}
pvlan {
vlan-id 1000;
interface {
isolated1;
isolated2;
trunk1;
trunk2;
}
no-local-switching;
}
For a PVLAN spanning multiple switches, use the
user@switch> show vlans extensive
VLAN: COM1, Created at: Tue May 11 18:16:05 2010
802.1Q Tag: 100, Internal index: 3, Admin State: Enabled, Origin: Static
Private VLAN Mode: Community, Primary VLAN: primary
Protocol: Port Mode, Mac aging time: 300 seconds
Number of interfaces: Tagged 3 (Active = 3), Untagged
ge-0/0/20.0*, tagged, trunk
ge-0/0/22.0*, tagged, trunk, pvlan-trunk
ge-0/0/23.0*, tagged, trunk, pvlan-trunk
ge-0/0/7.0*, untagged, access
VLAN: __pvlan_primary_ge-0/0/0.0__, Created at: Tue May 11 18:16:05 2010
Internal index: 5, Admin State: Enabled, Origin: Static
Private VLAN Mode: Isolated, Primary VLAN: primary
Protocol: Port Mode, Mac aging time: 300 seconds
Number of interfaces: Tagged 3 (Active = 3), Untagged
ge-0/0/20.0*, tagged, trunk
ge-0/0/22.0*, tagged, trunk, pvlan-trunk
ge-0/0/23.0*, tagged, trunk, pvlan-trunk
ge-0/0/0.0*, untagged, access
Chapter 66: Verifying Bridging and VLAN Configuration
show configuration vlans
show vlans extensive
command:
command:
1 (Active = 1)
1 (Active = 1)
1623

Advertisement

Table of Contents
loading

This manual is also suitable for:

Junos os 10.4

Table of Contents