Command Manual – IPv6 Routing
H3C S7500E Series Ethernet Switches
Chapter 5 IPv6 BGP Configuration Commands
5-35
Examples
# Configure the description for the peer group
test
as
ISP1
.
<Sysname] system-view
[Sysname] bgp 100
[Sysname-bgp] ipv6-family
[Sysname-bgp-af-ipv6] group test external
[Sysname-bgp-af-ipv6] peer test description ISP1
5.1.40 peer ebgp-max-hop
Syntax
peer
{
ipv6-group-name | ipv6-address
}
ebgp-max-hop
[
hop-count
]
undo peer
{
ipv6-group-name | ipv6-address
}
ebgp-max-hop
View
IPv6 address family view
Parameters
ipv6-group-name
: Name of a peer group, a string of 1 to 47 characters.
ipv6-address
: IPv6 address of a peer.
hop-count
: Maximum hop count, in the range 1 to 255. By default, the value is 64.
Description
Use the
peer ebgp-max-hop
command to allow establishing the EBGP connection to a
peer/peer group indirectly connected.
Use the
undo peer ebgp-max-hop
command to remove the configuration.
By default, this feature is disabled.
You can use the argument
hop-count
to specify the maximum router hops of the EBGP
connection.
Examples
# Allow establishing the EBGP connection with the peer group
test
on an indirectly
connected network.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] ipv6-family
[Sysname-bgp-af-ipv6] group test external
[Sysname-bgp-af-ipv6] peer test ebgp-max-hop