Riverstone Networks WICT1-12 User Manual

Page 398

Advertising
background image

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

Configuring L2 Tunnels

MPLS Configuration

R6 is a transit LSR with interfaces to R1 and R5. The following is the configuration for R6:

rsvp add interface to_rs6

rsvp add interface to_rs4

rsvp start

! Configure LDP

ldp add interface lo0

ldp map ports gi.12.2 customer-id 10

map port gi.12.2 to customer-id 10

ldp add remote-peer 111.1.1.1

adds R1 as LDP peer

ldp add l2-fec customer-id 10 to-peer 111.1.1.1

send customer-id mapping to R1

ldp add remote-peer 111.1.1.3

adds R3 as LDP peer

ldp add l2-fec customer-id 10 to-peer 111.1.1.3

send customer-id mapping to R3

ldp start

! Configure interfaces to R1 and R5

vlan create ip_signal ip id 12

vlan add ports gi.4.1,gi.5.1 to ip_signal

interface create ip to_rs1 address-netmask 201.1.1.2/16 port gi.4.2

interface create ip to_rs5 address-netmask 220.1.1.1/16 vlan ip_signal

interface add ip lo0 address-netmask 111.1.1.6/32

! Configure OSPF

ip-router global set router-id 111.1.1.6

ospf create area backbone

ospf add interface all to-area backbone

ospf add stub-host 111.1.1.6 to-area backbone cost 5

ospf start

! Configure MPLS

mpls add interface to_rs1

mpls add interface to_rs5

mpls start

! Configure RSVP

rsvp add interface to_rs1

rsvp add interface to_rs5

rsvp start

Advertising