Riverstone Networks WICT1-12 Network Router User Manual


 
Riverstone Networks RS Switch Router User Guide Release 8.0 17-55
MPLS Configuration Configuring L3 Label Switched Paths
The following is the configuration for R2:
mpls set label-switched-path dynamic1MSO policy MSO150
! Create LSP for AT&T ISP
mpls create label-switched-path dynamic3ATT to 3.3.3.3 no-cspf
mpls set label-switched-path dynamic3ATT primary dp1
mpls create policy ATT12 src-ipaddr-mask 160.12.0.0/16
mpls set label-switched-path dynamic3ATT policy ATT12
! Create LSP for AOL ISP
mpls create label-switched-path dynamic2AOL to 3.3.3.3 no-cspf
mpls create policy AOL11 src-ipaddr-mask 160.11.0.0/16
mpls set label-switched-path dynamic2AOL primary dp1
mpls set label-switched-path dynamic2AOL policy AOL11
! Start MPLS
mpls start
! Configure RSVP
rsvp add interface R1toR2
rsvp start
ip helper-address interface cmts 150.10.1.2
! Configure interfaces
interface create ip R2toR1 address-netmask 210.1.1.2/16 port gi.15.2
interface create ip R2toR3 address-netmask 220.1.1.2/16 port gi.15.1
interface add ip lo0 address-netmask 2.2.2.2/16
! Configure OSPF
ip-router global set install-lsp-routes on
ospf create area backbone
ospf add interface R2toR1 to-area backbone
ospf add stub-host 2.2.2.2 to-area backbone cost 10
ospf add interface R2toR3 to-area backbone
ospf start
! Configure MPLS
mpls add interface R2toR1
mpls add interface R2toR3
mpls start
! Configure RSVP
rsvp add interface R2toR1