Juniper EX9200 Features Manual page 102

Spanning-tree protocols feature guide ex series
Hide thumbs Also See for EX9200:
Table of Contents

Advertisement

Spanning-Tree Protocols Feature Guide for EX9200 Switches
Step-by-Step
Procedure
86
To configure interfaces and MSTP on Switch 1:
NOTE:
Starting with Junos OS Release 15.1 for EX Series and QFX Series
switches with support for the Enhanced Layer 2 Software (ELS) configuration
style, you can configure spanning tree parameters globally on all spanning
tree interfaces. See
Configure the VLANs
1.
[edit vlans]
user@switch1# set voice-vlan description "Voice VLAN"
user@switch1# set voice-vlan vlan-id 10
user@switch1# set employee-vlan description "Employee VLAN"
user@switch1# set employee-vlan vlan-id 20
user@switch1# set guest-vlan description "Guest VLAN"
user@switch1# set guest-vlan vlan-id 30
user@switch1# set camera-vlan description "Camera VLAN"
user@switch1# set guest-vlan vlan-id 40
Configure the VLANs on the interfaces, including support for the Ethernet Switching
2.
protocol:
[edit interfaces]
user@switch1# set ge-0/0/13 unit 0 family ethernet-switching vlan members [10 20 30
40]
user@switch1# set ge-0/0/9 unit 0 family ethernet-switching vlan members [10 20 30
40]
user@switch1# set ge-0/0/11 unit 0 family ethernet-switching vlan members [10 20 30
40]
Configure the port mode for the interfaces:
3.
[edit interfaces]
user@switch1# set ge-0/0/13 unit 0 family ethernet-switching interface-mode trunk
user@switch1# set ge-0/0/9 unit 0 family ethernet-switching interface-mode trunk
user@switch1# set ge-0/0/11 unit 0 family ethernet-switching interface-mode trunk
Configure MSTP on the switch, including the two MSTIs:
4.
[edit protocols]
user@switch1# mstp configuration-name region1
user@switch1# mstp bridge-priority 16k
user@switch1# mstp interface ge-0/0/13 cost 1000
user@switch1# mstp interface ge-0/0/13 mode point-to-point
user@switch1# mstp interface ge-0/0/9 cost 1000
user@switch1# mstp interface ge-0/0/9 mode point-to-point
user@switch1# mstp interface ge-0/0/11 cost 1000
user@switch1# mstp interface ge-0/0/11 mode point-to-point
user@switch1# mstp msti 1 bridge-priority 16k
user@switch1# mstp msti 1 vlan [10 20]
user@switch1# mstp msti 1 interface ge-0/0/11 cost 1000
user@switch1# mstp msti 2 bridge-priority 8k
user@switch1# mstp msti 2 vlan [30 40]
"Configuring MSTP" on page 108
,
,
voice-vlan
employee-vlan
for additional information.
, and
guest-vlan
camera-vlan
Copyright © 2017, Juniper Networks, Inc.
:

Advertisement

Table of Contents
loading

Table of Contents