Command Reference Guide

252preference 3Com Router 5000 Family and Router 6000 Family
Command Reference
preference
Purpose Use the preference command to configure the preference of BGP protocol.
Use the undo preference command to restore the default preference.
Syntax preference value
undo preference
Parameters value
Specifies the preference. Valid values are 1 to 256.
If no value is specified, the default value is 170.
Example Configure the preference of the BGP protocol to 150.
[3Com -bgp] preference 150
View This command can be used in the following views:
BGP Protocol view
BGP Multicast Address Family view
Description Each kind of routing protocol has its own preference, by which the routing policy will
select the optimal from the routes of different protocols. The greater the preference
value is, the lower the preference is. BGP defines two kinds of routes: routes learned
from external peers and routes learned from internal peers. The preferences of the
two kinds of routes can be different, and can be set manually.
Different BGP preferences for different sub-address families are supported, so are
unicast address family and multicast address family at present.