Chapter 10: BGP Configuration Guide

In Figure 12, router SSR10 has the following configuration:

#

#Create an optional attribute list with identifier color1 for a community

#attribute (community-id 160 AS 64902)

#

ip-router policy create optional-attributes-list color1 community-id 160 autonomous-system 64902

#

#Create an optional attribute list with identifier color2 for a community

#attribute (community-id 155 AS 64902)

#

ip-router policy create optional-attributes-list color2 community-id 155 autonomous-system 64902

#

#Create a direct export source

ip-router policy create direct-export-source 900toanydir metric 10

#Create BGP export-destination for exporting routes to AS 64899 containing the

#community attribute (community-id 160 AS 64902). This export-destination has an

#identifier 900to899dest

#

ip-router policy create bgp-export-destination 900to899dest autonomous-system 64899 optional-attributes-list color1

ip-router policy create bgp-export-destination 900to901dest autonomous-system 64901 optional-attributes-list color2

#

#Export routes to AS 64899 with the community attribute (community-id 160 AS

#64902)

#

ip-router policy export destination 900to899dest source 900toanydir network all ip-router policy export destination 900to901dest source 900toanydir network all

In Figure 12, router SSR14 has the following configuration:

ip-router policy create bgp-export-destination 899to900dest autonomous-system 64900 optional-attributes-list color1

ip-router policy create bgp-export-destination 899to902dest autonomous-system 64902 optional-attributes-list color2

ip-router policy create bgp-export-source 900toany autonomous-system 64900 metric 10

ip-router policy create optional-attributes-list color1 community-id 160 autonomous-system 64901

ip-router policy create optional-attributes-list color2 community-id 155 autonomous-system 64901

ip-router policy export destination 899to900dest source 899toanydir network all ip-router policy export destination 899to902dest source 899toanydir network all

Any communities specified with the optional-attributes-listoption are sent in addition to any received with the route or associated with a BGP export destination.

152

SmartSwitch Router User Reference Manual

Page 152
Image 152
Cabletron Systems SmartSwitch router SSR10 has the following configuration, router SSR14 has the following configuration