Parameters
group-name
: Name of a peer group, a string of 1 to 47 characters.
ip-address
: IP address of a peer.
Description
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.
By default, neither the route reflector nor the client is configured.
Related commands:
reflect between-clients
and
reflect cluster-id
.
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
[Sysname] bgp 100
[Sysname-bgp] peer test reflect-client
# In BGP-VPN instance view, configure the local device as a route reflector and specify the IBGP
peer group
test
as a client. (
vpn1
must have been created.)
<Sysname> system-view
[Sysname] bgp 109
[Sysname-bgp] ipv4-family vpn-instance vpn1
[Sysname-bgp-ipv4-vpn1] peer test reflect-client
peer route-limit (BGP/BGP-VPN instance view)
Syntax
peer
{
group-name
|
ip-address
}
route-limit prefix-number
[ {
alert-only
|
reconnect
reconnect-time
} |
percentage-value
] *
undo peer
{
group-name
|
ip-address
}
route-limit
View
BGP view, BGP-VPN instance view
Default 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.
prefix-number
: Number of prefixes that can be received from the peer or peer group. Its range varies
with devices. If the number of prefixes received from the peer/peer group reaches the
prefix-number
,
the router will tear down the connection to the peer/peer group.
alert-only
: If the number of prefixes received from the peer/peer group reaches the
prefix-number
,
the router will not tear down the connection to the peer/peer group but display an alarm message.
reconnect reconnect-time:
Specifies a reconnect time, after which, the router will re-establish a
connection to the peer/peer group. It has no default value and is in the range of 1 to 65535 seconds.
250