Description
Examples
peer reflect-client (BGP/BGP-VPN instance view)
Syntax
View
Parameters
Description
Related commands:
Examples
Use the
peer public-as-only
updates sent to a peer/peer group.
Use the
undo peer public-as-only
BGP updates sent to a peer/peer group.
By default, BGP updates carry private AS numbers.
The command does not take effect if the BGP update has both public and private
AS numbers. The range of private AS number is from 64512 to 65535.
# In BGP view, carry no private AS number in BGP updates sent to the peer 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 test (the VPN has been created).
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] ipv4-family vpn-instance vpn1
[Sysname-bgp-vpn1] peer test public-as-only
peer { group-name | ip-address } reflect-client
undo peer { group-name | ip-address } reflect-client
BGP view
group-name: Name of a peer group, a string of 1 to 47 characters.
ip-address: IP address of a peer.
Use the
peer reflect-client
reflector and specify a peer/peer group as a client.
Use the
undo peer reflect-client
By default, neither route reflector nor client is configured.
reflect between-clients (BGP view) and reflector cluster-id (BGP view).
# In BGP view, configure the local device as a router reflector and specify the IBGP
peer group test as a client.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] peer test reflect-client
command to not keep private AS numbers in BGP
command to keep private AS numbers in
command to configure the router as a router
command to remove the configuration.
1001