Figure 8-23
Networking diagram for MED applications
Internet
ISP1
AS 100
ISP2
AS 200
Router C
Router D
Router E
Client Network
AS 65001
EBGP
EBGP
IBGP
IBGP
IBGP
1.1.1.9/32
Router A
Router B
To: 1.1.1.9/32
To: 1.1.1.9/32
Set MED:
100 for 1.1.1.9/32 to ISP2
Set MED:
200 for 1.1.1.9/32 to ISP1
Best route
Configure route-policies to set different MED values for the routes learned from different peers.
Detailed configurations are as follows:
l
Configurations on Router C:
#
bgp 65001
#
ipv4-family unicast
undo synchronization
peer 10.1.4.1 route-policy addmed100 export //Apply export policy
named addmed100 to the routes to be advertised to 10.1.4.1 and use addmed100
to modify the MED value.
HUAWEI NetEngine80E/40E Router
Configuration Guide - IP Routing
8 BGP Configuration
Issue 02 (2014-09-30)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
944