![Juniper JUNOS OS 10.3 - SOFTWARE Manual Download Page 1459](http://html.mh-extra.com/html/juniper/junos-os-10-3-software/junos-os-10-3-software_manual_20327931459.webp)
set interfaces ge-0/0/1 unit 0 family ethernet-switching vlan members lab
set interfaces xe-0/1/0 unit 0 family ethernet-switching port-mode trunk
set protocols mvrp interface xe-0/1/0.0
Step-by-Step
Procedure
To configure access Switch B for MVRP:
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 MVRP on the trunk interface:
[edit]
user@Access-Switch-B#
set protocols
mvrp
xe-0/1/0.0
NOTE:
As we recommend as a best practice, default MVRP timers are
used in this example. The default values associated with each MVRP
timer are: 200 ms for the join timer, 1000 ms for the leave timer, and
10000 ms for the leaveall timer. Modifying timers to inappropriate values
might cause an imbalance in the operation of MVRP.
Results
Check the results of the configuration:
[edit]
user@Access-Switch-B# show
interfaces {
ge-0/0/0 {
unit 0 {
1363
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 ...