Bgp Attributes; Local Preference Attribute; Metric (Multi-Exit Discriminator) Attribute - Lenovo RackSwitch G8264CS Application Manual

Hide thumbs Also See for RackSwitch G8264CS:
Table of Contents

Advertisement

BGP Attributes

Local Preference Attribute

Metric (Multi-Exit Discriminator) Attribute

460
G8264CS Application Guide for ENOS 8.4
The following BGP attributes are discussed in this section: Local preference, metric 
(Multi‐Exit Discriminator), and Next hop.
When there are multiple paths to the same destination, the local preference 
attribute indicates the preferred path. The path with the higher preference is 
preferred (the default value of the local preference attribute is 100). Unlike the 
weight attribute, which is only relevant to the local router, the local preference 
attribute is part of the routing update and is exchanged among routers in the same 
AS.
The local preference attribute can be set in one of two ways:
The following commands use the BGP default local preference method, affecting 
the outbound direction only. 
RS 8264CS(config)# router bgp
RS 8264CS(config_router_bgp)# local-preference
RS 8264CS(config_router_bgp)# exit
The following commands use the route map local preference method, which 
affects both inbound and outbound directions. 
RS 8264CS(config)# route-map 1
RS 8264CS(config_route_map)# local-preference
RS 8264CS(config_router_map)# exit
This attribute is a hint to external neighbors about the preferred path into an AS 
when there are multiple entry points. A lower metric value is preferred over a 
higher metric value. The default value of the metric attribute is 0.
Unlike local preference, the metric attribute is exchanged between ASs; however, a 
metric attribute that comes into an AS does not leave the AS.
When an update enters the AS with a certain metric value, that value is used for 
decision making within the AS. When BGP sends that update to another AS, the 
metric is reset to 0.
Unless otherwise specified, the router compares metric attributes for paths from 
external neighbors that are in the same AS.

Advertisement

Table of Contents
loading

Table of Contents