Cabletron Systems SmartSwitch Router 9032578-02 User Manual

Page 95

Advertising
background image

SmartSwitch Router User Reference Manual

95

Chapter 6: BGP Configuration Guide

In

Figure 6

, router SSR10 has the following configuration:

In

Figure 6

, router SSR14 has the following configuration:

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

#
# 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

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

Advertising