beautypg.com

Match ip address, Set ip next-hop – Enterasys Networks X-Pedition XSR CLI User Manual

Page 223

background image

Policy-Based Routing Commands

XSR CLI Reference Guide 5-147

match ip address

This command associates the PBR policy with a configured Access Control List (ACL).

Syntax

match ip address access-number

Syntax of the “no” Form

The no command deletes the specified ACL match clause:

no match ip address access-number

Mode

PBR Map configuration: 

XSR(config-pbr-map)#

Example

In the following example, ACL 101 is used to match the traffic:

XSR(config-pbr-map)#match ip address 101

set ip next-hop

This command specifies a next‐hop IP address as the forwarding router for Policy Based Routing.

Syntax

set ip next-hop ip-address

Syntax of the “no” Form

The no command deletes the specified set clause:

no set ip next-hope ip-address

Mode

PBR Map configuration: 

XSR(config-pbr-map)#

Example

In the following example, 192.168.27.1 is set as the next‐hop router:

XSR(config-pbr-map)#set ip next-hop 192.168.27.1

access-number

The ACL number used to match traffic.

ipaddress

 IP address of the next hop.