Routing

IMPORTANT MODERATION NOTICE

This community is currently under full moderation, meaning  all posts will be reviewed before appearing in the community. Please expect a brief delay—there is no need to post multiple times. If your post is rejected, you'll receive an email outlining the reason(s). We've implemented full moderation to control spam. Thank you for your patience and participation.



Expand all | Collapse all

Need coach for Class based forwarding

  • 1.  Need coach for Class based forwarding

    Posted 05-14-2021 22:01
    I have the following configuration on vMX
    set class-of-service forwarding-policy next-hop-map cos-map forwarding-class expedited-forwarding next-hop ge-0/0/3.101
    set class-of-service forwarding-policy next-hop-map cos-map forwarding-class best-effort next-hop ge-0/0/2.102
    
    set policy-options policy-statement cos-policy term 1 from route-filter 192.168.231.0/24 exact
    set policy-options policy-statement cos-policy term 1 then cos-next-hop-map cos-map
    
    set routing-options forwarding-table export cos-policy​

    When I tried to verify via the following

    root@Transit1# run show route forwarding-table matching 192.168.231.0/24
    Routing table: default.inet
    Internet:
    
    Routing table: __master.anon__.inet
    Internet:
    
    [edit]
    

    I did not see any routes here.

    The sample I am studying has routes .

    What have I missed here?

    thanks a lot !!



  • 2.  RE: Need coach for Class based forwarding

    Posted 08-02-2021 07:00
    The configuration you added there is used to associate a QoS policy in your device, and the show route forwarding-table simply checks the forwarding table, which is independent of the QoS policy. If in your example you can see the route, is because the route exist in your routing domain, not because QoS is creating some policy action on it.

    Elvin