HP 6125G HP 6125G & 6125G/XG Blade Switches Layer 3 - IP Routing Comma - Page 367
if-match ip-prefix
View all HP 6125G manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 367 highlights
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. 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 View undo if-match ip-prefix 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. system-view [Sysname] route-policy policy2 permit node 10 [Sysname-route-policy] if-match ip-prefix p1 356