
vlans
Syntax
vlans {
vlan-name {
description
text-description;
dot1q-tunneling
{
customer-vlans
(id | range)
layer2-protocol-tunneling
all | protocol-name {
drop-threshold
number;
shutdown-threshold
number;
}
}
filter
input filter-name;
filter
output filter-name;
interface
interface-name {
mapping
(native (push | swap) | policy | tag (push | swap));
}
l3-interface
vlan.logical-interface-number;
mac-limit
number;
mac-table-aging-time
seconds;
no-local-switching
;
no-mac-learning
;
primary-vlan
vlan-name;
vlan-id
number;
vlan-range
vlan-id-low-vlan-id-high;
}
}
Hierarchy Level
[edit]
Release Information
Statement introduced in Junos OS Release 9.0 for EX Series switches.
Options
dot1q-tunneling
,
no-local-switching
, and
primary-vlan
introduced in Junos OS
Release 9.3 for EX Series switches.
Periods (.) in VLAN names introduced in Junos OS Release 9.4 for EX Series switches.
Option
no-mac-learning
introduced in Junos OS Release 9.5 for EX Series switches.
Option
mapping
introduced in Junos OS Release 9.6 for EX Series switches.
Option
swap
introduced in Junos OS Release 10.0 for EX Series switches.
Description
Configure VLAN properties on EX Series switches. The following configuration guidelines
apply:
•
Only private VLAN (PVLAN) firewall filters can be used when the VLAN is enabled for
Q-in-Q tunneling.
•
An S-VLAN tag is added to the packet if the VLAN is dot1q-tunneled and the packet is
arriving from an access interface.
•
You cannot use a firewall filter to assign a routed VLAN interface (RVI) to a VLAN.
•
VLAN assignments performed using a firewall filter override all other VLAN assignments.
Default
If you use the default factory configuration, all switch interfaces become part of the VLAN
default
.
1467
Copyright © 2010, Juniper Networks, Inc.
Chapter 62: Configuration Statements for Bridging and VLANs
Summary of Contents for JUNOS OS 10.3 - SOFTWARE
Page 325: ...CHAPTER 17 Operational Mode Commands for System Setup 229 Copyright 2010 Juniper Networks Inc ...
Page 1323: ...CHAPTER 56 Operational Mode Commands for Interfaces 1227 Copyright 2010 Juniper Networks Inc ...
Page 2841: ...CHAPTER 86 Operational Commands for 802 1X 2745 Copyright 2010 Juniper Networks Inc ...
Page 3367: ...CHAPTER 113 Operational Mode Commands for CoS 3271 Copyright 2010 Juniper Networks Inc ...
Page 3435: ...CHAPTER 120 Operational Mode Commands for PoE 3339 Copyright 2010 Juniper Networks Inc ...
Page 3529: ...CHAPTER 126 Operational Mode Commands for MPLS 3433 Copyright 2010 Juniper Networks Inc ...