297
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] ipv4-family unicast
[Sysname-bgp-ipv4] peer test public-as-only
# In BGP-VPN IPv6 unicast instance view, remove private AS numbers in BGP updates sent
to EBGP peer group
test
.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] ip vpn-instance vpn1
[Sysname-bgp-vpn1] ipv6-family unicast
[Sysname-bgp-ipv6-vpn1] peer test public-as-only
peer reflect-client
Use
peer reflect-client
to configure the device as a route reflector and specify a peer or peer group as a
client.
Use
undo peer reflect-client
to restore the default.
Syntax
In BGP IPv4 unicast instance view/BGP-VPN IPv4 unicast instance view:
peer
{
group-name
|
ip-address
}
reflect-client
undo peer
{
group-name
|
ip-address
}
reflect-client
In BGP IPv6 unicast instance view:
peer
{
group-name
|
ipv6-address
}
reflect-client
undo peer
{
group-name
|
ipv6-address
}
reflect-client
Default
Neither the route reflector nor the client is configured.
Views
BGP IPv4 unicast instance view, BGP-VPN IPv4 unicast instance view, BGP IPv6 unicast instance view
Predefined user roles
network-admin
Parameters
group-name
: Specifies a peer group by its name, a case-sensitive string of 1 to 47 characters. The peer
group must have been created.
ip-address
: Specifies a peer by its IP address. The peer must have been created.
ipv6-address
: Specifies a peer by its IPv6 address. The peer must have been created.
Usage guidelines
Using route reflectors can solve the issue brought by too many IBGP connections. In an AS, a router acts
as a route reflector, and other routers act as clients connecting to the route reflector. The route reflector
forwards the routing information received from a client to other clients. In this way, all clients can receive
routing information from one another without establishing BGP sessions.