Note=The below configuration will not check the local routing table and it will forward all traffic to that nexthop..!
[6720]acl number 3100
[6720-acl-adv-3100]rule 10 permit ip source 10.14.7.0 0.0.0.255
[6720]traffic classifier ABC
[6720-classifier-ABC]if-match acl 3100
[6720]traffic behavior ABC
[6720-behavior-ABC]redirect ip-nexthop 10.70.29.19
[6720]traffic policy ABC
Info: If the traffic policy has been applied to board, making modifications that are not supported by the board on the traffic policy may cause the failure to apply this traffic policy.
[6720-trafficpolicy-ABC]classifier ABC behavior ABC
[6720]traffic-policy ABC global inbound
Even if you configure it on interface still it will not check the local routing table and will forward all the traffic to that nexthop.
[6720]interface XGigabitEthernet 0/0/11
[6720-XGigabitEthernet0/0/11] traffic-policy ABC inbound
Here , i want that when there is a route not present in the routing table in that case the traffic will be forwarded to the nexthop only so i configured the acl to check the default route only..!
[6720]acl number 3100
[6720-acl-adv-3100]rule 10 permit ip source 110.14.7.0 0.0.0.255 destination 0.0.0.0 0.0.0.0
[6720]traffic-policy ABC global inbound
No comments:
Post a Comment