If-Match Ip-Prefix - HP 6125G Command Reference Manual

Layer 3 - ip routing
Hide thumbs Also See for 6125G:
Table of Contents

Advertisement

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
356

Advertisement

Table of Contents
loading

This manual is also suitable for:

6125 blade switch series

Table of Contents