If-Match Ip-Prefix - H3C S7500E Series Command Manual

Hide thumbs Also See for S7500E Series:
Table of Contents

Advertisement

Command Manual – IPv4 Routing
H3C S7500E Series Ethernet Switches
ip-prefix ip-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 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

6.2.5 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-match ip-prefix command to configure an IP prefix list based match
criterion.
Use the undo if-match ip-prefix command to remove the match criterion.
No IP prefix list based match criterion is configured by default.
Related commands: if-match interface, if-match ip next-hop, if-match cost,
if-match tag, route-policy, apply ip-address next-hop, apply cost, apply
local-preference, apply origin, apply tag.
Chapter 6 Routing Policy Configuration Commands
6-26

Advertisement

Table of Contents
loading

Table of Contents