familybridge {
interface-modeaccess;
vlan-id205;
}
}
}
interfacesge-2/2/4{
native-vlan-id200; # Untagged packetsget vlan 200 tag
unit0 {
familybridge {
interface-modetrunk;
vlan-id-list200-205; # This trunk port is part of VLAN range 200–205
}
}
}
interfacesge-2/2/6 {
encapsulationflexible-ethernet-services;
vlan-tagging;# Customer interfaceuses singly-tagged frames
unit200 {
encapsulationvlan-bridge;
vlan-id200;
}
}
interfacesae1 {
encapsulationextended-vlan-bridge;
vlan-tagging;
unit100 {
vlan-id100;
}
unit200 {
vlan-id200;
}
}
interfacesae2 {
unit0 {
familybridge {
interface-modetrunk;
vlan-id-list100, 200–205;
}
}
}
2. Configurethe Ethernet interfaces and VLAN tagson Router 2:
[edit]
chassis{
aggregated-devices{
ethernet{
device-count2; # Number of AE interfaces on the router
}
}
}
interfacesge-2/2/2 {
encapsulationflexible-ethernet-services;
vlan-tagging;# Customer interfaceuses singly-tagged frames
unit100 {
Copyright© 2010, Juniper Networks,Inc.26
Junos10.4 MX Series Ethernet ServicesRouters Solutions Guide