Riverstone Networks WICT1-12 User Manual

Page 348

Advertising
background image

17-40 Riverstone Networks RS Switch Router User Guide Release 8.0

Configuring L3 Label Switched Paths

MPLS Configuration

The following is the configuration for router R6:

The following is the configuration for router R7:

! Create interfaces

interface create ip 30net address-netmask 30.1.1.2/16 port et.1.2

interface create ip 31net address-netmask 31.1.1.1/16 port et.1.3

interface create ip 99net address-netmask 99.1.1.1/16 port et.1.1

! Configure router

ip-router global set router-id 99.1.1.1

! Configure OSPF

ospf create area backbone

ospf add interface all to-area backbone

ospf start

! Enable MPLS on all interfaces

mpls add interface all

! Create dynamic LSP L3 to egress router 100.1.1.1

mpls create label-switched-path L3 to 100.1.1.1 adaptive no-cspf

! Start MPLS on router R6

mpls start

! Configure RSVP

rsvp add interface all

rsvp start

! Create interfaces

interface create ip 33net address-netmask 33.1.1.2/16 port et.1.5

interface create ip 31net address-netmask 31.1.1.2/16 port et.1.3

interface create ip 100net address-netmask 100.1.1.1/16 port et.1.1

! Configure router

ip-router global set router-id 100.1.1.1

! Configure OSPF

ospf create area backbone

ospf add interface all to-area backbone

ospf start

! Start MPLS on router R7

mpls start

! Configure RSVP

rsvp add interface all

rsvp start

Advertising