Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

set protocols bgp [vrf <vrf-name>] [ipv4 unicast|ipv4 labeled-unicast|ipv6 unicast|ipv6 labeled-unicast] neighbor <protocol bgppeer> <bgppeer> route-map <route-map> {in|out}

delete protocols bgp [vrf <vrf-name>] [ipv4 unicast|ipv4 labeled-unicast|ipv6 unicast|ipv6 labeled-unicast] neighbor <protocol bgppeer> <bgppeer> route-map <route-map> {in|out}


Parameter

Parameter

Description

vrf <vrf-name>

Optional. Specifies a VRF name. The value is a string. It’s a user-defined VRF set by the command set ip vrf <vrf-name> [description <string>].

neighbor
<protocol bgppeer>
 <bgppeer>Specifies
an
the IP address of
neighbor
a peer.
 route-map <route-map>Specifies the name of the route map.
<in
{in|
out>
out}

Sets the route map policy to apply to either the received routes from the neighbor (in) or the advertised routes to the neighbor (out).


Example
• This example applies a route map to the incoming routes.

...