neighbor route-map

Filters the outgoing and incoming route updates to or from a particular BGP neighbor according to a set of attributes defined in a route map.
Syntax
neighbor { ip-address | ipv6-address | peer-group-name } route-map { in string | out string }
no neighbor { ip-address | ipv6-address | peer-group-name } route-map { in string | out string }
Command Default

Outgoing and incoming route updates to or from a particular BGP neighbor are not filtered.

Parameters
ip-address
Specifies the IPv4 address of the neighbor.
ipv6-address
Specifies the IPv6 address of the neighbor.
peer-group-name
Specifies the peer group name configured by the neighbor peer-group-name command.
in
Applies the filter on incoming routes.
string
Name of the route map.
out
Applies the filter on outgoing routes.
Modes

BGP configuration mode

BGP address-family IPv6 unicast configuration mode

BGP L2VPN EVPN address family configuration mode

Usage Guidelines

When this command is entered in BGP global configuration mode, it applies only to the IPv4 address family. Use this command in BGP address-family IPv6 unicast configuration mode for BGP4+ configurations. Use this command in BGP L2VPN EVPN address family configuration mode BGP L2VPN EVPN configurations.

This command can be configured in BGP L2VPN EVPN address family configuration mode for RUCKUS ICX 7850 and ICX 7550 devices only.

The no form of the command removes the configured filters for the outgoing and incoming route updates to or from a particular BGP neighbor.

Examples

The following example applies a route map named "myroutemap" to an outgoing route from 10.11.12.13.

device# configure terminal
device(config)# router bgp
device(config-bgp-router)# neighbor 10.11.12.13 route-map out myroutemap

The following example applies a route map named "myroutemap" to an incoming route from 10.1.1.35 for the BGP L2VPN EVPN address family.

device# configure terminal
device(config)# router bgp
device(config-bgp-router)# local-as 656
device(config-bgp-router)# neighbor 1.1.1.35 remote-as 656
device(config-bgp-router)# address-family l2vpn evpn
device(config-bgp-l2vpn-evpn)# neighbor 10.1.1.35 activate
device(config-bgp-l2vpn-evpn)# neighbor 10.1.1.35 send-community both
device(config-bgp-l2vpn-evpn)# neighbor 10.1.1.35 route-map in myroutemap
History
Release version Command history
10.0.20 This command can also be configured in BGP L2VPN EVPN address family configuration mode.