The set routing route-map match peer command matches the peer ip address. This is a BGP specific match command.
The delete routing route-map match peer command restores the default behavior of not matching the peer ip address if the BGP neighbor of the route.
Command Syntax
set routing route-map <route-map-name> <NUMBER> match peer {<ipv4-address>|<ipv6-address>}
delete routing route-map <route-map-name> <NUMBER> match peer {<ipv4-address>|<ipv6-address>}
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. |
peer {<ipv4-address>|<ipv6-address>} | Specifies if the peer ip address if the BGP neighbor is matched with a match clause. |
Example
- Configure a match clause in the route map to match the peer ip address if the BGP neighbor:
admin@Xorplus# set routing route-map GlobalMap 10 match peer 100.100.100.1 admin@Xorplus# set routing route-map GlobalMap 10 action permit admin@Xorplus# commit