HP 6125G HP 6125G & 6125G/XG Blade Switches Layer 3 - IP Routing Comma - Page 192
peer enable (BGP/BGP-VPN instance view
View all HP 6125G manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 192 highlights
Description Use peer ebgp-max-hop to allow establishing an EBGP connection with a peer/peer group that is on an indirectly connected network. Use undo peer ebgp-max-hop to restore the default. By default, this feature is disabled. You can use the argument hop-count to specify the maximum route hop count of the EBGP connection. Examples # In BGP view, allow establishing the EBGP connection with the peer group test that is on an indirectly connected network. system-view [Sysname] bgp 100 [Sysname-bgp] peer test ebgp-max-hop # In BGP-VPN instance view, allow establishing the EBGP connection with the peer group test that is on an indirectly connected network. (The VPN has been created.) system-view [Sysname] bgp 100 [Sysname-bgp] ipv4-family vpn-instance vpn1 [Sysname-bgp-ipv4-vpn1] peer test ebgp-max-hop peer enable (BGP/BGP-VPN instance view) Syntax peer ip-address enable View undo peer ip-address enable BGP view, BGP VPN instance view Default level 2: System level Parameters ip-address: IP address of a peer. Description Use peer enable to enable the specified peer. Use undo peer enable to disable the specified peer. By default, the BGP peer is enabled. If a peer is disabled, the router will not exchange routing information with the peer. Examples # Disable peer 18.10.0.9. system-view [Sysname] bgp 100 [Sysname-bgp] peer 18.10.0.9 group group1 [Sysname-bgp] undo peer 18.10.0.9 enable 181