HP 6125XLG R2306-HP 6125XLG Blade Switch Layer 3 - IP Routing Command Referenc - Page 452
ip prefix-list
View all HP 6125XLG manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 452 highlights
Examples # Configure node 10 of routing policy policy1 to match IPv4 routing information whose next hop matches IP prefix list p1. system-view [Sysname] route-policy policy1 permit node 10 [Sysname-route-policy-policy1-10] if-match ip next-hop prefix-list p1 ip prefix-list Use ip prefix-list to configure an IPv4 prefix list or an item for the list. Use undo ip prefix-list to remove an IPv4 prefix list or an item of it. Syntax ip prefix-list prefix-list-name [ index index-number ] { deny | permit } ip-address mask-length [ greater-equal min-mask-length ] [ less-equal max-mask-length ] undo ip prefix-list prefix-list-name [ index index-number ] Default No IPv4 prefix list is configured. Views System view Predefined user roles network-admin Parameters prefix-list-name: Specifies a name for the IPv4 prefix list, a case-sensitive string of 1 to 63 characters. index-number: Specifies an index number for an IPv4 prefix list item, in the range of 1 to 65535. An item with a smaller number is matched first. deny: Specifies the deny mode. If a route matches the item, the route is denied without matching against the next item; if not, the route matches against the next item (suppose the IPv4 prefix list has multiple items). permit: Specifies the permit mode. If a route matches the item, it passes the IPv4 prefix list. If not, it matches against the next item (suppose the IPv4 prefix list has multiple items). ip-address mask-length: Specifies an IPv4 prefix and mask length. The value range for the mask-length argument is 0 to 32. min-mask-length, max-mask-length: Specifies a prefix length range. The greater-equal keyword means "greater than or equal to" and the less-equal keyword means "less than or equal to." The range relation is mask-length