Description
Example
peer reflect-client
Syntax
View
Parameter
Description
Example
Use the
peer public-as-only
private AS numbers.
Use the
undo peer public-as-only
carry private AS numbers.
By default, a BGP update carries private AS numbers.
If a BGP update to be sent carries any public AS number, this command does not
take effect. The private AS number ranges from 64512 to 65535.
# In BGP-VPNv4 subaddress family view, configure the device to make BGP
updates to be sent to peer group test carry no private AS numbers.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] ipv4-family vpnv4
[Sysname-bgp-af-vpnv4] peer test public-as-only
peer { group-name | ip-address } reflect-client
undo peer { group-name | ip-address } reflect-client
BGP-VPNv4 subaddress family view/BGP-L2VPN address family view
group-name: Name of the peer group, a string of 1 to 47 characters.
ip-address: IP address of the peer.
Use the
peer reflect-client
reflector (RR) and set a peer or peer group as the client of the RR.
Use the
undo peer reflect-client
By default, no RR or RR client is configured.
# In BGP-VPNv4 subaddress family view, configure the local device to be an RR and
set peer group test as the client of the RR.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] ipv4-family vpnv4
[Sysname-bgp-af-vpnv4] peer test reflect-client
# In BGP-L2VPN address family view, configure the local device to be an RR and set
peer group test as the client of the RR.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] l2vpn-family
[Sysname-bgp-af-l2vpn] peer test reflect-client
command to make outbound BGP updates carry no
command to make outbound BGP updates
command to configure the local device to be a route
command to remove the configuration.
1705