3Com Switch 7750 Series
Command Reference Guide – Routing Protocol
Chapter 5 BGP Configuration Commands
5-36
Related command:
display current-configuration
,
display bgp peer
, and
display
bgp routing-table group
.
Example
# Configure the description information of an existing peer group named group1 as
ISP1.
<3Com>system-view
System View: return to User View with Ctrl+Z.
[3Com] bgp 100
[3Com-bgp] peer group1 description ISP1
5.1.39 peer ebgp-max-hop
Syntax
peer
group-name
ebgp-max-hop
[
hop-count
]
undo peer
group-name
ebgp-max-hop
View
BGP view
Parameter
group-name
: Name of the peer group, containing 1 to 47 characters.
hop-count
: Maximum hop value, in the range of 1 to 255. By default, the value is 64.
Description
Use the
peer ebgp-max-hop
command to establish EBGP connection with the peer
on indirectly connected network.
Use the
undo peer ebgp-max-hop
command to cancel the existing configuration.
By default, it is not allowed to establish any EBGP connection with a peer on an
indirectly connected network.
By setting
hop-count
, you can also configure the maximum hop value of an EBGP
connection.
Example
# Allow to establishing EBGP connection with the peer group named test indirectly
connected.
<3Com>system-view
System View: return to User View with Ctrl+Z.
[3Com] bgp 100
[3Com-bgp] peer test ebgp-max-hop