Enables policy-based routing (PBR).
PBR is not enabled.
Interface configuration mode
Port-channel configuration mode
Virtual interface configuration mode
The no form of the command disables PBR.
The following example enables PBR on a specific interface.
device# configure terminal device(config)# route-map test-route permit 99 device(config-route-map-test-route/permit/99)# match ip address acl 99 device(config-route-map-test-route/permit/99)# set ip next-hop 192.168.3.1 device(config-route-map-test-route/permit/99)# exit device(config)# interface ethernet 1/1 device(conf-if-eth-1/1)# ip policy route-map test-route