neighbor route-reflector-client
Use this command to make the router a BGP route reflector and set a specified neighbor as its client.
Using route reflectors reduces the number of iBGP peers within an AS. An AS can have more than one route reflector. A route reflector treats other route reflectors as other iBGP speakers.
Use the no parameter with this command to indicate that the neighbor is not a client.
Command Syntax
neighbor (A.B.C.D|X:X::X:X|WORD) route-reflector-client
no neighbor (A.B.C.D|X:X::X:X|WORD) route-reflector-client
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.
Default
No default value is specified
Command Mode
This command is supported in all Address Family modes.
Applicability
This command was introduced before OcNOS version 1.3.
Examples
In the following configuration, Router1 is the route reflector for clients 3.3.3.3 and 2.2.2.2; it also has a non-client peer 6.6.6.6.
#configure terminal
(config)#router bgp 200
(config-router)#neighbor 3.3.3.3 remote-as 200
(config-router)#neighbor 2.2.2.2 remote-as 200
(config-router)#neighbor 6.6.6.6 remote-as 200
(config-router)#address-family ipv4 unicast
(config-router-af)#neighbor 3.3.3.3 route-reflector-client
(config-router-af)#neighbor 2.2.2.2 route-reflector-client
For unnumbered peer, IPv4 unicast mode commands are configured under v4-unnumbered-mode.
(config)#router bgp 100
(config-router)#address-family ipv4 unicast
(config-router-af)#bgp v4-unnumbered-mode
(config-router-v4-unnum)#neighbor eth1 route-reflector-client
For unnumbered peer, configs in L2vpn EVPN mode are configured under l2vpn-unnumbered-mode.
(config)#router bgp 100
(config-router)#address-family l2vpn evpn
(config-router-af)#neighbor eth1 route-reflector-client
Last modified date: 07-13-2023