
369
[Sysname-bgp-af-vpnv6] peer 1.1.1.1 public-as-only
peer reflect-client
Description
Use the
peer reflect-client
command to configure the local device as an RR and a peer or peer group as
the client of the RR.
Use the
undo peer reflect-client
command to remove the configuration.
By default, no RR or RR client is configured.
The BGP 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-VPNv6 subaddress family view, you configure the local device to
reflect VPN routes. For more information about BGP view, see the
Layer 3—IP Routing Command
Reference
.
Syntax
In BGP-VPNv4 subaddress family view/BGP-L2VPN address family view, VPLS address family view:
peer
{
group-name
|
ip-address
}
reflect-client
undo peer
{
group-name
|
ip-address
}
reflect-client
In BGP-VPNv6 subaddress family view:
peer
ip-address
reflect-client
undo peer
ip-address
reflect-client
View
BGP-L2VPN address family view, VPLS address family view, BGP-VPNv6 subaddress family view
Default level
2: System level
Parameters
group-name
: Specifies the name of the peer group, which is a case-sensitive string of 1 to 47 characters.
ip-address
: Specifies the IP address of the peer.
Examples
# In BGP-L2VPN address family view, configure the local device as an RR and 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
# In VPLS address family view, configure the local device as an RR and peer group
test
as the client of the
RR.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] vpls-family