Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

Example: Configuring CoS-Based Forwarding

Router A has two routes to destination 10.255.71.208 on Router D. One route goes through Router B, and the other goes through Router C, as shown in Figure 1.

Configure Router A with CoS-based forwarding (CBF) to select Router B for queue 0 and queue 2, and Router C for queue 1 and queue 3.

Figure 1: Sample CoS-Based ForwardingNetwork diagram with nodes A, B, C, and D showing connections and specific IP addresses. Node A connects to B at 10.40.11.2/30. Node B links to A and D at 10.40.12.2/30. Node C connects to A at 10.40.13.2/30. Node D has IP 10.255.71.208/32.

When you configure CBF with OSPF as the IGP, you must specify the next hop as an interface name, not as an IPv4 or IPv6 address. The next hops in this example are specified as ge-2/0/0.0 and so-0/3/0.0.