Mapping Forwarding Classes to CoS Queues on 10-Gigabit Ethernet LAN/WAN PICs
The 10-Gigabit Ethernet LAN/WAN PICs support eight CoS queues
per port in the egress direction. To map forwarding classes to the
eight CoS queues in egress, include the following statements at the [edit class-of-service]
hierarchy level:
[edit class-of-service forwarding-classes] { class fc-be queue-num 0; class fc-be1 queue-num 1; class fc-ef queue-num 2; class fc-ef1 queue-num 3; class fc-af11 queue-num 4; class fc-af12 queue-num 5; class fc-nc1 queue-num 6; class fc-nc2 queue-num 7; }
10-Gigabit Ethernet LAN/WAN PICs do not support more than eight forwarding classes. If you define more than eight forwarding classes, excess forwarding classes can get mapped to queues with undefined schedulers.
The 10-Gigabit Ethernet LAN/WAN PICs support four ingress queues per physical interface. The PICs use restricted-queues configuration to map multiple forwarding classes to the four queues. There are no queues at the logical interface level. In the following example, two forwarding classes are mapped to one queue.
[edit class-of-service restricted-queues] { forwarding-class fc-be queue-num 0; forwarding-class fc-be1 queue-num 0; forwarding-class fc-ef queue-num 1; forwarding-class fc-ef1 queue-num 1; forwarding-class fc-af11 queue-num 2; forwarding-class fc-af12 queue-num 2; forwarding-class fc-nc1 queue-num 3; forwarding-class fc-nc2 queue-num 3; }