17-54 Riverstone Networks RS Switch Router User Guide Release 8.0
Configuring L3 Label Switched Paths MPLS Configuration
Note The configuration examples shown in this section are for Riverstone’s DOCSIS
1.0 CMTS hardware and software. See Chapter 7, "CMTS Configuration Guide"
for more information about configuring CMTS on RS routers.
The following is the configuration for R1:
! Configure CMTS
cmts set headend cm.15.1 hashed-auth-str xBFakK
cmts set uschannel cm.15.1 upstream 1-4 state on
cmts set relay-agent interface cmts giaddr 160.10.1.1
! Configure VLAN
vlan create cmts port-based
vlan add ports cm.15.1 to cmts id 200
! Configure interfaces
interface create ip R1toR2 address-netmask 210.1.1.1/16 port gi.3.2
interface create ip cmts address-netmask 160.11.1.1/16 vlan cmts
interface add ip lo0 address-netmask 1.1.1.1/16
interface add ip cmts address-netmask 160.10.1.1/16
interface add ip cmts address-netmask 160.12.1.1/16
! Configure OSPF
ip-router global set router-id 1.1.1.1
ip-router global set install-lsp-routes on
ospf create area backbone
ospf add interface R1toR2 to-area backbone
ospf add stub-host 1.1.1.1 to-area backbone cost 10
ospf add interface cmts to-area backbone
ospf start
! Configure MPLS
mpls add interface R1toR2
! Create explicit path dp1
mpls create path dp1 num-hops 3
mpls set path dp1 hop 1 ip-addr 210.1.1.1 type strict
mpls set path dp1 hop 2 ip-addr 210.1.1.2 type strict
mpls set path dp1 hop 3 ip-addr 220.1.1.1 type strict
! Create LSP for DHCP server provisioning
mpls create label-switched-path dynamic1MSO to 3.3.3.3 no-cspf
mpls set label-switched-path dynamic1MSO primary dp1
mpls create policy port67DHCP dst-port 67 dst-ipaddr-mask 150.10.0.0/16
mpls create policy MSO150 src-ipaddr-mask 150.10.0.0/16
mpls set label-switched-path dynamic1MSO policy port67DHCP