Switch 7700 Command reference Guide, v2.0

Table Of Contents
194 CHAPTER 5: USING ROUTING PROTOCOL COMMANDS
packet: Indicating to enable BGP packet information debugging.
route-refresh: Indicating to enable BGP route-refresh packet information
debugging.
update: Indicating to enable BGP Update packet information debugging.
receive: Information of receiving packets.
send: Information of sending packets.
verbose: Detailed information.
Description
Use the debugging bgp all command to enable all the information
debugging of BGP packet and events.
Use the debugging bgp event command to enable the information
debugging of BGP events
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.
<SW7700>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 default local
preference.
Use the undo default local-preference command to 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.