Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation

Configuring LSQ Interfaces as NxT1 or NxE1 Bundles Using FRF.16

To configure an NxT1 bundle using FRF.16, you aggregate N different T1 links into a bundle. The NxT1 bundle carries a potentially large number of Frame Relay PVCs, identified by their DLCIs. Each DLCI is called a logical interface, because it can represent, for example, a routing adjacency.

To aggregate T1 links into an FRF.16 bundle, include the mlfr-uni-nni-bundles statement at the [edit chassis fpc slot-number pic slot-number] hierarchy level and include the bundle statement at the [edit interfaces t1-fpc/pic/port unit logical-unit-number family mlfr-uni-nni] hierarchy level:

[edit chassis fpc slot-number pic slot-number]mlfr-uni-nni-bundles number; [edit interfaces t1-fpc/pic/port unit logical-unit-number family mlfr-uni-nni]bundle lsq-fpc/pic/port:channel;

Note: Link services IQ interfaces support both T1 and E1 physical interfaces. These instructions apply to T1 interfaces, but the configuration for E1 interfaces is similar.

To configure the link services IQ interface properties, include the following statements at the [edit interfaces lsq- fpc/pic/port:channel] hierarchy level:

[edit interfaces lsq- fpc/pic/port:channel]encapsulation multilink-frame-relay-uni-nni;dce;
mlfr-uni-nni-options {acknowledge-retries number;acknowledge-timer milliseconds;action-red-differential-delay (disable-tx | remove-link);drop-timeout milliseconds;fragment-threshold bytes;hello-timer milliseconds;link-layer-overhead percent;lmi-type (ansi | itu);minimum-links number;mrru bytes;n391 number;n392 number;n393 number;red-differential-delay milliseconds;t391 number;t392 number;yellow-differential-delay milliseconds;}
unit logical-unit-number {dlci dlci-identifier;family inet {address address;}}

The link services IQ channel represents the FRF.16 bundle. Four queues are associated with each DLCI. A scheduler removes packets from the queues according to a scheduling policy. On the link services IQ interface, you typically designate one queue to have strict priority. The remaining queues are serviced in proportion to weights you configure.

For link services IQ interfaces, a strict-high-priority queue might starve the other three queues because traffic in a strict-high-priority queue is transmitted before any other queue is serviced. This implementation is unlike the standard Junos CoS implementation in which a strict-high-priority queue does round-robin with high-priority queues, as described in the Junos OS Class of Service Configuration Guide.

If the bundle has more than one link, you must include the per-unit-scheduler statement at the [edit interfaces lsq-fpc/pic/port:channel] hierarchy level:

[edit interfaces lsq-fpc/pic/port:channel]per-unit-scheduler;

For FRF.16, you can assign a single scheduler map to the link services IQ interface (lsq) and to each link services IQ DLCI, or you can assign different scheduler maps to the various DLCIs of the bundle, as shown in Example: Configuring an LSQ Interface as an NxT1 Bundle Using FRF.16.

For the constituent links of an FRF.16 bundle, you do not need to configure a custom scheduler. Because LFI and multiclass are not supported for FRF.16, the traffic from each constituent link is transmitted from queue 0. This means you should allow most of the bandwidth to be used by queue 0. For M Series and T Series routers, the default schedulers’ transmission rate and buffer size percentages for queues 0 through 3 are 95, 0, 0, and 5 percent. These default schedulers send all user traffic to queue 0 and all network-control traffic to queue 3, and therefore are well suited to the behavior of FRF.16. If desired, you can configure a custom scheduler that explicitly replicates the 95, 0, 0, and 5 percent queuing behavior, and apply it to the constituent links.

Note: For M320 and T Series routers, the default scheduler transmission rate and buffer size percentages for queues 0 through 7 are 95, 0, 0, 5, 0, 0, 0, and 0 percent.

To configure and apply the scheduling policy, include the following statements at the [edit class-of-service] hierarchy level:

[edit class-of-service]
interfaces {lsq-fpc/pic/port:channel {unit logical-unit-number {scheduler-map map-name;}}}
forwarding-classes {queue queue-number class-name;}
scheduler-maps {map-name {forwarding-class class-name scheduler scheduler-name;}}
schedulers {scheduler-name {buffer-size (percent percentage | remainder | temporal microseconds);priority priority-level;transmit-rate (rate | percent percentage | remainder) <exact>;}}

To configure packet fragmentation handling on a queue, include the fragmentation-maps statement at the [edit class-of-service] hierarchy level:

[edit class-of-service]
fragmentation-maps {map-name {forwarding-class class-name {fragment-threshold bytes;}}}

For FRF.16 traffic, only multilink encapsulated (fragmented and sequenced) queues are supported. This is the default queuing behavior for all forwarding classes. FRF.16 does not allow for nonencapsulated traffic because the protocol requires that all packets carry the fragmentation header. If a large packet is split into multiple fragments, the fragments must have consecutive sequential numbers. Therefore, you cannot include the no-fragmentation statement at the [edit class-of-service fragmentation-maps map-name forwarding-class class-name] hierarchy level for FRF.16 traffic. For FRF.16, if you want to carry voice or any other latency-sensitive traffic, you should not use slow links. At T1 speeds and above, the serialization delay is small enough so that you do not need to use explicit LFI.

