...
set protocols bgp [vrf <vrf-name>] [{ipv4 unicast|ipv4 labeled-unicast|ipv6 unicast|ipv6 labeled-unicast] neighbor <bgppeer> route-map <route-map>} {neighbor <ip>| peer-group <peer-group> |interface <interface>} {in|out} route-map <route-map>
delete protocols bgp [vrf <vrf-name>] [{ipv4 unicast|ipv4 labeled-unicast|ipv6 unicast|ipv6 labeled-unicast] neighbor <bgppeer> route-map <route-map> } {neighbor <ip>| peer-group <peer-group> |interface <interface>} {in|out} route-map <route-map>
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 <bgppeer>. |
{ipv4 unicast|ipv4 labeled-unicast|ipv6 unicast|ipv6 labeled-unicast} | Specifies the type of the address family. | |
neighbor <ip> | Specifies the IP address of a peer or a Peer-Grouppeer. | |
peer-group <peer-group> | Specifies a peer group. | |
interface <interface> | Specifies an interface for BGP connection. | |
route-map <route-map> | Specifies the name of the route map. | |
{in|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). |
...
Code Block |
---|
admin@XorPlus# set protocols bgp ipv4 unicast neighbor 2.2.2.2 route-map map1 in
admin@XorPlus# commit |
...