EasyManua.ls Logo

Zte ZXR10 GER - Local Preference Attribute

Zte ZXR10 GER
412 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
ZXR10 GER (V2.6.03) General Excellent Router User Manual Volume-I
240 Confidential and Proprietary Information of ZTE CORPORATION
ZXR10_R1(config)#router bgp 100
ZXR10_R1(config-router)#no synchronization
ZXR10_R1(config-router)#neighbor 182.17.1.2 remote-as 100
ZXR10_R1(config-router)#neighbor 182.17.20.1 remote-as 200
ZXR10_R1(config-router)#neighbor 182.17.20.1 route-map MAP1
out
ZXR10_R1(config)#route-map MAP1 permit 10
ZXR10_R1(config-route-map)#match as-path 1
ZXR10_R1(config)#ip as-path access-list 1 permit ^$
In the above configuration, the operation is based on the AS
path access list so that R1 only advertises network originated on
AS100 to AS200. Thus, the network 192.18.10.0/24 is filtered.
Local Preference Attribute
The attribute value of local preference is used to determine
routes among IBGP peers inside an AS.
When two IBGP routers in an AS simultaneously learn routes to
the same destination externally, the routers will compare the
attribute values of the local preference. A route with a higher
value takes the precedence. By default, the attribute value of
the local preference is 100.
Refer to below procedure for local preference attribute
configuration on ZTE ZXR10 GER.
Router Command Line Interface has been accessed.
BGP is running on a network.
1. To configure local preference attribute, use bgp default
local-preference <value> command in BGP route mode as
shown in
Table 293.
TABLE 293 BGP-DEFAULT LOCAL PREFERENCE
Command Format
Command
Mode
Command Function
bgp default local-
preference
<value>
Route
This allows to compare
the route MEDs of the
neighbors in different AS
Result: This allows to compare the route MEDs of the
neighbors in different AS .
As shown in
Figure 99 , R3 and R4 learn routes to destination
170.10.0.0 simultaneously. Since the local preference value
configured for R4 is greater than that for R3, the R4 egress
will be used in precedence from inside AS256 to the
destination.
Introduction
Purpose
Prerequisite
Steps

Table of Contents

Related product manuals