Riverstone Networks WICT1-12 User Manual

Page 379

Advertising
background image

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

MPLS Configuration

Configuring L2 Tunnels

! Create the LDP-signaling VLAN and interface

vlan create ldp_in1 port-based id 120

vlan add ports gi.3.2 to ldp_in1

interface create ip to_r2 address-netmask 220.1.1.2/16 vlan ldp_in1

! If tunnel LSP uses RSVP:

mpls add interface to_r2

mpls start

rsvp add interface to_r2

rsvp start

! If tunnel LSP uses LDP:

mpls add interface to_r2

mpls start

ldp add interface to_r2

ldp start

! Configure IGP (in this example, OSPF is the IGP)

ip-router global set router-id 111.1.1.3

ospf create area backbone

ospf add interface to_r2 to-area backbone

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

ospf start

Advertising