...
The set routing route-map match ip prefixmap match ipv4-len addr address command matches the destination IP address prefix length or the next-hop address prefix length list of the routes.
The delete routing route-map match ip prefixmap match ipv4-len addr address command restores the default behavior of not matching the matching the destination IP address prefix length or the prefix list of the routes.
Command Syntax
set routing route-map <route-map-name> order <NUMBER> match ip <address|next-hop> prefixmatch ipv4-addr address {prefix-len <prefix-len>|prefix-list <prefix-list-v4>}
delete routing route-map <route-map-name> order <NUMBER> match ip <address|next-hop> prefixmatch ipv4-addr address {prefix-len <prefix-len>|prefix-list <prefix-list-v4>}
Parameter
Parameter | Description | ||
route-map <route-map-name> | Specifies the name of the route map. Required. | ||
order <NUMBER> | Specifies the sequence number of the entry. Required. The value is an integer that ranges from 1 to 65535. | ip <address|next-hop> | . |
prefix-len <prefix-len> | Specifies the prefix length to be matched. The value is an integer that ranges from 0 to 32. | ||
prefix-list <prefix-list-v4> | Specifies the name of the prefix list to be matched. |
Example
- Configure a match clause in the route map to match the address prefix length of the routes.
Code Block |
---|
admin@Xorplus# set routing route-map GlobalMap order 10 match ipipv4-addr address prefix-len 24 admin@Xorplus# commit |
...