1 / 9

Cos-Based Forwarding

Cos-Based Forwarding. Fabric. Rewrite Marker. CoS Processing—CBF. Ingress. Forwarding Policy. BA Classifier. Policing (Ingress). Multifield Classifier. Scheduler. Shaper. RED. Egress. Scheduler. Shaper. RED. Scheduler. Shaper. RED. Multifield Classifier. Policing (Egress).

afletcher
Download Presentation

Cos-Based Forwarding

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Cos-Based Forwarding

  2. Fabric RewriteMarker CoS Processing—CBF Ingress Forwarding Policy BA Classifier Policing (Ingress) Multifield Classifier Scheduler Shaper RED Egress Scheduler Shaper RED Scheduler Shaper RED Multifield Classifier Policing (Egress) Scheduler Shaper RED

  3. CBF Overview • Role of CBF • Enables routing path selection based on forwarding class • Supports IPv4, IPv6, MPLS BE packet Packet Packet EF packet

  4. CBF Configuration • Configuration steps: • Configure routing policy • Identify routes to use CBF • Configure CoS forwarding policy • Specify next hops per forwarding class • Apply the routing policy • Apply to forwarding table 192.168.1.1 BE BE EF EF 172.16.1.1 10.0.0.1 CBF-enabled router

  5. CBF Configuration Example (1 of 3) • Configure routing policy • Identify routes to use CBF • Send to CoS forwarding policy [edit] user@R1# show policy-options policy-statement sample-cbf-policy { from { route-filter 172.16.1.0/24 exact; } then cos-next-hop-map sample-cbf-map; } 192.168.1.1 BE BE EF EF 172.16.1.1 10.0.0.1 CBF-enabled router

  6. CBF Configuration Example (2 of 3) • Configure CoS forwarding policy • Specify next hops per forwarding class • Use a next-hop map Define multiple next-hops to enable load-sharing [edit class-of-service] user@R1# show forwarding-policy next-hop-map sample-cbf-map { forwarding-class BestEffort { next-hop 192.168.1.1; } forwarding-class ExForwarding { next-hop 10.0.0.1; lsp-next-hop 101; } } Use (or mix) IPv4 and MPLS next-hops 192.168.1.1 BE BE EF EF 172.16.1.1 10.0.0.1 CBF-enabled router

  7. CBF Configuration Example (3 of 3) • Apply the routing policy • Apply to forwarding table [edit routing-options] user@R1# show forwarding-table { export sample-cbf-policy; } 192.168.1.1 BE BE EF EF 172.16.1.1 10.0.0.1 CBF-enabled router

  8. CBF Usage Notes • CBF with OSPF • Must configure next hop as interface name • Accommodates point-to-point interfaces • IP and LSP next-hops • Can configure both for a forwarding class • LSP next-hops are preferred • Incomplete next-hop map • Default class next-hop used for forwarding classes not specified in next-hop map • Default class = forwarding class mapped to queue 0 • Default class = randomly selected if Q0-based class not present

More Related