Juniper EX9200 Features Manual page 101

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

Advertisement

Configuring MSTP on Switch 1
CLI Quick
Configuration
Copyright © 2017, Juniper Networks, Inc.
The VLANs are associated with specific interfaces on each of the four switches. Two
MSTIs,
and
, are then associated with the VLAN tag identifiers, and some MSTP
1
2
parameters, such as cost, are configured on each switch.
To quickly configure interfaces and MSTP on Switch 1, copy the following commands
and paste them into the switch terminal window:
[edit]
set vlans voice-vlan description "Voice VLAN"
set vlans voice-vlan vlan-id 10
set vlans employee-vlan description "Employee VLAN"
set vlans employee-vlan vlan-id 20
set vlans guest-vlan description "Guest VLAN"
set vlans guest-vlan vlan-id 30
set vlans camera-vlan description "Camera VLAN"
set vlans camera-vlan vlan-id 40
set interfaces ge-0/0/13 unit 0 family ethernet-switching vlan members [10 20 30 40]
set interfaces ge-0/0/9 unit 0 family ethernet-switching vlan members [10 20 30 40]
set interfaces ge-0/0/11 unit 0 family ethernet-switching vlan members [10 20 30 40]
set interfaces ge-0/0/13 unit 0 family ethernet-switching interface-mode trunk
set interfaces ge-0/0/9 unit 0 family ethernet-switching interface-mode trunk
set interfaces ge-0/0/11 unit 0 family ethernet-switching interface-mode trunk
set protocols mstp configuration-name region1
set protocols mstp bridge-priority 16k
set protocols mstp interface ge-0/0/13 cost 1000
set protocols mstp interface ge-0/0/13 mode point-to-point
set protocols mstp interface ge-0/0/9 cost 1000
set protocols mstp interface ge-0/0/9 mode point-to-point
set protocols mstp interface ge-0/0/11 cost 1000
set protocols mstp interface ge-0/0/11 mode point-to-point
set protocols mstp msti 1 bridge-priority 16k
set protocols mstp msti 1 vlan [10 20]
set protocols mstp msti 1 interface ge-0/0/11 cost 1000
set protocols mstp msti 2 bridge-priority 8k
set protocols mstp msti 2 vlan [30 40]
Chapter 4: Using MSTP
85

Advertisement

Table of Contents
loading

Table of Contents