Related commands:
Examples
peer ebgp-max-hop (BGP/BGP-VPN instance view)
Syntax
View
Parameters
Description
Examples
Use the
undo peer description
information of a peer/peer group.
By default, no description information is configured for a peer/peer group.
Create a peer/peer group before configuring a description for it.
display bgp peer.
# In BGP view, configure the description information of the peer group test as
ISP1.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] peer test description ISP1
# In BGP-VPN instance view, configure the description information of the peer
group test as ISP1(the VPN has been created).
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] ipv4-family vpn-instance vpn1
[Sysname-bgp-vpn1] peer test description ISP1
peer { group-name | ip-address } ebgp-max-hop [ hop-count ]
undo peer { group-name | ip-address } ebgp-max-hop
BGP view/BGP-VPN instance view
group-name: Name of a peer group, a string of 1 to 47 characters.
ip-address: IP address of a peer.
hop-count: Maximum hop count, in the range 1 to 255. The default is 64.
Use the
peer ebgp-max-hop
connection with a peer/peer group that is on an indirectly connected network.
Use the
undo peer ebgp-max-hop
By default, this feature is disabled.
You can use the argument hop-count to specify the maximum route count of the
EBGP connection.
# In BGP view, allow establishing the EBGP connection with the peer group test
that is on an indirectly connected network.
command to remove the description
command to allow establishing an EBGP
command to restore the default.
991