![Juniper JUNOS OS 10.3 - SOFTWARE Manual Download Page 1435](http://html.mh-extra.com/html/juniper/junos-os-10-3-software/junos-os-10-3-software_manual_20327931435.webp)
Step-by-Step
Procedure
To configure the three VLANs on the Distribution Switch, to configure the trunk interfaces,
and to enable GVRP on the trunk interface of the Distribution Switch:
1.
Configure the finance VLAN:
[edit]
user@Distribution-Switch#
set
vlans
finance vlan–id 100
2.
Configure the lab VLAN:
[edit]
user@Distribution-Switch#
set vlans lab vlan–id 200
3.
Configure the sales VLAN:
[edit]
user@Distribution-Switch#
set vlans sales vlan–id 300
4.
Configure the trunk interface to Access Switch A:
[edit]
user@Distribution-Switch#
set interfaces xe-0/1/1 unit 0
family
ethernet-switching
port-mode
trunk
5.
Configure the trunk interface to Access Switch B:
[edit]
user@Distribution-Switch#
set interfaces xe-0/1/0 unit 0 family ethernet-switching
port-mode trunk
6.
Enable GVRP on the trunk interface for
xe-0/1/1
:
[edit]
user@Distribution-Switch#
set protocols
gvrp
interface xe-0/1/1.0
7.
Enable GVRP on the trunk interface for
xe-0/1/0
:
[edit]
user@Distribution-Switch#
set protocols gvrp interface xe-0/1/0.0
Results
Display the results of the configuration:
[edit]
user@Distribution Switch-D #show
interfaces {
ge-0/0/0 {
unit 0 {
family ethernet-switching;
}
}
ge-0/0/1 {
unit 0 {
family ethernet-switching;
}
}
ge-0/0/2 {
unit 0 {
family ethernet-switching;
}
}
1339
Copyright © 2010, Juniper Networks, Inc.
Chapter 58: Examples: Bridging and VLAN Configuration
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 ...