03-13-2020 12:47 PM
Is there any useful case of “ match interface “ in route-map other than usage in NAT .
And I aslo want to know how “match interface”cmd work . I mean , Does this command work for checking interface or mapping interface to appropriate route ?
Solved! Go to Solution.
03-13-2020 01:07 PM
Hi,
Within a route-map, the "match" command is a condition, thus it works the same way, depending on what you use it for:
- if you use it for NAT, the "match interface" matches on the egress interface of the traffic
- if you use it for route-redistribution, the "match interface"matches on the prefix attached to the interface
Regards,
Cristian Matei.
03-13-2020 01:07 PM
Hi,
Within a route-map, the "match" command is a condition, thus it works the same way, depending on what you use it for:
- if you use it for NAT, the "match interface" matches on the egress interface of the traffic
- if you use it for route-redistribution, the "match interface"matches on the prefix attached to the interface
Regards,
Cristian Matei.
03-14-2020 01:28 PM
03-15-2020 09:10 AM
Hi,
- "match" is a condition, examples specified in my first post
- "set" is an action, one example of "set interface" would be used in a route-map for the scope of PBR (policy-based routing), in order to force the packet egress out a specific interface and next-hop
Regards,
Cristian Matei.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide