User's Manual

Table Of Contents
440
Users Manual of GPL-8000
45.4.2.2.7 Configuring multihop external peers
The external peers must be in the directly-connected networks by default. Run the following command to
configure multihop external peers:
Command Purpose
neighbor {ip-address } ebgp-multihop
ttl
Sets the BGP neighbor to the multihop
external peers.
45.4.2.2.8 Setting BGP route management distance
The management distance is a unit to measure the priority of routing protocols. BGP uses three kinds of
management distance: external distance, internal distance and local distance. The route learned from the
external BGP shows the external distance. The route learned from the internal BGP shows the internal
distance. The local route shows the local distance. Run the following command to set BGP route
management distance:
Command Purpose
distance bgp external-distance
internal-distance local-distance
Sets BGP route management distance.
It is dangerous to modify the management distance of the BGP routes. You are not recommended to do it.
The external distance should be shorter than the distance of any dynamic routing protocol. The internal
distance should be longer than the distance of any dynamic routing protocol.
45.4.2.2.9 Modifying BGP timer
Run the following command to modify BGP keepalive and holdtime timer:
Command Purpose
neighbor [ip-address | peer
group-name] timers keepalive holdtime
Sets the keepalive and holdtime timer
for the designed peers or the peer
group (unit: second).
Run the command no neighbor timers to resumes the timer of the BGP neighbor or the peer group to the
default value.
45.4.2.2.10 omparing MED of the routes from different ASs
MED is a parameter that is considered when an optimal route needs to be selected from multiple available
paths. The path with comparatively small MED value is first considered.
By default, when the best route is being chosen, the MED compare is performed only among the routes from
the same AS. You can configure to allow the MED compare during route choice, no matter which AS the
routes come from.
Run the following command to perform the MED compare among routes from different ASs:
Command Purpose
bgp always-compare-med
Performs the MED compare among routes from different ASs.