The set routing route-map match ip prefix-list command matches the destination IP address prefix or the next-hop address or the source IP address prefix of the routes with one or more addresses in the prefix list.
The delete routing route-map match prefix-list command restores the default behavior of not matching the destination IP address prefix or the next-hop address or the source IP address prefix of the routes to their default value.
Command Syntax
set routing route-map <route-map-name> <NUMBER> match ip <address|next-hop|route-source> prefix-list <prefix-list-v4>
delete routing route-map <route-map-name> <NUMBER> match ip <address|next-hop|route-source> prefix-list <prefix-list-v4>
Parameter
Parameter | Description |
route-map <route-map-name> | Specifies the name of the route map. Required. |
<NUMBER> | Specifies the sequence number of the entry. Required. The value is an integer that ranges from 1 to 65535. |
<address|next-hop|route-source> | Specifies the type of matching address.
|
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 IP address prefix list P1.
admin@Xorplus# set routing route-map GlobalMap 10 match ip address prefix-list P1 admin@Xorplus# commit