If-Match Ip; If-Match Ip-Prefix - H3C MSR 20-20 Command Reference Manual

Msr 20/30/50 series routers
Hide thumbs Also See for MSR 20-20:
Table of Contents

Advertisement

if-match ip

Syntax
View
Parameters
Description
Related commands:
Examples

if-match ip-prefix

Syntax
View
Parameters
Description
if-match ip { next-hop | route-source } { acl acl-number | ip-prefix ip-prefix-name }
undo if-match ip { next-hop | route-source } [ acl | ip-prefix ]
Routing policy view
next-hop: Matches next hop.
route-source: Matches source address.
acl acl-number: Matches an ACL with a number from 2000 to 2999.
ip-prefix ip-prefix-name: Matches an IP prefix list with a name being a string of 1
to 19 characters.
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
The match criterion is not configured by default.
route-policy.
# 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 ip-prefix-name
undo if-match ip-prefix
Routing policy view
ip-prefix-name: Matches an IP prefix list with a name being a string of 1 to 19
characters.
Use the
if-match ip-prefix
criterion.
Use the
undo if-match ip-prefix
command to remove the match criterion.
command to configure an IP prefix list based match
command to remove the match criterion.
1209

Advertisement

Table of Contents
loading

This manual is also suitable for:

Msr 20-21Msr 30-16Msr 30-20Msr 30-40Msr 30-60Msr 50 ... Show all

Table of Contents