Route-map pbr – Enterasys Networks X-Pedition XSR CLI User Manual

Page 222

Advertising
background image

Policy-Based Routing Commands

5-146 Configuring the Internet Protocol

Examples

The following example enables PBR on interface FastEthernet 2:

XSR(config-if<F2>)#ip policy

The following example enables PBR on interface Dialer 57:

XSR(config-if<D57>)#ip policy

route-map pbr

This command adds or deletes PBR route‐map entries and acquires PBR Map configuration mode. 
The following commands are subsets of Route Map PBR functionality:

match ip address -

 Adds/deletes PBR match clauses. See 

page 5‐147

 for command 

definition.

set ip next-hop

 ‐ Adds or deletes PBR set clauses for the next‐hop router. See 

page 5‐147

 for 

command defintion.

set interface

 ‐ Adds or deletes PBR set clauses on an interface. See 

page 5‐148

 for command 

defintion

Syntax

route-map pbr sequence-number

Syntax of the “no” Form

The no command deletes the specified policy entry or the whole policy table if no sequence 
number is specified:

no route-map pbr [sequence-number]

Mode

Global configuration: 

XSR(config)#

Next Mode

PBR Map configuration: 

XSR(config-pbr-map)#

Example

In the following example, policy entry number 10 is created:

XSR(config)#route-map pbr 10
XSR(config-pbr-map)#

sequence-number

 Sequential number of the policy entry in the PBR route map table.

Advertising