Juniper EX9200 Features Manual page 31

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

Advertisement

Configuring RSTP and Nonstop Bridging on Switch 2
CLI Quick
Configuration
Copyright © 2017, Juniper Networks, Inc.
vlan-id 10;
}
employee-vlan {
vlan-id 20;
}
guest-vlan {
vlan-id 30;
}
camera-vlan {
vlan-id 40;
}
}
system {
commit synchronize;
}
chassis {
redundancy {
graceful-switchover;
}
To quickly configure RSTP and nonstop bridging 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 rstp bridge-priority 32k
set protocols rstp interface ge-0/0/14 cost 1000
set protocols rstp interface ge-0/0/14 mode point-to-point
set protocols rstp interface ge-0/0/18 cost 1000
set protocols rstp interface ge-0/0/18 mode point-to-point
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
additional information.
"Configuring RSTP (CLI Procedure)" on page 33
Chapter 1: Using RSTP
for
15

Advertisement

Table of Contents
loading

Table of Contents