Figure 100 Med-Attribute - Zte ZXR10 GER User Manual

Excellent router
Table of Contents

Advertisement

F
1 0 0 M
- A
I G U R E
E D
T T R I B U T E
AS100
170.10.0.0/24
R1
4.4.4.2/30
3.3.3.1/30
2.2.2.2/30
AS300
med 120
2.2.2.1/30
1.1.1.1/30
R3
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
Confidential and Proprietary Information of ZTE CORPORATION
Chapter 16 BGP Configuration
AS400
4.4.4.1/30
med 50
R2
180.10.0.0/24
3.3.3.2/30
med 200
1.1.1.2/30
R4
243

Advertisement

Table of Contents
loading

Table of Contents