Riverstone Networks RS Switch Router User Guide Release 8.0 17-49
MPLS Configuration Configuring L3 Label Switched Paths
Note By default, routes are automatically advertised between EBGP peers. However,
routes are not automatically advertised between IBGP multihop peers. Therefore,
in the example configuration, you need to configure routes from AS63498 and AS
65498 to be redistributed to the IBGP peers in AS 64498.
The following is the configuration for R7:
! Configure interfaces
interface create ip rt7-rt3 address-netmask 137.1.1.7/24 port et.1.1
interface create ip rt7-rt3.mp address-netmask 137.2.2.7/24 port et.2.7
interface add ip lo0 address-netmask 7.7.7.7/32
! Configure BGP
ip-router global set router-id 7.7.7.7
ip-router global set autonomous-system 63498
ip add route default gateway 137.2.2.3
ip-router policy redistribute from-proto direct to-proto bgp target-as 64498
bgp create peer-group to-rt3 type external autonomous-system 64498
bgp add peer-host 137.2.2.3 group to-rt3
bgp start