Command Manual – MPLS
Quidway S8500 Series Routing Switches
Chapter 2 BGP/MPLS VPN Configuration Commands
Huawei Technologies Proprietary
2-32
Example
# Set description of the peer group group1 to be city 1.
[Quidway-bgp-af-vpn-instance] peer group1 description city1
2.1.36 peer ebgp-max-hop
Syntax
peer
group-name ebgp-max-hop
[
ttl
]
undo peer
group-name ebgp-max-hop
View
VPN-instance subaddress family view
Parameter
group-name
: Name of a neighbor peer group, consisting of 1 to 47 alphanumeric
characters.
peer-address
: Peer IP address.
ttl
: The maximum hops, in the rang of 1 to 255 and is 64 by default.
Description
Use the
peer ebgp-max-hop
command to enable to establish an EBGP connection
with a specified neighbor which is attached to the network indirectly.
Use the
undo peer ebgp-max-hop
command to restore the default setting.
By default, you can only make a connection with a direct accessing EBGP neighbor.
Example
# Enable the router to connect the EBGP peer group test that is attached to the network
indirectly.
[Quidway-bgp] ipv4-family vpn-instance test
[Quidway-bgp-af-vpn-instance] peer test ebgp-max-hop
2.1.37 peer enable
Syntax
peer
group-name
enable
undo peer
group-name
enable
View
VPNv4 subaddress family view