Bgp default local-preference, Distance bgp – Enterasys Networks X-Pedition XSR CLI User Manual
Page 287
BGP Configuration Commands
XSR CLI Reference Guide 6-91
bgp default local-preference
This command changes the default local preference value. The path with the highest local
preference value is preferred over competing paths to the same destination provided that all
higher‐ranking route selection criteria of those paths are the same. The local preference value for
the path is sent to all routers and access servers in the local AS.
Syntax
bgp default local-preference value
Syntax of the “no” Form
The no form of this command reverts to the local preference default:
no bgp default local-preference
Mode
Router configuration:
XSR(config-router)#
Default
100
Example
This example configures the BGP default local‐preference of 300 for BGP process 100. This setting
indicates that all routes this router advertises to its internal BGP neighbors will have a local
preference of 300.
XSR(config)#router bgp 100
XSR(config-router)#bgp default local-preference 300
distance bgp
This command sets the BGP route preference ‐ administrative distance ‐ for its external and
internal routes submitted to the routing table.
Syntax
distance bgp external internal
Syntax of the “no” Form
The no form of the command removes the configured value:
no distance bgp
value
Local preference value, ranging from 0 to 4294967295.
external
The administrative distance for external BGP routes ‐ those learned
from neighbors external to the AS ‐ ranging from 1 to 240.
internal
The administrative distance for internal BGP routes ‐ those learned
from neighbors within the same AS ‐ ranging from 1 to 240.