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

For ex series ethernet switches
Table of Contents

Advertisement

Step-by-Step
Procedure
Copyright © 2010, Juniper Networks, Inc.
To configure the access switch:
Configure the 1-Gigabit Ethernet interface on the uplink module to be the trunk port
1.
that connects to the distribution switch:
[edit interfaces ge-0/1/0 unit 0]
user@access-switch# set description "Uplink module port connection to distribution
switch"
user@access-switch# set ethernet-switching port-mode trunk
Specify the VLANs to be aggregated on the trunk port:
2.
[edit interfaces ge-0/1/0 unit 0]
user@access-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 ge-0/1/0 unit 0]
user@access-switch# set ethernet-switching native-vlan-id 1
Configure the sales VLAN:
4.
[edit vlans sales]
user@access-switch# set vlan-description "Sales VLAN"
user@access-switch# set vlan-id 100
user@access-switch# set l3-interface vlan.0
Configure the support VLAN:
5.
[edit vlans support]
user@access-switch# set vlan-description "Support VLAN"
user@access-switch# set vlan-id 200
user@access-switch# set l3-interface vlan.1
Create the subnet for the sales broadcast domain:
6.
[edit interfaces]
user@access-switch# set vlan unit 0 family inet address 192.0.2.1/25
Create the subnet for the support broadcast domain:
7.
[edit interfaces]
user@access-switch# set vlan unit 1 family inet address 192.0.2.129/25
Configure the interfaces in the sales VLAN:
8.
[edit interfaces]
user@access-switch# set ge-0/0/0 unit 0 description "Sales wireless access point
port"
user@access-switch# set ge-0/0/0 unit 0 family ethernet-switching vlan members
sales
user@access-switch# set ge-0/0/3 unit 0 description "Sales phone port"
user@access-switch# set ge-0/0/3 unit 0 family ethernet-switching vlan members
sales
user@access-switch# set ge-0/0/20 unit 0 description "Sales file server port"
user@access—switch# set ge-0/0/20 unit 0 family ethernet-switching vlan members
sales
user@access-switch# set ge-0/0/22 unit 0 description "Sales printer port"
user@access-switch# set ge-0/0/22 unit 0 family ethernet-switching vlan members
sales
Chapter 64: Examples: Bridging and VLAN Configuration
1543

Advertisement

Table of Contents
loading

This manual is also suitable for:

Junos os 10.4

Table of Contents