4 community attribute example, Community attribute example -22 – Riverstone Networks WICT1-12 User Manual

Page 280

Advertising
background image

16-22 Riverstone Networks RS Switch Router User Guide Release 8.0

BGP Configuration Examples

BGP Configuration Guide

The

gated.conf

file for router R4 is as follows:

16.3.4

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 16-5

shows a BGP configuration where the specific community attribute is used.

Figure 16-6

shows a BGP

configuration where the well-known community attribute is used.

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

Advertising