HP MSR2000/3000/4000 Router Series Layer 3 - IP Routing Command Reference
353
Usage guidelines
BGP supports 4-byte AS numbers. The 4-byte AS number occupies four bytes, in the range of 1 to
4294967295. By default, a device sends an Open message to the peer device for session establishment.
The Open message indicates that the device supports 4-byte AS numbers. If the peer device supports
2-byte AS numbers instead of 4 -byte AS numbers, the session cannot be established. To resolve this issue,
enable the 4-byte AS number suppression function. The device then sends an Open message to inform
the peer that it does not support 4-byte AS numbers, so the BGP session can be established.
If the peer device supports 4-byte AS numbers, do not enable the 4-byte AS number suppression function.
Otherwise, the BGP session cannot be established.
Examples
# In BGP view, enable 4-byte AS number suppression for peer 1.1.1.1.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] peer 1.1.1.1 as-number 100
[Sysname-bgp] peer 1.1.1.1 capability-advertise suppress-4-byte-as
# In BGP-VPN instance view, enable 4-byte A S nu m b e r s u p p re ss i o n fo r p e e r 1.1.1.1.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] ip vpn-instance vpn1
[Sysname-bgp-vpn1] peer 1.1.1.1 as-number 200
[Sysname-bgp-vpn1] peer 1.1.1.1 capability-advertise suppress-4-byte-as
Related commands
• display bgp peer ipv4 unicast
• display bgp peer ipv6 unicast
peer connect-interface
Use peer connect-interface to specify a source interface (IP address/IPv6 address) for establishing TCP
connections to a peer or peer group.
Use undo peer connect-interface to restore the default.
Syntax
peer { group-name | ip-address | ipv6-address } connect-interface interface-type interface-number
undo peer { group-name | ip-address | ipv6-address } connect-interface
Default
BGP uses the output interface (IP address/IPv6 address) of the best route destined for the BGP peer or
peer group as the source interface for establishing a TCP connection to the peer or peer group.
Views
BGP view, BGP-VPN instance view
Predefined user roles
network-admin