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

For ex series ethernet switches
Table of Contents

Advertisement

Step-by-Step
Procedure
Results
Copyright © 2010, Juniper Networks, Inc.
To configure interfaces and RSTP on Switch 2:
Configure the VLANs
1.
[edit vlans]
user@switch2# set voice-vlan description "Voice VLAN"
user@switch2# set voice-vlan vlan-id 10
user@switch2# set employee-vlan description "Employee VLAN"
user@switch2# set employee-vlan vlan-id 20
user@switch2# set guest-vlan description "Guest VLAN"
user@switch2# set guest-vlan vlan-id 30
user@switch2# set camera-vlan vlan-description "Camera VLAN"
user@switch2# set guest-vlan vlan-id 40
Configure the VLANs on the interfaces, including support for the Ethernet Switching
2.
protocol:
[edit interfaces]
user@switch2# set ge-0/0/14 unit 0 family ethernet-switching vlan members [10 20
30 40]
user@switch2# set ge-0/0/18 unit 0 family ethernet-switching vlan members [10 20
30 40]
Configure the port mode for the interfaces:
3.
[edit interfaces]
user@switch2# set ge-0/0/14 unit 0 family ethernet-switching port-mode trunk
user@switch2# set ge-0/0/18 unit 0 family ethernet-switching port-mode trunk
Configure RSTP on the switch:
4.
[edit protocols]
user@switch2# rstp bridge-priority 32k
user@switch2# rstp interface ge-0/0/14.0 cost 1000
user@switch2# rstp interface ge-0/0/14.0 mode point-to-point
user@switch2# rstp interface ge-0/0/18.0 cost 1000
user@switch2# rstp interface ge-0/0/18.0 mode point-to-point
Check the results of the configuration:
user@switch2> show configuration
interfaces {
ge-0/0/14 {
unit 0 {
family ethernet-switching {
port-mode trunk;
vlan {
members [10 20 30 40];
}
}
}
}
ge-0/0/18 {
unit 0 {
family ethernet-switching {
port-mode trunk;
vlan {
members [10 20 30 40];
}
Chapter 71: Examples of Spanning-Tree Protocols Configuration
,
,
voice-vlan
employee-vlan
, and
guest-vlan
camera-vlan
:
1767

Advertisement

Table of Contents
loading

This manual is also suitable for:

Junos os 10.4

Table of Contents