Juniper JUNOS OS 10.3 - SOFTWARE Manual page 1423

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

Advertisement

Results
Copyright © 2010, Juniper Networks, Inc.
user@distribution-switch# set ethernet-switching vlan members [ sales support ]
Configure the VLAN ID to use for packets that are received with no dot1q tag
3.
(untagged packets):
[edit interfaces]
user@distribution-switch# set ge-0/0/0 ethernet-switching native-vlan-id 1
Configure the sales VLAN:
4.
[edit vlans sales]
user@distribution-switch# set vlan-description "Sales VLAN"
user@distribution-switch# set vlan-id 100
user@distribution-switch# set l3-interface vlan.0
Configure the support VLAN:
5.
[edit vlans support]
user@distribution-switch# set vlan-description "Support VLAN"
user@distribution-switch# set vlan-id 200
user@distribution-switch# set l3-interface vlan.1
Create the subnet for the sales broadcast domain:
6.
[edit interfaces]
user@distribution-switch# set vlan unit 0 family inet address 192.0.2.2/25
Create the subnet for the support broadcast domain:
7.
[edit interfaces]
user@distribution-switch# set vlan unit 1 family inet address 192.0.2.130/25
Display the results of the configuration:
user@distribution-switch> show
interfaces {
ge-0/0/0 {
description "Connection to access switch";
unit 0 {
family ethernet-switching {
port-mode trunk;
vlan members [ sales support ];
native-vlan-id 1;
}
}
}
vlan {
unit 0 {
family inet address 192.0.2.2/25;
}
unit 1 {
family inet address 192.0.2.130/25;
}
}
}
vlans {
sales {
vlan-id 100;
vlan-description "Sales VLAN";
Chapter 58: Examples: Bridging and VLAN Configuration
1327

Advertisement

Table of Contents
loading

Table of Contents