Topology
graph LR
net1(LAN1_172.17.99.0/24)
net1 <--> R1
R1 <--> |WAN1_10.10.10.8/30|R4
Configuration and Interpretations
Desired outcome: I want to configure a generated route on R1 for the prefix 172.17.99.0. Currently, the prefix 172.17.99.0/24 is directly attached to ge-0/0/6. I want to make R1 advertise the generated route 172.17.96.0/19 toward its BGP neighbor R4 only when R1 receives the BGP route 10.22.1.0/26 from R4 (which is configured as an aggregate route on R4) and successfully imports it from BGP into inet.0. On R1, at the moment there is only one contributing route for the generated route, which is 17.17.99.0/24.
QoS is disabled. We should enable it on global configuration level:
If we want to display QoS settings for an interface, we do a show mls qos interface command:
At this stage we still did not define trust boundaries. That’s why Trust State and Trust Mode say “not trusted”. And we did not specify whether we’ll trust a device or not.
To define trust boundary with auto-qos, we either trust all CoS values coming on the switch interface or we trust CoS values only if an ip phone is connected to the switch port.
With auto qos voip trust, we tell the switch to trust CoS on each packet coming on the switch interface:
If we want to further limit trust boundary, we can tell the switch to trust CoS values only if a Cisco ip phone is detected on the port:
Finally, on a 3550 switch, show auto qos and show auto qos interface give the same output:






