Large bursts of traffic from faster interfaces can cause congestion and dropped packets on slower interfaces that have small delay buffers. For example, a J-series Services Router operating at the edge of the network can drop a portion of the burst traffic it receives on a channelized T1/ E1 interface from a Fast Ethernet or Gigabit Ethernet interface on a router at the network core.
To ensure that traffic is queued and transmitted properly on slower interfaces, you can configure a buffer size larger than the default maximum. On J-series Services Routers, you can configure large delay buffers on channelized T1/E1 interfaces only.
This section contains the following topics:
When you enable the large delay buffer feature on interfaces, a larger buffer is available for allocation to scheduler queues. The maximum delay buffer size that is available for an interface depends on the maximum available delay buffer time and the speed of the interface.
On channelized T1/E1 interfaces, the maximum delay buffer time varies by the number of DS0 channels configured on the interface as shown in Table 276. The default values are as follows:
Table 276: Maximum Available Delay Buffer Time by Channels
You can calculate the maximum delay buffer size available for an interface, with the following formula:
For example, the following maximum delay buffer sizes are available to 1xDS0 and 2xDS0 interfaces:
1xDS0—64 kilobits per second x 4 seconds = 256 kilobits (32 kilobytes)
2xDS0—128 kilobits per second x 4 seconds = 512 kilobits (64 kilobytes)
If you configure a delay buffer size larger than the new maximum, the system allows you to commit the configuration but displays a system log warning message and uses the default buffer size setting instead of the configured maximum setting.
You can specify delay buffer sizes for each queue using schedulers. The queue buffer can be specified as a period of time (microseconds) or as a percentage of the total buffer or as the remaining buffer. Table 277 shows different methods that you can specify for buffer allocation in queues.
Table 277: Delay Buffer Size Allocation Methods
You specify delay buffer sizes for queues using schedulers. The system calculates the buffer size of a queue based on the buffer allocation method you specify for it in the scheduler. See Table 277 for different buffer allocation methods and Table 278 for buffer size calculations.
Table 278: Delay Buffer Allocation Method and Queue Buffer
When you specify the buffer size as a percentage, the system ignores the transmit rate and calculates the buffer size based only on the buffer size percentage.
On J-series Services Routers you can configure large delay buffers on channelized T1/E1 interfaces only. To configure large-delay buffer sizes, you must first enable the large buffer feature on the channelized T1/E1 PIM and then configure a buffer size for each queue in the CoS scheduler.
Each channelized T1/E1 interface can be configured as a single clear channel, or for channelized (NxDS0) operation, where N denotes channels 1 to 32 for an E1 interface and channels 1 to 24 for a T1 interface.
In this configuration, you enable the large delay buffer option on a channelized T1 PIM with an interface speed of 1.5 Mbps and a maximum delay buffer time of 500,000 microseconds. Based on the interface speed and the maximum delay buffer time, you can calculate the available delay buffer size for the interface. For more information, see Maximum Delay Buffer Sizes Available to Interfaces.
Next, you specify a queue buffer of 30 percent in a scheduler be-scheduler and associate the scheduler to a defined forwarding class be-class using a scheduler map large-buf-sched-map. Finally, you apply the scheduler map to the channelized T1 interface t1-3/0/0. As a result, a buffer of 9600 bytes is assigned to the queue associated with forwarding class be-class (see Table 278). You can specify a delay buffer size for other queues following the instructions in this example.
To configure large delay buffers for channelized T1/E1 interfaces:
Table 279: Configuring a Large Delay Buffer
Task |
J-Web Configuration Editor |
CLI Configuration Editor |
|---|---|---|
Navigate to the Chassis level in the configuration hierarchy. |
|
From the [edit] hierarchy level, enter edit chassis |
Enable the large buffer size feature on the channelized T1/E1 PIM in slot 3. |
|
Enter set fpc 3 pic 0 q-pic-large-buffer |
Navigate to the Class-of-service level in the configuration hierarchy. |
On the main Configuration page next to Class of service, click Configure or Edit. |
From the [edit] hierarchy level, enter edit class-of-service |
Create be-scheduler and specify a buffer size of 30 percent for it. |
|
Enter set schedulers be-scheduler buffer-size percent 30 |
Configure the scheduler map large-buf-scheduler-map to associate schedulers with defined forwarding classes. For information about configuring forwarding classes, see Assigning Forwarding Classes to Output Queues. |
|
From the [edit class-of-service] hierarchy level, enter set scheduler-maps large-buf-sched-map forwarding-class be-class scheduler be-scheduler |
Apply the scheduler map to the channelized T1 interface. Note: For information about configuring channelized T1/E1 interfaces, see Configuring Channelized T1/E1/ISDN PRI Interfaces. |
|
From the [edit class-of-service] hierarchy level, type set interfaces t1-3/0/0 unit 0 scheduler-map large-buf-sched-map |