User's Manual

459
distance bgp
{
external-distance|
internal-distance| local-distance
}
Configure BGP route management
distances.
The change of management distances of BGP route is dangerous, and normally it is not recommended. The
external distance should be shorter than the distance of any other dynamic routing protocol and the internal
distance should be longer than the distance of any other dynamic routing protocol.
9. Adjust BGP timer
Use the following BGP configuration command to adjust the BGP keepalive” and “holdtime” timers of detailed
neighbour:
Command Purpose
neighbor
[ip-address | peer group-name]
timers
keepalive holdtime
Set “keepalive” and “holdtime” timer interval
(count with unit ‘second’) for designated peer or
peer community
Use command “no neighbour timers” to reset the timer interval of BGP neighbor or peer community to the
default value.
10. Compare MED of routes from different AS
MED is a parameter to be considered when selecting the best route from several paths. The path with lower
MED value will be preferably considered than the route with higher MED value.
Under default situation, during the process of selecting the best route, MED’s comparison only takes place in
the routes from the same AS. You can permit the MEDs’ comparison to take place in routing selection,
regardless of which AS the routes come from.
Use the following BGP configuration command to realize the above objective:
Command Purpose
bgp always-compare-med
Permit to make MEDs comparison among routes
from different AS.
11 Configure the MD5 authentication for BGP neighbor
To make sure of the secure routing information forwarding between ASs, perform the password authentication
on the BGP connection through the MD5 option provided by TCP.
Run the following command to achieve the previous purpose:
Command Purpose
Neighbor A.B.C.D password LINE
Enables the MD5 authentication of the BGP
neighbor and set the password.
You can run no neighbor A.B.C.D password to cancel the MD5 authentication for the BGP neighbor.
61.4 Monitoring and Maintaining BGP
The administrator can display or delete the BGP routing table or the content of other databases. Of course the
detailed statistics information can also be displayed. The following are relative tasks:
Deleting the BGP routing table and the database
Displaying the routing table and the system statistics information
Tracking the BGP information