Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

Configuring Queuing and Shaping on Logical Interfaces on PTX Series Routers

You can enable per-logical interface queuing (sometimes called per-unit scheduling) on on PTX Series Packet Transport Routers and specify a traffic-shaping rate for each logical interface. In conjunction, you can also configure other class-of-service (CoS) features, including classifiers, schedulers, and rewrite rules.

  • On PTX5000 Series routers:

    • Only 100-Gigabit Ethernet interfaces are supported.

    • You can configure a maximum of 10 logical interfaces on each physical interface.

    • The maximum shaping rate cannot exceed 100 Gbps for all logical interfaces configured on an interface.

    • You cannot configure per-logical interface queuing on Aggregated Ethernet interfaces.

  • On PTX10000 Series routers:

    • Only 400-Gigabit Ethernet interfaces are supported.

    • You can configure a maximum of 6 logical interfaces with per-unit scheduling enabled on each interface (maximum of 2 logical interfaces per interface on PTX10016 routers).

    • The maximum shaping rate cannot exceed 100 Gbps combined for all logical interfaces configured on an interface.

  • You cannot configure per-logical interface queuing if you have configured strict priority scheduling on any interface on the router.

  • The interface wildcard character (*) is not supported—for example, the following configuration is not supported and should not be used:

To configure per-logical interface queuing and traffic shaping on PTX Series routers:

  1. Enable per-logical interface queuing on the interface:
  2. Enable the reception and transmission of 8021.q VLAN-tagged frames on the interface:
  3. Configure logical interface properties.
    1. Specify a VLAN identifier for each logical interface:
    2. Specify a protocol family and IP address for each logical interface:
  4. Configure per-logical interface traffic shaping by specifying the amount of bandwidth to be allocated to each logical interface:
    Note:

    If you do not configure a shaping rate, then the line rate of the physical interface is evenly distributed across all logical interfaces, with each logical interface's portion considered its shaping rate.

  5. (Optional) Configure one or more classifiers and apply them to the logical interface.
    1. Define one or more behavior aggregate (BA) classifiers:
    2. Define one or more forwarding classes for each classifier:
    3. Apply one or more classifiers to the logical interface:
  6. (Optional) Configure one or more rewrite rules to set CoS bits on outgoing packets.
    1. Define one or more rewrite rules:
    2. Define one or more forwarding classes for each rewrite rule:
    3. Apply one or more rewrite rules to the logical interface for outgoing traffic:
  7. (Optional) Configure one or more scheduler maps and apply them to the logical interface. Use a scheduler map to associate the properties of the output queues you define in schedulers with forwarding classes.
    1. Specify the name of a scheduler map:
    2. Specify the name of a forwarding class to associate with the scheduler map:
    3. Specify the name of a scheduler configured at the [edit class-of-service schedulers scheduler-name] hierarchy level to associate with the scheduler map:
    4. Apply the scheduler map to the logical interface:
  8. (Optional) Configure one or more traffical control profiles and apply them to the logical interface. Use a traffic control profile to configure traffic shaping and scheduling profiles for the logical interface.
    1. Specify the name of a traffic control profile:
    2. Specify a shaping rate for the traffic control profile:
    3. Specify a scheduler map for the traffic control profile:
    4. Apply the traffic control profile to the logical interface: