![Riverstone Networks WICT1-12 User Manual Download Page 284](http://html1.mh-extra.com/html/riverstone-networks/wict1-12/wict1-12_user-manual_1466194284.webp)
16-26 Riverstone Networks RS Switch Router User Guide Release 8.0
BGP Configuration Examples
BGP Configuration Guide
In
Figure 16-5
, router R13 has the following configuration:
3.
In an Export Statement: The
optional-attributes-list
option of the
ip-router policy
create bgp-export-destination
command may be used to send the BGP community
attribute. Any communities specified with the
optional-attributes-list
option are sent in
addition to any received in the route or specified with the group.
ip-router policy create optional-attributes-list color1 community-id 160
autonomous-system 64902
ip-router policy create optional-attributes-list color2 community-id 155
autonomous-system 64902
ip-router policy create bgp-import-source 902color1 optional-attributes-list
color1 autonomous-system 64899 sequence-number 1
ip-router policy create bgp-import-source 902color2 optional-attributes-list
color2 autonomous-system 64899 sequence-number 2
ip-router policy create bgp-import-source 902color3 optional-attributes-list
color1 autonomous-system 64901 sequence-number 3
ip-router policy create bgp-import-source 902color4 optional-attributes-list
color2 autonomous-system 64901 sequence-number 4
ip-router policy import source 902color1 network all preference 160
ip-router policy import source 902color2 network all preference 155
ip-router policy import source 902color3 network all preference 160
ip-router policy import source 902color4 network all preference 155