Command Manual - Routing Protocol
Quidway S3500 Series Ethernet Switches
Chapter 4 BGP Configuration Commands
Huawei Technologies Proprietary
4-8
send
: Information of sending packets.
verbose
: Detailed information.
Description
Using
debugging bgp
all
command, you can enable all the information debugging of
BGP packet and events.
Using
debugging bgp
event
command, you can enable the information debugging of
BGP events
Using
debugging bgp keepalive
command, you can enable the information
debugging of BGP Keepalive packets.
Using
debugging bgp packet
command, you can enable the information debugging of
BGP packets.
Using
undo debugging bgp
command, you can disable the debugging functions.
Example
# Enable the information debugging of BGP packets.
<Quidway> debugging bgp packet
4.1.9 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
Using
default local-preference
command, you can configure the default local
preference. Using
undo default local-preference
command, you can restore the
default value.
Configuring different local preferences will affect BGP routing selection. When a router
running BGP gets routes with the same destination address but different next hops
through different internal peers, it will select the route of highest local preference to this
destination.