Policy Based Routes Configuration Commands
To use Policy Based Routes, you should have Cisco router configuration files with statements for policy based routing such as those given in the following table.
Command | Example Formats |
---|---|
Configure for a router the access list(s) that will be referenced in the route-map statement(s) | Sample standard access list: Extended access lists can be used as well |
Specify for an interface on the router, the route-map to be applied | ip policy route-map <route-map-name> |
Define the route-map for the router | Specify route map name and number: route-map <route-map-name> permit|deny <number to indicate relative order of application> Specify an access list ID to match against if any: Specify the outgoing interface or else the next-hop: set interface <interface_name> set ip next-hop <ip-address> |