Command Reference Guide
3Com Router 5000 Family and Router 6000 Family default local-preference ● 47
Command Reference
default local-preference
Purpose Use the default local-preference command to configure the local
preference.
Use the undo default local-preference command to restore the default
value.
Syntax default local-preference value
undo default local-preference
Parameters value
Local preference value to be configured. Valid values
are 0 to 4294967295 (the larger the value is, the
higher the preference is).
If no value is specified, the default value is 100.
Example Two routers RTA and RTB reside in the same autonomous area and use the X.25 and
Frame Relay protocols separately to connect with external autonomous areas. The
command can be used to configure the local preference of RTB as 180 so that the
route via RTB is preferred to forward packets.
[3Com -bgp] default local-preference 180
View This command can be used in the following views:
■ BGP Unicast view
■ BGP Multicast view
■ VPNv4 view
Description Configuring different local preferences will affect BGP routing selection.