350
Configuration Result:
Set the ACL a1 which includes 2 policies. The first policy allows the traffic which has
the source IP address as 192.168.1.0/24. The second policy denies the traffic which has
the source IP address as 192.168.1.0/24 and has the destination IP address as
192.168.0.0/16. Then, enable the QoS globally. Create a class-map called c1. Set the
match for the ACL a1 in the class-map c1. Create a policy-map called p1. Quote c1 in the
policy-map p1. Set the next hop IP address as 218.31.1.119. Apply the policy-map p1 on
the Ethernet port 1/1.
After the above configuration, on the Ethernet port 1/1, all the traffic which has the
source IP address as 192.168.1.0/24, except the traffic which has the source IP address
as 192.168.1.0/24 and has the destination IP address as 192.168.0.0/16, is forwarded to
218.31.1.119.