Riverstone Networks WICT1-12 User Manual

Page 409

Advertising
background image

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

MPLS Configuration

Configuring L2 Tunnels

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

ldp map ports gi.6.2 customer-id 20

map port gi.6.2 to customer-id 20

ldp add remote-peer 111.1.1.1

adds R1 as LDP peer

ldp add l2-fec customer-id 20 vlan 60 to-peer 111.1.1.1

sends label mapping for customer-id 20/VLAN

60 to R1

ldp start

! Configure VLANs and interfaces

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