set routing route-map match peer


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-nameorder <NUMBERmatch peer {ipv4-addr <ipv4-address>|ipv6-addr <ipv6-address> | local}

delete routing route-map <route-map-name> order <NUMBER> match peer {ipv4-addr <ipv4-address>|ipv6-addr <ipv6-address> | local}


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.

peer {ipv4-addr <ipv4-address>|ipv6-addr <ipv6-address>|local}

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 order 10 match peer ipv4-addr 100.100.100.1
admin@Xorplus# set routing route-map GlobalMap order 10 matching-policy permit
admin@Xorplus# commit

Copyright © 2024 Pica8 Inc. All Rights Reserved.