Rate and give feedback:
Feedback Received. Thank You!
Example: Configuring Hierarchical Scheduling and Queuing for
a Static PPPoE Subscriber Interface
In this example, the network administrator defines hierarchical
queuing and scheduler parameters by configuring traffic control profile
and binding it directly to a PPPoE subscriber interface.
This configuration is supported on the IQ2E PIC.
To use this configuration in a broadband access network, each
forwarding class can represent one type of services provided to a
household customer and is mapped to a queue. Each PPPoE interface
represents a household and provides shaping of all household traffic
to an aggregate rate. All of the PPPoE interfaces on the physical
interfaces are shaped to the underlying physical interface rate.
Table 1 lists the
scheduler and queue mapping for this configuration.
Table 1: Scheduler Per Logical Interface Mapping
Level | Type | Mapping |
---|
4 | Queue | PPPoE interface |
3 | Scheduler | PPPoE interface |
2 | Scheduler | — |
1 | Scheduler | Underlying physical interface |
interfaces {ge-3/0/3 {hierarchical-scheduler;vlan-tagging;unit 0 {encapsulation ppp-over-ether;vlan-id 100;}}pp0 {unit 0 {pppoe-options {underlying-interface ge-3/0/3.0;server;}family inet {address 120.20.20.20/32 {destination 120.20.20.21;}}}unit 1 {pppoe-options {underlying-interface ge-3/0/3.0;server;}family inet {address 130.30.30.30/32 {destination 130.30.30.31;}}}unit 2 {pppoe-options {underlying-interface ge-3/0/3.0;server;}family inet {address 140.40.40.40/32 {destination 140.40.40.41;}}}}}class-of-service {traffic-control-profiles {tcp {scheduler-map data_smap;shaping-rate 50k;guaranteed-rate 10k;}}interfaces {pp0 {unit 0 {output-traffic-control-profile tcp;}unit 1 {output-traffic-control-profile tcp;unit 2 {output-traffic-control-profile tcp;}}}forwarding-classes {queue 0 be;queue 1 ef;queue 3 nc;queue 2 af;}scheduler-maps {data_smap {forwarding-class be scheduler be_sch;}voice_data_smap {forwarding-class be scheduler be_sch;}vid_data_smap {forwarding-class ef scheduler ef_sch;}}schedulers {be_sch {transmit-rate percent 10;buffer-size remainder;priority low;}ef_sch {transmit-rate percent 10;buffer-size remainder;priority low;}af_sch {transmit-rate percent 10;buffer-size remainder;priority low;}nc_sch {transmit-rate percent 10;buffer-size remainder;priority low;}}
Published: 2013-02-11