beautypg.com

Community attribute example – Cabletron Systems SmartSwitch User Manual

Page 147

background image

SmartSwitch Router User Reference Manual

147

Chapter 10: BGP Configuration Guide

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

The CLI configuration for router SSR4 is as follows:

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

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.

static {

16.122.0.0 masklen 16

gateway 17.122.128.3

;
};

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

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