QoS

Egress

Egress traffic on a CSC interface can be shaped and scheduled by associating a port-based egress queue-group instance with the CSC interface. The steps for doing this are summarized below:

  1. Create an egress queue-group-template.
  2. Define one or more queues in the egress queue-group. For each one specify scheduling parameters such as CIR, PIR, CBS and MBS and, if using H-QoS, the parent scheduler.
  3. Apply an instance of the egress queue-group template to the network egress context of the Ethernet port with the CSC interface. When doing so, and if applicable, associate an accounting policy and/or a scheduler policy with this instance.
  4. Create a network QoS policy.
  5. In the egress part of the network QoS policy define EXP remarking rules, if necessary.
  6. In the egress part of the network QoS policy map a forwarding-class to a queue-id using the port-redirect-group command.
    For example:

    config>qos>network>egress>fc$ port-redirect-group queue 5

  7. Apply the network QoS policy created in step 4 to the CSC interface and specify the name of the egress queue-group created in step 1 and the specific instance defined in step 3.

Ingress

Ingress traffic on a CSC interface can be policed by associating a forwarding-plane based ingress queue-group instance with the CSC interface. The steps for doing this are summarized below:
  1. Create an ingress queue-group-template.
  2. Define one or more policers in the ingress queue-group. For each one specify parameters such as CIR, PIR, CBS and MBS and, if using H-Pol, the parent arbiter.
  3. Apply an instance of the ingress queue-group template to the network ingress context of the forwarding plane with the CSC interface.
    When doing so, and if applicable, associate an accounting policy and/or a policer-control-policy with this instance.
  4. Create a network QoS policy.
  5. In the ingress part of the network QoS policy define EXP classification rules, if necessary.
  6. In the ingress part of the network QoS policy map a forwarding-class to a policer-id using the fp-redirect-group policer command.
    For example:

    config>qos>network>ingress>fc$ fp-redirect-group policer 5

  7. Apply the network QoS policy created in step 4 to the CSC interface and specify the name of the ingress queue-group created in step 1 and the specific instance defined in step 3.