3com 8807 Guia De Referência

Página de 1099
504
C
HAPTER
 27: BGP C
ONFIGURATION
 C
OMMANDS
Use the debugging bgp keepalive command to enable the information 
debugging of BGP Keepalive packets.
Use the debugging bgp packet command to enable the information debugging 
of BGP packets.
Use the undo debugging bgp command to disable the debugging functions.
Example
# Enable the information debugging of BGP packets.
<SW8800> debugging bgp packet 
default local-preference
Syntax
default local-preference value
undo default local-preference
View
BGP view
Parameter
value: Default local preference to be configured. The range is 0 to 4294967295. 
By default, its value is 100.
Description
Use the default local-preference command to configure the local preference.
Use the undo default local-preference command to restore the default value.
Configuring different local preferences will affect BGP routing selection.
Example
# The two routers RTA and RTB in the same autonomous area connect with 
external autonomous areas. The command can be used to configure the default 
local preference of RTB as 180 so that the route via RTB is selected first when the 
same route goes through RTA and RTB at the same time.
[3Com-bgp]default local-preference 180 
default med
Syntax
default med med-value
undo default med
View
BGP view
Parameter
med-value: MED value to be specified. The range is 0 to 4294967295. By default, 
the med-value is 0.