To configure a series of tagged VLANs using the CLI (here, the VLAN is
employee
):
1.
Configure the series (here, a VLAN series from 120 through 130):
[edit]
user@switch#
set vlans employee
vlan-range
120-130
2.
Associate a series of tagged VLANs when you configure an interface in one of two
ways:
•
Include the name of the series:
[edit interfaces]
user@switch#
set interfaces ge-0/0/22.0 family ethernet-switching vlan
members
employee
•
Include the VLAN range:
[edit interfaces]
user@switch#
set interfaces ge-0/0/22.0 family ethernet-switching vlan
members
120–130
Associating a series of tagged VLANS to an interface by name or by VLAN range have
the same result: VLANs
__employee_120__
through
__employee_130__
are created.
NOTE:
When a series of VLANs are created using the vlan-range command,
the VLAN names are prefixed and suffixed with a double underscore.
Related
Documentation
Verifying That a Series of Tagged VLANs Has Been Created on page 1397
•
•
Example: Setting Up Basic Bridging and a VLAN for an EX Series Switch on page 1305
•
Example: Setting Up Bridging with Multiple VLANs for EX Series Switches on page 1312
•
Example: Connecting an Access Switch to a Distribution Switch on page 1320
•
Understanding Bridging and VLANs on EX Series Switches on page 1283
1383
Copyright © 2010, Juniper Networks, Inc.
Chapter 59: Configuring 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 ...