beautypg.com

Juniper Networks JUNOS OS 10.4 User Manual

Page 46

background image

family bridge {

interface-mode access;
vlan-id 205;

}

}

}
interfaces ge-2/2/4 {

native-vlan-id 200; # Untagged packets get vlan 200 tag
unit 0 {

family bridge {

interface-mode trunk;
vlan-id-list 200-205; # This trunk port is part of VLAN range 200–205

}

}

}
interfaces ge-2/2/6 {

encapsulation flexible-ethernet-services;
vlan-tagging; # Customer interface uses singly-tagged frames
unit 200 {

encapsulation vlan-bridge;
vlan-id 200;

}

}
interfaces ae1 {

encapsulation extended-vlan-bridge;
vlan-tagging;
unit 100 {

vlan-id 100;

}
unit 200 {

vlan-id 200;

}

}
interfaces ae2 {

unit 0 {

family bridge {

interface-mode trunk;
vlan-id-list 100, 200–205;

}

}

}

2.

Configure the Ethernet interfaces and VLAN tags on Router 2:

[edit]
chassis {

aggregated-devices {

ethernet {

device-count 2; # Number of AE interfaces on the router

}

}

}
interfaces ge-2/2/2 {

encapsulation flexible-ethernet-services;
vlan-tagging; # Customer interface uses singly-tagged frames
unit 100 {

Copyright © 2013, Juniper Networks, Inc.

26

Junos OS 13.1 MX Series 3D Universal Edge Routers Solutions Guide