Cabletron Systems SmartSwitch manual Community Attribute Example

Models: SmartSwitch

1 338
Download 338 pages 45.77 Kb
Page 147
Image 147

Chapter 10: BGP Configuration Guide

The gated.conf file for router SSR3 is as follows:

static {

16.122.0.0 masklen 16 gateway 17.122.128.3

;

};

The CLI configuration for router SSR4 is as follows:

bgp create peer-group ebgp_multihop autonomous-system 64801 type external bgp add peer-host 18.122.128.2 group ebgp_multihop

!

!Specify the gateway option, which indicates EBGP multihop. Set the

!gateway option to the address of the router that has a route to the

!peer.

!

bgp set peer-host 18.122.128.2 gateway 16.122.128.3 group ebgp_multihop

The gated.conf file for router SSR4 is as follows:

autonomoussystem 64800 ;

routerid 0.0.0.1 ;

bgp yes {

traceoptions state ;

group type external peeras 64801

{

peer 18.122.128.2

gateway 16.122.128.3

Community Attribute Example

The following configuration illustrates the BGP community attribute. Community is specified as one of the parameters in the optional attributes list option of the ip-router policy create command.

Figure 11 shows a BGP configuration where the specific community attribute is used. Figure 12 shows a BGP configuration where the well-known community attribute is used.

SmartSwitch Router User Reference Manual

147

Page 147
Image 147
Cabletron Systems SmartSwitch manual Community Attribute Example, Gated.conf file for router SSR3 is as follows