HP VPN Firewall Appliances Network Management Command Reference

513
Syntax
peer { group-name | ip-address } substitute-as
undo peer { group-name | ip-address } substitute-as
Default
No AS number is replaced.
Views
BGP view, BGP-VPN instance view
Default command level
2: System level
Parameters
group-name: Specifies the name of a peer group, a sting of 1 to 47 characters.
ip-address: Specifies the IP address of a peer.
Examples
# In BGP view, substitute local AS number for 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 local AS number for AS number of peer 1.1.1.1. (The VPN has been
created.)
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] ipv4-family vpn-instance vpn1
[Sysname-bgp-ipv4-vpn1] peer 1.1.1.1 substitute-as
peer timer (BGP/BGP-VPN instance view)
Use peer timer to configure the keepalive interval and holdtime for a peer or peer group.
Use undo peer timer to restore the default.
Syntax
peer { group-name | ip-address } timer keepalive keepalive hold holdtime
undo peer { group-name | ip-address } timer
Default
The keepalive and holdtime are 60 seconds and 180 seconds, respectively.
Views
BGP view, BGP-VPN instance view
Default command level
2: System level
Parameters
group-name: Specifies the name of a peer group, a sting of 1 to 47 characters.