Juniper JUNOS OS 10.4 - FOR EX REV 1 Manual page 1888

For ex series ethernet switches
Table of Contents

Advertisement

Complete Software Guide for Junos
Step-by-Step
Procedure
Results
1784
®
OS for EX Series Ethernet Switches, Release 10.4
set protocols mstp msti 1 bridge-priority 4k
set protocols mstp msti 1 vlan [10 20]
set protocols mstp msti 2 bridge-priority 16k
set protocols mstp msti 2 vlan [30 40]
To configure interfaces and MSTP on Switch 3:
Configure the VLANs
1.
[edit vlans]
user@switch3# set voice-vlan description "Voice VLAN"
user@switch3# set voice-vlan vlan-id 10
user@switch3# set employee-vlan description "Employee VLAN"
user@switch3# set employee-vlan vlan-id 20
user@switch3# set guest-vlan description "Guest VLAN"
user@switch3# set guest-vlan vlan-id 30
user@switch3# set camera-vlan description "Camera VLAN"
user@switch3# set guest-vlan vlan-id 40
Configure the VLANs on the interfaces, including support for the Ethernet Switching
2.
protocol:
[edit interfaces]
user@switch3# set ge-0/0/26 unit 0 family ethernet-switching vlan members [10 20
30 40]
user@switch3# set ge-0/0/28 unit 0 family ethernet-switching vlan members [10 20
30 40]
user@switch3# set ge-0/0/24 unit 0 family ethernet-switching vlan members [10 20
30 40]
Configure the port mode for the interfaces:
3.
[edit interfaces]
user@switch3# set ge-0/0/26 unit 0 family ethernet-switching port-mode trunk
user@switch3# set ge-0/0/28 unit 0 family ethernet-switching port-mode trunk
user@switch3# set ge-0/0/24 unit 0 family ethernet-switching port-mode trunk
Configure MSTP on the switch, including the two MSTIs:
4.
[edit protocols]
user@switch3# mstp configuration-name region1
user@switch3# mstp bridge-priority 8k
user@switch3# mstp interface ge-0/0/26.0 cost 1000
user@switch3# mstp interface ge-0/0/26.0 mode point-to-point
user@switch3# mstp interface ge-0/0/28.0 cost 1000
user@switch3# mstp interface ge-0/0/28.0 mode point-to-point
user@switch3# mstp interface ge-0/0/24.0 cost 1000
user@switch3# mstp interface ge-0/0/24.0 mode point-to-point
user@switch3# mstp interface all cost 1000
user@switch3# mstp msti 1 bridge-priority 4k
user@switch3# mstp msti 1 vlan [10 20]
user@switch3# mstp msti 2 bridge-priority 16k
user@switch3# mstp msti 2 vlan [30 40]
Check the results of the configuration:
user@switch3> show configuration
interfaces {
ge-0/0/26 {
unit 0 {
voice-vlan
,
employee-vlan
,
guest-vlan
, and
camera-vlan
Copyright © 2010, Juniper Networks, Inc.
:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Junos os 10.4

Table of Contents