EasyManua.ls Logo

HP 6125G - If-Match Ip-Prefix

HP 6125G
410 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
Loading...
356
Parameters
next-hop: Matches the next hop of routing information to the filter.
route-source: Matches the source address of routing information to the filter.
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.
Description
Use if-match ip to configure a next hop or source address match criterion for IPv4 routes.
Use undo if-match ip to remove the match criterion.
The match criterion is not configured by default.
Examples
# Configure node 10 of routing policy policy1 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
Default level
2: System level
Parameters
ip-prefix-name: Matches an IP prefix list with a name being a string of 1 to 19 characters.
Description
Use if-match ip-prefix to configure an IP prefix list based match criterion.
Use undo if-match ip-prefix to remove the match criterion.
No IP prefix list based match criterion is configured by default.
Examples
# Configure node 10 of routing policy policy2 to permit routes whose destination address matches IP
prefix list p1.
<Sysname> system-view
[Sysname] route-policy policy2 permit node 10
[Sysname-route-policy] if-match ip-prefix p1

Table of Contents

Other manuals for HP 6125G

Related product manuals