R3102-R3103-HP 6600/HSR6600 Routers MPLS Command Reference Guide

324
Usage guidelines
If a BGP update to be sent carries any public AS number, this command does not take effect. The value
range for the private AS number is 64512 to 65535.
Examples
# In BGP-VPNv4 subaddress family view, configure the device to exclude private AS numbers from the
BGP updates to be sent to the peer group test.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] ipv4-family vpnv4
[Sysname-bgp-af-vpnv4] peer test public-as-only
peer reflect-client (BGP-VPNv4 subaddress family
view/BGP-L2VPN address family view/BGP-VPLS address
family view)
Use peer reflect-client to configure the local device as a route reflector (RR) and a peer or peer group as
the client of the RR.
Use undo peer reflect-client to remove the configuration.
Syntax
peer { group-name | ip-address } reflect-client
undo peer { group-name | ip-address } reflect-client
Default
No RR or RR client is configured.
Views
BGP-VPNv4 subaddress family view, BGP-L2VPN address family view, BGP-VPLS address family view
Default command level
2: System level
Parameters
group-name: Name of the peer group, a case-sensitive string of 1 to 47 characters.
ip-address: IP address of the peer.
Usage guidelines
For more information about RR, see Layer 3—IP Routing Configuration Guide.
The BGP view, BGP-VPNv4 subaddress family view, and BGP-VPNv6 subaddress family view support the
peer reflect-client command. If you configure this command in BGP view, you configure the local device
to reflect public network routes. If you configure this command in BGP-VPNv4 subaddress family view or
BGP-VPNv6 subaddress family view, you configure the local device to reflect VPN routes. For more
information about BGP view, see Layer 3IP Routing Command Reference.
Examples
# In BGP-VPNv4 subaddress family view, configure the local device as RR and peer group test as the
client of the RR.