August 2005
Intermediate to advanced
798 pages
31h 12m
English
ip policy route-map — interface
ip policy route-mapmapno ip policy route-mapmap
Policy routing
None
This command enables policy routing for an interface. In brief, policy routing means using criteria other than the shortest path (as computed by a routing protocol) for route selection. The map parameter is the name of a route map that specifies the routing policy. The map applies only to traffic arriving on the interface.
The following configuration applies the route map map1 to packets arriving on the serial1 interface. This route map selects packets that match access list 101 and sends them to the router at 10.1.1.1 for further routing, regardless of other information in the routing table.
access-list 101 permit ip 10.1.5.0 0.0.0.255 any ! interface serial 1 ip policy route-map map1 ! route-map map1 match ip address 101 set ip next-hop 10.1.1.1