HP 6125G HP 6125G & 6125G/XG Blade Switches Layer 3 - IP Routing Comma - Page 188
peer connect-interface (BGP/BGP-VPN instance view
View all HP 6125G manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 188 highlights
The device supports 4-byte AS numbers and uses 4-byte AS numbers by default. If the peer devices support only 2-byte AS numbers, you must enable the 4-byte AS number suppression function on the device. If the peer device supports 4-byte AS numbers, do not enable the suppression function; otherwise, the BGP peer relationship cannot be established. Examples # In BGP view, enable 4-byte AS number suppression for peer 160.89.2.33. system-view [Sysname] bgp 100 [Sysname-bgp] peer 160.89.2.33 as-number 100 [Sysname-bgp] peer 160.89.2.33 capability-advertise suppress-4-byte-as # In BGP-VPN instance view, enable 4-byte AS number suppression for peer 160.89.2.33. (The VPN must have been created.) system-view [Sysname] bgp 100 [Sysname-bgp] ipv4-family vpn-instance vpn1 [Sysname-bgp-ipv4-vpn1] peer 160.89.2.33 as-number 200 [Sysname-bgp-ipv4-vpn1] peer 160.89.2.33 capability-advertise suppress-4-byte-as peer connect-interface (BGP/BGP-VPN instance view) Syntax peer { group-name | ip-address } connect-interface interface-type interface-number View undo peer { group-name | ip-address } connect-interface BGP view, BGP-VPN instance view Default level 2: System level Parameters group-name: Name of a peer group, a string 1 to 47 characters. ip-address: IP address of a peer. interface-type interface-number: Specifies an interface by its type and number. Description Use peer connect-interface to specify the source interface for establishing TCP connections to a peer/peer group. Use undo peer connect-interface to restore the default. By default, BGP uses the outbound interface of the best route to the BGP peer/peer group as the source interface for establishing a TCP connection to the peer/peer group. Suppose interface A on the local device is connected to interface B on the peer device. When using the peer x.x.x.x as-number as-number command on the local device but x.x.x.x is not the IP address of interface B, you need to execute the peer connect-interface command on the peer to specify the source interface (the owner of IP address x.x.x.x) for establishing TCP connections. 177