[Contents] [Prev] [Next] [Index] [Report an Error]

Example: QoS Profile Attachment to Port

In Figure 38, the major ATM interface, 11/0, has QoS profile qp1 explicitly attached. The major ATM interface has three ATM subinterfaces configured:

The qp1 profile overrides the QoS port-type profile, atm-default, on subinterfaces 1 and 3. It does not override profile qp2, which was explicitly attached to subinterface 2.

Figure 38: Attaching QoS Profile to ATM Interface and Subinterface

Image g013721.gif

To configure this example:

  1. Create and configure QoS profile qp1.
    host1(config)#qos-profile qp-1
    host1(config-qos-profile)#atm-vp node scheduler-profile sp1
    host1(config-qos-profile)#atm-vc queue traffic-class tc1 scheduler-profile sp1 queue-profile qp1
    host1(config-qos-profile)#atm-vc queue traffic-class tc2 scheduler-profile sp2 queue-profile qp2
    host1(config-qos-profile)#atm-vc queue traffic-class tc3 scheduler-profile sp3 queue-profile qp3
    host1(config-qos-profile)#atm-vc queue traffic-class tc4 scheduler-profile sp4 queue-profile qp4
    host1(config-qos-profile)#atm-vc queue traffic-class tc5 scheduler-profile sp5 queue-profile qp5
    host1(config-qos-profile)#exit
  2. Create and configure QoS profile qp2.
    host1(config)#qos-profile qp2
    host1(config-qos-profile)#atm-vp node scheduler-profile sp1
    host1(config-qos-profile)#atm-vc queue traffic-class tc1 scheduler-profile sp1 queue-profile qp1
    host1(config-qos-profile)#atm-vc queue traffic-class tc2 scheduler-profile sp2 queue-profile qp2
    host1(config-qos-profile)#atm-vc queue traffic-class tc3 scheduler-profile sp3 queue-profile qp3
    host1(config-qos-profile)#exit
  3. Attach QoS profile qp1 to ATM interface 11/0.
    host1(config)#interface atm 11/0
    host1(config-if)#qos-profile qp1
    host1(config-if)#exit
  4. Attach QoS profile qp2 to ATM subinterface 11/0.2.
    host1(config)#interface atm 11/0.2
    host1(config-subif)#qos-profile qp2
    host1(config-subif)#exit
    host1(config)#exit
  5. Display the QoS interface hierarchy for ATM 11/0.
    host1#show qos interface-hierarchy interface atm 11/0
    qos          interface  rule   traffic       scheduler   queue  t-class
    profile      type       type   class         profile     profile  group
    -------      ---------  ----   -------       ---------   ------- -------     
    @ATM11/0     atm        queue  best-effort   default    default
    qp1@ATM11/0  atm-vp     node                 sp1        default
    qp1@ATM11/0  atm-vc     queue  tc1           sp1        qp1
    qp1@ATM11/0  atm-vc     queue  tc2           sp2        qp2
    qp1@ATM11/0  atm-vc     queue  tc3           sp3        qp3
    qp1@ATM11/0  atm-vc     queue  tc4           sp4        qp4
    qp1@ATM11/0  atm-vc     queue  tc5           sp5        qp5
    attachment@ atm-vc ATM11/0.2:
    qos          interface  rule   traffic       scheduler  queue  t-class
    profile      type       type   class         profile    profile  group
    -------      ---------  ----   -------       ---------  ------- -------     
    qp2@ATM11/0.2 atm-vp     node                sp1        default
    qp2@ATM11/0.2 atm-vc     queue  tc1          sp1        qp1
    qp2@ATM11/0.2 atm-vc     queue  tc2          sp2        qp2
    qp2@ATM11/0.2 atm-vc     queue  tc3          sp3        qp3
    @ATM11/0      atm        queue  best-effort  default    default
    qp1@ATM11/0   atm-vc     queue  tc4          sp4        qp4
    qp1@ATM11/0   atm-vc     queue  tc5          sp5        qp5

Note that:


[Contents] [Prev] [Next] [Index] [Report an Error]