Riverstone Networks RS Switch Router User Guide Release 8.0 17-95
MPLS Configuration Configuring L2 Tunnels
Figure17-21 shows two VLANs (with IDs 50 and 60) that enter R1 on port gi.2.2. VLAN 50 traffic enters R3 on port
gi.15.1, while VLAN 60 traffic enters R5 on port gi.6.2. The VLAN ID/port combinations are mapped to VC labels
that are distributed via LDP. The tunnel LSPs can use either LDP or RSVP as the signaling protocol; configuration
commands for RSVP tunnel signaling are shown for this example.
Timesaver Click on the router name (in blue) to see the corresponding configuration.
Figure 17-21 Tunneling of virtual circuits based on VLAN ID and port (RSVP
tunnel)
Two LSPs are configured on R1. The LSP from R1 to R5 is configured with a strict explicit path of 3 hops (R1, R6,
R5) and is restricted to traffic destined for the 152.1.0.0/16 subnet. The LSP from R1 to R3 is configured with a loose
explicit path of 2 hops. The following is the configuration for R1:
! Configure VLANs and interfaces
vlan create ldp_in port-based id 110
vlan create ldp_in2 port-based 120
vlan create to_rs3_only port-based id 50
vlan create to_rs5_only port-based id 60
Tunnel LSPs
Virtual Circuit based on VLAN ID and port
R3
R1 R2
R5
R6
R4
CustomerVLAN 50
CustomerVLAN 60
CustomerVLAN 60
CustomerVLAN 50
gi.15.1
gi.6.2
gi.2.2
gi.4.1 gi.14.1 gi.14.2 gi.12.2
gi.12.1
gi.3.1
gi.3.2
gi.13.1
gi.13.2
gi.4.1
gi.5.1
gi.4.2
gi.4.2