...
The set routing route-map match ip prefix-len command matches the outgoing interface value of the route with the value configured in the match clausemap match ipv4-addr address command matches the destination IP address prefix length or the prefix 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 outgoing interface value of the route. 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 | valueprefix length to be matched | with the outgoing interface of the route entry. The value is an integer that ranges from 0 to 32. |
prefix-len list <prefix-len>-list-v4> | Specifies the name of the prefix list to be matched. |
Example
- Configure a match clause in the route map to match the outgoing interface the address prefix length of the route:routes.
Code Block |
---|
admin@Xorplus# set routing route-map GlobalMap order 10 match ipv4-addr interfaceaddress ge-1/1/1prefix-len 24 admin@Xorplus# commit |