Cabletron Systems 9032578-02 Router User Manual


 
Chapter 6: BGP Configuration Guide
100 SmartSwitch Router User Reference Manual
Figure 8. Sample BGP Configuration (MED Attribute)
Routers SSR4 and SSR6 inform router C1 about network 172.16.200.0/24 through External
BGP (EBGP). Router SSR6 announced the route with a MED of 10, whereas router SSR4
announces the route with a MED of 20. Of the two EBGP routes, router C1 chooses the one
with a smaller MED. Thus router C1 prefers the route from router SSR6, which has a MED
of 10.
Router SSR4 has the following CLI configuration:
Router SSR6 has the following CLI configuration:
bgp create peer-group pg752to751 type external autonomous-system 64751
bgp add peer-host 10.200.12.15 group pg752to751
#
# Set the MED to be announced to peer group pg752to751
#
bgp set peer-group pg752to751 metric-out 20
bgp create peer-group pg752to751 type external autonomous-system 64751
bgp add peer-host 10.200.12.15 group pg752to751
bgp set peer-group pg752to751 metric-out 10
Physical Link
Legend:
Peering Relationship
Information Flow
C1
AS 64752
N1
10.200.12.15/24
10.200.12.4/24
10.200.12.0/24
10.200.12.6/24
AS 64751
172.16.200.4/24
172.16.200.6/24
SSR4
SSR6