3-13. bgp default local-preference local-preference

Syntax Description:

  • local-preference— Value to use as the default local preference. The range of values is 0 to 4294967295.

Purpose: Routes originating on a BGP router that are advertised within the local AS have a default local preference of 100. This command allows you to set the local preference of locally advertised routes to a value other than the default value of 100. The new value for the local preference is applicable only within the local autonomous system.

Cisco IOS Software Release: 10.0

Configuration Example: Default Local Preference

Router B in Figure 3-10 is modifying the default local preference. The value of the local preference on Router B affects only routes advertised to Router ...

Get Cisco® BGP-4 Command and Configuration Handbook (CCIE Professional Development) now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.