R3303-HP HSR6800 Routers MPLS Command Reference

375
peer public-as-only (BGP-VPNv6 subaddress family view)
Use peer public-as-only to make outbound BGP updates carry no private AS numbers.
Use undo peer public-as-only to make outbound BGP updates carry private AS numbers.
Syntax
peer ip-address public-as-only
undo peer ip-address public-as-only
Default
A BGP update carries private AS numbers.
Views
BGP-VPNv6 subaddress family view
Default command level
2: System level
Parameters
group-name: Specifies the name of the peer group, a case-sensitive string of 1 to 47 characters.
ip-address: Specifies the IP address of the peer.
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-VPNv6 subaddress family view, configure the device to exclude private AS numbers from the
BGP updates to be sent to the peer 1.1.1.1.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] ipv6-family vpnv6
[Sysname-bgp-af-vpnv6] peer 1.1.1.1 public-as-only
peer reflect-client (BGP-VPNv6 subaddress 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 ip-address reflect-client
undo peer ip-address reflect-client
Default
No RR or RR client is configured.
Views
BGP-VPNv6 subaddress family view