vlan-id 101;
family inet {
address 20.20.1.1/24;
}
}
unit 2 {
vlan-id 2;
family inet {
address 20.20.2.1/24;
}
}
unit 3 {
vlan-id 3;
family inet {
address 20.20.3.1/24;
}
}
unit 4 {
vlan-id 4;
family inet {
address 20.20.4.1/24;
}
}
...
}
Scheduling can be enabled on the interfaces to achieve hierarchical class of service
support for traffic flowing from NNI towards UNI direction.
Configuring hierarchical class of service for Layer 2 VPN (Ethernet Pseudowires)
Service
ACX5000 line of routers can be configured to provide Layer 2 VPN services to subscribers
based on Ethernet pseudowires where the UNI port is connected to a CE device. The
physical port can be configured to provide Layer 2 VPN services to multiple subscribers.
You can schedule traffic for different pseudowires based on the SLA parameters agreed
with the subscriber. Hierarchical class of service can be enabled per UNI logical interface
represented as the attachment point of the Ethernet pseudowire to achieve the
functionality.
The following is a sample to configure the UNI logical interface on the PE router providing
the Layer 2 VPN service based on Ethernet pseudowire:
[edit interfaces]
ge-0/0/1 {
hierarchical-scheduler;
vlan-tagging;
unit 0 {
encapsulation vlan-ccc;
vlan-id 0;
}
unit 1 {
encapsulation vlan-ccc;
vlan-id 1;
}
Copyright © 2017, Juniper Networks, Inc.940
ACX Series Universal Access Router Configuration Guide