1209

 

 

if-match ip

 

Syntax

if-match ip { next-hop route-source } { acl acl-numberip-prefix ip-prefix-name}

 

undo if-match ip { next-hop route-source } [ acl ip-prefix ]

View

Routing policy view

Parameters

next-hop: Matches next hop.

 

route-source: Matches source address.

 

acl acl-number: Matches an ACL with a number from 2000 to 2999.

 

ip-prefixip-prefix-name: Matches an IP prefix list with a name being a string of 1

 

to 19 characters.

Description

Use the if-match ip command to configure a next hop or source address match

 

criterion for IPv4 routes.

 

Use the undo if-match ip command to remove the match criterion.

 

The match criterion is not configured by default.

Related commands:

route-policy.

Examples

# Create routing policy policy1 with node 10, matching mode as permit. Define

 

an if-match clause to permit routing information whose next hop address matches

 

IP prefix list p1.

 

<Sysname> system-view

 

[Sysname] route-policy policy1 permit node 10

 

[Sysname-route-policy] if-match ip next-hop ip-prefix p1

 

 

if-match ip-prefix

 

Syntax

if-match ip-prefix ip-prefix-name

 

undo if-match ip-prefix

View

Routing policy view

Parameters

ip-prefix-name: Matches an IP prefix list with a name being a string of 1 to 19

 

characters.

Description

Use the if-matchip-prefixcommand to configure an IP prefix list based match

 

criterion.

 

Use the undo if-matchip-prefixcommand to remove the match criterion.

Page 1209
Image 1209
3Com MSR 50, MSR 30 manual If-match ip-prefix, Related commands Route-policy Examples