neighbor capability orf prefix-list

Syntax

neighborcapability orf prefix-list {send | receive | both} no neighborcapability orf prefix-list {send | receive | both}

Description

使出站中性路线过滤(ORF)ity with the neighbor in one of the three available modes. The available modes are send, receive, and both. The ORF capability is executed based on prefix list only.

The Outbound Route Filtering (ORF) capability provides a mechanism for a BGP speaker to send a set of Outbound Route Filters (ORFs) that can be used by its BGP peer to filter its outbound routing updates to the speaker. This is a filtering method used to reduce the computation on the router receiving the route.

Thenoform of this command disables the ORF capability.

Command context

config-bgp-ipv4-uc

or

config-bgp-ipv6-uc

Parameters

Specifies an IP address.

capability orf prefix-list {send | receive | both}

Enables ORF prefix list capability with the neighbor in one of the following modes:

  • send- Enables the ORF prefix list capability in send mode.

  • receive- Enables the ORF prefix list capability in receive mode.

  • both- Enables the ORF prefix list capability in both send and receive mode.

Authority

Administrators or local user group members with execution rights for this command.

Examples

Enabling the ORF prefix list capability in both send and receive mode:
switch(config-bgp-ipv4-uc)#neighbor 1.1.1.1 capability orf prefix-list both
Enabling the ORF prefix list capability in send mode:
switch(config-bgp-ipv4-uc)#neighbor 1.1.1.1 capability orf prefix-list send
Disabling the ORF prefix list capability in both send and receive mode: :
switch(config-bgp-ipv4-uc)#no neighbor 1.1.1.1 capability orf prefix-list both