EasyManua.ls Logo

Zte ZXR10 GER - Figure 100 Med-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...
Chapter 16 BGP Configuration
Confidential and Proprietary Information of ZTE CORPORATION 243
FIGURE 100 MED-ATTRIBUTE
AS100
AS300
AS400
2.2.2.1/30
180.10.0.0/24
R3 R4
2.2.2.2/30
R1
R2
1.1.1.1/30 1.1.1.2/30
4.4.4.1/304.4.4.2/30
3.3.3.1/30
3.3.3.2/30
170.10.0.0/24
med 120
med 50
med 200
In the following, the route-map command is used to configure
the MED value.
Configuration of R1:
ZXR10_R1(config)#router bgp 100
ZXR10_R1(config-router)#neighbor 2.2.2.1 remote-as 300
ZXR10_R1(config-router)#neighbor 3.3.3.2 remote-as 300
ZXR10_R1(config-router)#neighbor 4.4.4.1 remote-as 400
....
Configuration of R3:
ZXR10_R3(config)#router bgp 300
ZXR10_R3(config-router)#neighbor 2.2.2.2 remote-as 100
ZXR10_R3(config-router)#neighbor 2.2.2.2 route-map setmetricout
out
ZXR10_R3(config-router)#neighbor 1.1.1.2 remote-as 300
ZXR10_R3(config)#route-map setmetricout permit 10
ZXR10_R3(config-route-map)#set metric 120
Configuration of R4:
ZXR10_R4(config)#router bgp 300
ZXR10_R4(config-router)#neighbor 3.3.3.1 remote-as 100
ZXR10_R4(config-router)#neighbor 3.3.3.1 route-map setmetricout
out
ZXR10_R4(config-router)#neighbor 1.1.1.1 remote-as 300
ZXR10_R4(config)#route-map setmetricout permit 10
ZXR10_R4(config-route-map)#set metric 200
Configuration of R2:
ZXR10_R2(config)#router bgp 400
ZXR10_R2(config-router)#neighbor 4.4.4.2 remote-as 100

Table of Contents

Related product manuals