Programmable Internetworking & Communication Operating System Docs ... Click Spaces -> Space Directory to see docs for all releases ...
Page tree
Skip to end of metadata
Go to start of metadata

The set protocols bgp neighbor filter-list command configures an AS Path list to advertise or receive routes from peers.

The delete protocols  bgp neighbor filter-list command disables this feature.

Command Syntax

set protocols bgp [vrf <vrf-name>] {neighbor <ip>peer-group <peer-group> |interface <interface>} {ipv4-unicast|ipv4-labeled-unicast|ipv6-unicast|ipv6-labeled-unicast} {in|out} filter-list <as-path-list> 

delete protocols bgp [vrf <vrf-name>] {neighbor <ip>peer-group <peer-group> |interface <interface>} {ipv4-unicast|ipv4-labeled-unicast|ipv6-unicast|ipv6-labeled-unicast{in|out} filter-list <as-path-list>




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>].

{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.
peer-group <peer-group>Specifies a peer group.
interface <interface>Specifies an interface for BGP connection.
filter-list <as-path-list>Specifies the AS Path list, which is configured by the command set routing as-path-list.

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

• This example configures an AS Path list to receive routes from peers.

admin@XorPlus# set protocols bgp neighbor ipv4-unicast in filter-list List1
admin@XorPlus# commit

  • No labels