R0106-HP MSR Router Series Layer 3 - IP Routing Command Reference(V7)

429
Usage guidelines
In MPLS L3VPN, if EBGP is used between PE and CE, sites in different geographical areas must have
different AS numbers assigned to ensure correct route advertisement. If different CEs use the same AS
number, you must configure the relevant PE to replace the AS number of the CE as its own AS number.
This ensures correct advertisement of private network routes.
Examples
# In BGP view, substitute the local AS number for the AS number of peer 1.1.1.1.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] peer 1.1.1.1 substitute-as
# In BGP-VPN instance view, substitute the local AS number for the AS number of peer 1::1.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] ip vpn-instance vpn1
[Sysname-bgp-vpn1] peer 1::1 substitute-as
Related commands
peer soo
peer timer
Use peer timer to configure a keepalive interval and holdtime for a peer or peer group.
Use undo peer timer to restore the default.
Syntax
peer { group-name | ip-address | ipv6-address } timer keepalive keepalive hold holdtime
undo peer { group-name | ip-address | ipv6-address } timer
Default
The keepalive interval is 60 seconds, and the holdtime is 180 seconds.
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.
keepalive keepalive: Sets a keepalive interval in the range of 0 to 21845 seconds.
hold holdtime: Sets a holdtime in the range of 3 to 65535 seconds.
Usage guidelines
After establishing a BGP session, two routers send keepalive messages at the specified keepalive interval
to each other to keep the session.