CoS-Based Forwarding (CBF) enables the control of next-hop selection based on a packet's class of service field. You can implement CBF by creating a next-hop-map at the [edit class-of-service forwarding-policy] hierarchy level and then applying the next-hop-map to a policy-statement at the [edit policy-options] hierarchy level. CBF can only be configured on a device with eight or fewer forwarding classes plus a default forwarding class.