381
Views
BGP view, BGP-VPN 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.
interval
: Specifies a minimum interval for sending the same update message. The range is 0 to 600
seconds.
Usage guidelines
A BGP router sends an update message to its peers when a route is changed. If the route changes
frequently, the BGP router sends many updates for the route, resulting in routing flaps. By configuring the
interval for sending the same update to a peer or peer group, you can avoid such routing flaps.
Examples
# In BGP view, specify the interval for sending the same update to peer group
test
as 10 seconds.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] peer test as-number 100
[Sysname-bgp] peer test route-update-interval 10
# In BGP-VPN instance view, specify the interval for sending the same update to peer group
test
as 10
seconds.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] ip vpn-instance vpn1
[Sysname-bgp-vpn1] peer test route-update-interval 10
peer substitute-as
Use
peer substitute-as
to replace the AS number of a peer or peer group in the AS_PATH attribute with
the local AS number.
Use
undo peer substitute-as
to restore the default.
Syntax
peer
{
group-name
|
ip-address
|
ipv6-address
}
substitute-as
undo peer
{
group-name
|
ip-address
|
ipv6-address
}
substitute-as
Default
The AS number of a peer or peer group in the AS_PATH attribute is not replaced.
Views
BGP view, BGP-VPN instance view