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 showing routers A B C and D connected in a specific topology. Each router has an interface and IP address. Router A c1-0/0 with IP 10.40.11.230 Router B ge-2/0 with IP 10.41.12.252 Router C ge-0/0 with IP 10.41.12.253 Router D interface 10.255.71.209/32. Label 87.1.1.0/24 indicates a network or subnet.

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.