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
Original Message:
Sent: 05-14-2021 22:01
From: Unknown User
Subject: Need coach for Class based forwarding
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.101set class-of-service forwarding-policy next-hop-map cos-map forwarding-class best-effort next-hop ge-0/0/2.102set policy-options policy-statement cos-policy term 1 from route-filter 192.168.231.0/24 exactset policy-options policy-statement cos-policy term 1 then cos-next-hop-map cos-mapset 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/24Routing table: default.inetInternet:Routing table: __master.anon__.inetInternet:[edit]
I did not see any routes here.
The sample I am studying has routes .
What have I missed here?
thanks a lot !!