When a packet is removed from a multilink-encapsulated queue, the software gives the packet an FRF.16 header. The FRF.16 header contains a sequence number field, which is filled with the next available sequence number from a counter. The software then places the packet on one of the N different T1 links. The link is chosen on a packet-by-packet basis to balance the load across the various T1 links.

If the packet exceeds the minimum link MTU, or if a queue has a fragment threshold configured at the [edit class-of-service fragmentation-maps map-name forwarding-class class-name] hierarchy level, the software splits the packet into two or more fragments, which are assigned consecutive multilink sequence numbers. The outgoing link for each fragment is selected independently of all other fragments.

If you do not include the fragment-threshold statement in the fragmentation map, the fragmentation threshold you set at the [edit interfaces interface-name unit logical-unit-number] or [edit interfaces interface-name mlfr-uni-nni-bundle-options] hierarchy level is the default for all forwarding classes. If you do not set a maximum fragment size anywhere in the configuration, packets are fragmented if they exceed the smallest MTU of all the links in the bundle.

Even if you do not set a maximum fragment size anywhere in the configuration, you can configure the maximum received reconstructed unit (MRRU) by including the mrru statement at the [edit interfaces lsq-fpc/pic/port unit logical-unit-number] or [edit interfaces interface-name mlfr-uni-nni-bundle-options] hierarchy level. The MRRU is similar to the MTU but is specific to link services interfaces. By default, the MRRU size is 1500 bytes, and you can configure it to be from 1500 through 4500 bytes. For more information, see Configuring MRRU on Multilink and Link Services Logical Interfaces.

The N different T1 interfaces link to another router, which can be from Juniper Networks or another vendor. The router at the far end gathers packets from all the T1 links. Because each packet has an FRF.16 header, the sequence number field is used to put the packet back into sequence number order.

Example: Configuring an LSQ Interface as an NxT1 Bundle Using FRF.16

Configure an NxT1 bundle using FRF.16 with multiple CoS scheduler maps:

[edit chassis fpc 1 pic 3]
adaptive-services {service-package layer-2;}
mlfr-uni-nni-bundles 2; # Creates channelized LSQ interfaces/FRF.16 bundles.[edit interfaces]
t1-0/0/0 {encapsulation multilink-frame-relay-uni-nni;unit 0 {family mlfr-uni-nni {bundle lsq-1/3/0:1;}}}
t1-0/0/1 {encapsulation multilink-frame-relay-uni-nni;unit 0 {family mlfr-uni-nni {bundle lsq-1/3/0:1;}}}
lsq-1/3/0:1 { # Bundle link consisting of t1-0/0/0 and t1-0/0/1per-unit-scheduler;encapsulation multilink-frame-relay-uni-nni;dce; # One end needs to be configured as DCE.
mlfr-uni-nni-bundle-options {drop-timeout 180;fragment-threshold 64;hello-timer 180;minimum-links 2;mrru 3000;link-layer-overhead 0.5;}
unit 0 {dlci 26; # Each logical unit maps a single DLCI.family inet {address 10.2.3.4/24;}}
unit 1 {dlci 42;family inet {address 10.20.30.40/24;}}
unit 2 {dlci 69;family inet {address 10.20.30.40/24;}}
[edit class-of-service]
scheduler-maps {sched-map-lsq0 {forwarding-class af scheduler af-scheduler-lsq0;forwarding-class be scheduler be-scheduler-lsq0;forwarding-class ef scheduler ef-scheduler-lsq0;forwarding-class nc scheduler nc-scheduler-lsq0;}sched-map-lsq1 {forwarding-class af scheduler af-scheduler-lsq1;forwarding-class be scheduler be-scheduler-lsq1;forwarding-class ef scheduler ef-scheduler-lsq1;forwarding-class nc scheduler nc-scheduler-lsq1;}}
schedulers {af-scheduler-lsq0 {transmit-rate percent 60;buffer-size percent 60;priority low;}be-scheduler-lsq0 {transmit-rate percent 30;buffer-size percent 30;priority low;}ef-scheduler-lsq0 {transmit-rate percent 5;buffer-size percent 5;priority strict-high;}nc-scheduler-lsq0 {transmit-rate percent 5;buffer-size percent 5;priority high;}af-scheduler-lsq1 {transmit-rate percent 50;buffer-size percent 50;priority low;}be-scheduler-lsq1 {transmit-rate percent 30;buffer-size percent 30;priority low;}ef-scheduler-lsq1 {transmit-rate percent 15;buffer-size percent 15;priority strict-high;}nc-scheduler-lsq1 {transmit-rate percent 5;buffer-size percent 5;priority high;}}
interfaces {lsq-1/3/0:1 { # MLFR FRF.16unit 0 {scheduler-map sched-map-lsq0;}unit 1 {scheduler-map sched-map-lsq1;}}

Published: 2013-02-15

Supported Platforms

Published: 2013-02-15