OcNOS-SP : Layer 3 Guide : Border Gateway Protocol Command Reference : BGP Commands : neighbor capability orf prefix-list
neighbor capability orf prefix-list
Use this command to enable Outbound Router Filtering (ORF) and advertise the ORF capability to its neighbors. The ORFs send and receive capabilities to lessen the number of updates exchanged between neighbors. By filtering updates, this option minimizes generating and processing of updates.
The two routers exchange updates to maintain the ORF for each router:
The local router advertises the ORF capability in send mode.
The remote router receives the ORF capability in receive mode, applying the filter as outbound policy.
Only an individual router or a peer group can be configured to be in receive or send mode. A peer-group member cannot be configured to be in receive or send mode.
Use the no parameter with this command to disable this function.
For unnumbered peer, IPv4 unicast mode commands are configured under v4-unnumbered-mode.
Command Syntax
neighbor (A.B.C.D|X:X::X:X|WORD) capability orf prefix-list (both|receive|send)
no neighbor (A.B.C.D|X:X::X:X|WORD) capability orf prefix-list (both|receive|send)
For v4-unnumbered mode:
neighbor WORD capability orf prefix-list (both|receive|send)
no neighbor WORD capability orf prefix-list (both|receive|send)
Parameters
A.B.C.D
Address of the BGP neighbor in an IPv4 format
X:X::X:X
Address of the BGP neighbor in an IPv6 format
WORD
Name of a BGP peer group created with the neighbor WORD peer-group command. When you specify this parameter, the command applies to all peers in the group.
both
The local router can send ORF entries to its peer, as well as receive ORF entries from its peer.
receive
The local router is willing to receive ORF entries from its peer
send
The local router is willing to send ORF entries to its peer
Default
By default, the orf prefix-list is disabled
Command Mode
Router Address Family (IPv4 unicast, IPv4 multicast, IPv6, v4-unnumbered) mode
Applicability
This command was introduced before OcNOS version 1.3.
Examples
#configure terminal
(config)#router bgp 10
(config-router)#address-family ipv4 unicast
(config-router-af)#neighbor 10.10.0.5 capability orf prefix-list both
(config-router-af)#neighbor effe:2897::0003:3ed5 capability orf prefix-list receive
 
(config)#router bgp 100
(config-router)#address-family ipv4 unicast
(config-router-af)#bgp v4-unnumbered-mode
(config-router-v4-unnum)#neighbor eth1 capability orf prefix-list both
 
Last modified date: 10/16/2023