R3303-HP 6600/HSR6600 Routers Layer 3 - IP Routing Command Reference
280
Usage guidelines
The command does not take effect if the BGP update has both public and private AS numbers. The value
range for the private AS number is 64512 to 65535.
Examples
# In BGP view, carry no private AS number in BGP updates sent to the peer group test.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] peer test public-as-only
# In BGP-VPN instance view, carry no private AS number in BGP updates sent to the peer group test. (The
VPN has been created.)
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] ipv4-family vpn-instance vpn1
[Sysname-bgp-ipv4-vpn1] peer test public-as-only
peer reflect-client (BGP/BGP-VPN instance view)
Use peer reflect-client to configure the router as a route reflector and specify a peer/peer group as a
client.
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
Neither the route reflector nor the client is configured.
Views
BGP view, BGP-VPN instance view
Default command level
2: System level
Parameters
group-name: Name of a peer group, a string of 1 to 47 characters.
ip-address: IP address of a peer.
Usage guidelines
The peer reflect-client command can be configured in both BGP view and BGP-VPNv4 subaddress family
view. In BGP view, the command enables the router to reflect routes of the public network; in BGP-VPNv4
subaddress family view, the command enables the router to reflect routes of the private network. (You can
enter BGP-VPNv4 subaddress family view by executing the ipv4-family vpnv4 command in BGP view.
For more information about the ipv4-family vpnv4 command, see MPLS Command Reference.)
Examples
# In BGP view, configure the local device as a route reflector and specify the IBGP peer group test as a
client.
<Sysname> system-view










