enable bgp peer-group capability

enable bgp peer-group peer-group-name capability {[address-family [ipv4-unicast | ipv4-multicast]} type [community | ext-community | prefix] {[send | receive | both]}

Description

This command enables ORF capabilities for a particular peer, peer-group, or all peers for one or all address-families and ORF types (for example, communities, extended communities and prefixes). The command specifies whether ORF capabilities are sent to the peer, and if they are honoured if received from the peer, or both.

Syntax Description

peer-group-name Specifies a peer group.
orf Specifies outbound route filtering.
address-family Specifies outbound route filtering.
ipv4-unicast Specifies an IPv4 unicast address family.
ipv4-multicast Specifies an IPv4 multicast address family.
community Enables ORF for communities.
ext-community Enables ORF for extended communities.
prefix Enables ORF for prefixes.
send Enables ORF filter list send capability.
receive Enables ORF filter list receive capability.
both Enables ORF filter list send and receive capability.

Default

  • ORF is disabled globally.
  • ORF capabilities are assumed to be disabled by default for all neighbors.
  • If address family is not specified, ipv4-unicast is assumed.
  • If direction is not specified, both is assumed.
    Note

    Note

    prefix is not supported for vpnv4 address family.

The route refresh capability is enabled for IPv6 peer groups by default.

Usage Guidelines

By specifying the address-family, type and direction in multiple commands you can better control the ORF capabilities sent to a peer. In cases where a particular address-family is explicitly disabled for a peering, the ORF capability configuration for that address-family is ignored and not sent.

ORF capabilities can only be enabled for IPv4 neighbors and only for IPv4 address families. If configured for IPv6 neighbors or address-families the command is rejected with the following error message:

Outbound-route-filtering not supported for IPv6 neighbors, or Outbound-route-filtering not supported for address family addr_family .

Example

The following command enables send only ORF capabilities for an ipv4 multicast peer group:

enable bgp peer-group capability orf address-family ipv4-multicast type community send

History

This command was first available in ExtremeXOS 15.3.

Platform Availability

This command is available on platforms that support the appropriate license. For complete information about software licensing, including how to obtain and upgrade your license and which licenses support the BGP feature, see the Feature License Requirements document.