Juniper JUNOS OS 10.3 - SOFTWARE Manual page 2974

For ex series ethernet switches
Hide thumbs Also See for JUNOS OS 10.3 - SOFTWARE:
Table of Contents

Advertisement

Complete Software Guide for Junos
Configuring a VLAN and Interfaces on Switch 2
CLI Quick
Configuration
Step-by-Step
Procedure
Results
2878
®
OS for EX Series Ethernet Switches, Release 10.3
ge-0/0/11 {
unit 0 {
family ethernet-switching {
port-mode trunk;
vlan {
members 20;
}
}
}
}
}
vlans {
employee-vlan {
vlan-id 20;
}
}
To configure the VLAN and interfaces on Switch 2:
To quickly configure the VLAN and interfaces on Switch 2, copy the following commands
and paste them into the switch terminal window:
[edit]
set interfaces ge-0/0/1 unit 0 family ethernet-switching port-mode trunk
set interfaces ge-0/0/11 unit 0 family ethernet-switching port-mode trunk
set vlans employee-vlan vlan-id 20
To configure the VLAN and interfaces on Switch 2:
Configure an interface on Switch 2 as a trunk interface:
1.
[edit interfaces]
user@switch2# set ge-0/0/11 unit 0 ethernet-switching port-mode trunk
Associate the VLAN with interfaces
2.
[edit interfaces]
user@switch2# set ge-0/0/1 unit 0 family ethernet-switching vlan members 20
user@switch2# set ge-0/0/11 unit 0 family ethernet-switching vlan members 20
Display the results of the configuration:
[edit]
user@switch2# show
interfaces {
ge-0/0/1 {
unit 0 {
family ethernet-switching {
vlan {
members 20;
}
}
}
}
ge-0/0/11 {
and
:
ge-0/0/1
ge-0/0/11
Copyright © 2010, Juniper Networks, Inc.

Advertisement

Table of Contents
loading

Table of Contents