Juniper EX9200 Features Manual page 104

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
Configuring MSTP on Switch 2
CLI Quick
Configuration
88
interface ge-0/0/11 {
cost 1000;
mode point-to-point;
}
msti 1 {
bridge-priority 16k;
vlan [ 10 20];
interface ge-0/0/11 {
cost 1000;
}
}
msti 2 {
bridge-priority 8k;
vlan [ 30 40 ];
}
}
vlans {
voice-vlan {
vlan-id 10;
}
employee-vlan {
vlan-id 20;
}
guest-vlan {
vlan-id 30;
}
camera-vlan {
vlan-id 40;
}
}
To quickly configure interfaces and MSTP on Switch 2, 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/14 unit 0 family ethernet-switching vlan members [10 20 30 40]
set interfaces ge-0/0/18 unit 0 family ethernet-switching vlan members [10 20 30 40]
set interfaces ge-0/0/14 unit 0 family ethernet-switching interface-mode trunk
set interfaces ge-0/0/18 unit 0 family ethernet-switching interface-mode trunk
set protocols mstp configuration-name region1
set protocols mstp bridge-priority 32k
set protocols mstp interface ge-0/0/14 cost 1000
set protocols mstp interface ge-0/0/14 mode point-to-point
set protocols mstp interface ge-0/0/18 cost 1000
set protocols mstp interface ge-0/0/18 mode point-to-point
set protocols mstp msti 1 bridge-priority 32k
Copyright © 2017, Juniper Networks, Inc.

Advertisement

Table of Contents
loading

Table of Contents