Cabletron Systems SmartSwitch manual Sample BGP Configuration MED Attribute

Models: SmartSwitch

1 338
Download 338 pages 45.77 Kb
Page 157
Image 157

Chapter 10: BGP Configuration Guide

SSR4

10.200.12.4/24

172.16.200.4/24

172.16.200.6/24

SSR6

AS 64752

10.200.12.6/24 N1

10.200.12.0/24

10.200.12.15/24

C1

Legend:

 

 

 

 

 

 

 

AS 64751

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Physical Link

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Peering Relationship

Information Flow

Figure 14. 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:

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

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

bgp set peer-group pg752to751 metric-out 10

SmartSwitch Router User Reference Manual

157

Page 157
Image 157
Cabletron Systems SmartSwitch Sample BGP Configuration MED Attribute, Router SSR6 has the following CLI configuration