Setting Local_Pref Attribute - Zte ZXR10 5900E Series User Manual

All gigabit-port intelligent routing switch
Hide thumbs Also See for ZXR10 5900E Series:
Table of Contents

Advertisement

Command
ZXR10(config-router)#
<value>
Use the route filtration based on AS path to prevent R1 from ad-
vertising the network 192.18.10.0/24 to AS200.
The configuration is shown below.
ZXR10_R1(config)#router bgp 100
ZXR10_R1(config-router)#no synchronization
ZXR10_R1(config-router)#neighbor 182.17.1.2
ZXR10_R1(config-router)#neighbor 182.17.20.1
ZXR10_R1(config-router)#neighbor 182.17.20.1
ZXR10_R1(config-router)#exit
ZXR10_R1(config)#route-map MAP1 permit 10
ZXR10_R1(config-route-map)#match as-path 1
ZXR10_R1(config-route-map)#exit
ZXR10_R1(config)#ip as-path access-list 1 permit ^$
In this configuration, the list is accessed through AS paths, which
makes R1 advertise only the networks from AS100 to AS200, so
that the network 192.18.10.0/24 can be filtered.

Setting LOCAL_PREF Attribute

Value of the Local preference attribute is used for routing between
the IBGP peers inside an AS.
To set the local preference value of the BGP advertised routes, use
the following command.
bgp default local-preference
R3 and R4 synchronously learn the route to 170.10.0.0. Local
preference value of R4 is greater; packets from AS256 to the des-
tination are passed to R4. This is shown in
F
18 LOCAL_PREF ATTRIBUTE
IGURE
The following two modes are used to configure the LOCAL_PREF
attribute.
Confidential and Proprietary Information of ZTE CORPORATION
Chapter 5 BGP Configuration
remote-as 100
remote-as 200
route-map MAP1 out
Function
This sets the local preference
value of the BGP advertised
routes.
Figure
18.
53

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents