ADTRAN AOS Version R10.1.0 Command Reference Manual page 2865

Adtran operating system (aos)
Table of Contents

Advertisement

Command Reference Guide
bgp default local-preference <value>
Use the bgp default local-preference command to change the local preference for all Border Gateway
Protocol (BGP) routes on either the default or nondefault VPN routing and forwarding (VRF) instances.
The local preference is an attribute (LOCAL_PREF) that indicates a degree of preference for a route
relative to other routes in the local autonomous system (AS). BGP neighbors can send the local preference
value as an attribute of a route in an UPDATE message. Local preference only applies to routes within the
local AS. Use the no form of this command to return to the default setting.
Syntax Description
<value>
Default Values
By default, the local preference is set to 100.
Command History
Release 11.1
Release 18.3
Functional Notes
The bgp default local-preference command can be used to specify the local preference on either the
default or nondefault VRF instance. If the behavior is to be created on a nondefault VRF instance, the VRF
instance must first be created using the command
have created the nondefault VRF instance, you can configure the BGP settings for the VRF instance using
the command
vrf <name> on page 2877
configure the BGP characteristics for the nondefault VRF instance RED1, enter the following commands:
(config)#vrf RED1 route-distinguisher ip 192.17.250.24:33
(config)#router bgp 100
(config-bgp)#vrf RED1
(config-bgp-vrf)#
For more information about VRF and Multi-VRF BGP configuration, refer to the configuration guides
Configuring IPv4 Multi-VRF in AOS (article number 2156) and Configuring BGP in AOS for Releases
18.03.00/R10.1.0 or Later (article number 3524) available online at https://supportforums.adtran.com.
Usage Examples
The following example changes the default local preference to 200 for the default VRF instance:
(config)#router bgp 100
(config-bgp)#bgp default local-preference 200
60000CRG0-35E
Specifies the local preference value. Valid range is 0 to 4294967295.
Command was introduced.
Command was incorporated into Multi-VRF BGP functionality.
vrf <name> route-distinguisher on page
from the router's BGP Configuration mode. For example, to
Copyright © 2012 ADTRAN, Inc.
BGP Command Set
1460. Once you
2865

Advertisement

Table of Contents
loading

Related Products for ADTRAN AOS Version R10.1.0

This manual is also suitable for:

Aos r10.1.0

Table of Contents