ip policy route-map

Enables policy-based routing (PBR).
Syntax
ip policy route-map map-name
no ip policy route-map map-name
Command Default

PBR is not enabled.

Parameters
map-name
Specifies the name of the route map.
Modes

Global configuration mode

Interface configuration mode

Virtual interface configuration mode

Usage Guidelines

This command can be used to enable PBR globally on all interfaces or on a specific interface.

The no form of the command disables PBR.

Examples

The following example enables PBR globally.

device(config)# route-map map1
device(config-routemap map1)# exit
device(config)# ip policy route-map map1

The following example enables PBR on a specific interface.

device(config)# interface ethernet 1/1/1
device(config-if-e1000-1/1/1)# ip policy route-map map1
History
Release version Command history
08.0.40a Support for this command was added for the RUCKUS ICX 7250.