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

For ex series ethernet switches
Table of Contents

Advertisement

Results
Copyright © 2010, Juniper Networks, Inc.
Set vlan1's subinterface IP address:
3.
[edit interfaces ge-0/1/0]
user@access-switch# set unit 0 family inet address 1.1.1.1/24
Bind vlan2's VLAN ID to the logical interface:
4.
[edit interfaces ge-0/1/0]
user@access-switch# set unit 1 vlan-id 102
Set vlan2's subinterface IP address:
5.
[edit interfaces ge-0/1/0]
user@access-switch# set unit 1 family inet address 2.1.1.1/24
Bind vlan3's VLAN ID to the logical interface:
6.
[edit interfaces ge-0/1/0]
user@access-switch# set unit 2 vlan–id 103
Set vlan3's subinterface IP address:
7.
[edit interfaces ge-0/1/0]
user@access-switch# set unit 2 family inet address 3.1.1.1/24
Bind vlan4's VLAN ID to the logical interface:
8.
[edit interfaces ge-0/1/0]
user@access-switch# set unit 3 vlan-id 104
Set vlan4's subinterface IP address:
9.
[edit interfaces ge-0/1/0]
user@access-switch# set unit 3 family inet address 4.1.1.1/24
Bind vlan5's VLAN ID to the logical interface:
10.
[edit interfaces ge-0/1/0]
user@access-switch# set unit 4 vlan-id 105
Set vlan5's subinterface IP address:
11.
[edit interfaces ge-0/1/0]
user@access-switch# set unit 4 family inet address 5.1.1.1/24
Check the results of the configuration:
user@access-switch> show configuration
interfaces {
ge-0/1/0 {
vlan-tagging;
unit 0 {
vlan-id 101;
family inet {
address 1.1.1.1/24;
}
}
unit 1 {
vlan-id 102;
family inet {
address 2.1.1.1/24;
Chapter 57: Examples of Interfaces Configuration
1269

Advertisement

Table of Contents
loading

This manual is also suitable for:

Junos os 10.4

Table of Contents