Riverstone Networks RS Switch Router User Guide Release 8.0 16-21
BGP Configuration Guide BGP Configuration Examples
The gated.conf file for router R2 is as follows:The CLI configuration for router R3 is as follows:The gated.conf file for router R3 is as follows:The CLI configuration for router R4 is as follows:
static {
18.122.0.0 masklen 16
gateway 17.122.128.4
;
};
interface create ip to-R2 address-netmask 17.122.128.4/16 port et.4.2
interface create ip to-R4 address-netmask 18.122.128.4/16 port et.4.4
ip add route 16.122.0.0/16 gateway 17.122.128.3
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 multihop option, which indicates EBGP multihop.
!
bgp set peer-host 18.122.128.2 group ebgp_multihop multihop