EasyManuals Logo

H3C S7500E Series Command Manual

H3C S7500E Series
1565 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #521 background imageLoading...
Page #521 background image
Command Manual – IPv4 Routing
H3C S7500E Series Ethernet Switches Chapter 6 Routing Policy Configuration Commands
6-26
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.

Table of Contents

Other manuals for H3C S7500E Series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the H3C S7500E Series and is the answer not in the manual?

H3C S7500E Series Specifications

General IconGeneral
BrandH3C
ModelS7500E Series
CategorySwitch
LanguageEnglish

Related product manuals