![Juniper JUNOS OS 10.3 - SOFTWARE Manual Download Page 1432](http://html.mh-extra.com/html/juniper/junos-os-10-3-software/junos-os-10-3-software_manual_20327931432.webp)
Step-by-Step
Procedure
To configure Access Switch B to support the three VLANs, bind interfaces for the two
PCs to the appropriate VLAN, and enable GVRP on the trunk interface, copy the following
commands and paste them into the switch terminal window of Switch B:
1.
Configure the finance VLAN:
[edit]
user@Access-Switch-B#
set vlans finance
vlan-id
100
2.
Configure the lab VLAN:
[edit]
user@Access-Switch-B#
set vlans lab vlan–id 200
3.
Configure the sales VLAN:
[edit]
user@Access-Switch-B#
set vlans sales vlan–id 300
4.
Configure an Ethernet interface as a member of the finance VLAN:
[edit]
user@Access-Switch-B#
set interfaces ge-0/0/0 unit 0
family
ethernet-switching
vlan members finance
5.
Configure an Ethernet interface as a member of the lab VLAN:
[edit]
user@Access-Switch-B#
set interfaces ge-0/0/1 unit 0 family ethernet-switching
vlan
members
lab
6.
Configure a trunk interface:
user@Access-Switch-B#
set interfaces xe-0/1/0 unit 0 family ethernet-switching
port-mode trunk
7.
Enable GVRP on the trunk interface:
[edit]
user@Access-Switch-B#
set protocols
gvrp
xe-0/1/0.0
NOTE:
As we recommend, default GVRP timers are used in this example.
The default values associated with each GVRP timer are: 200 ms for
the join timer, 600 ms for the leave timer, and 1000 cs (10000 ms) for
the leaveall timer. Modifying timers to inappropriate values might cause
an imbalance in the operation of GVRP. Refer to IEEE 802.1D [2004]
Clause 12 for more information. The timer values are displayed when
you use the show gvrp command to verify that GVRP is enabled. For
more information on the timers, see gvrp and its associated configuration
statements.
Results
Check the results of the configuration:
[edit]
Copyright © 2010, Juniper Networks, Inc.
1336
Complete Software Guide for Junos
®
OS for EX Series Ethernet Switches, Release 10.3
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 ...