Routing

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 !!