Figure 17-14 static l2 paths (bi-directional) -63, R2 r3 r1 – Riverstone Networks WICT1-12 User Manual

Page 371

Advertising
background image

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

MPLS Configuration

Configuring L2 Tunnels

Timesaver

Click on the router name (in blue) to see the corresponding configuration

Figure 17-14 Static L2 paths (bi-directional)

Router R1 has the following configuration:

Router R2 has the following configuration:

! Create L2 static path TO-R3

mpls create l2-policy P1 dst-mac any src-mac 000000:01e000 vlan 1 in-port-list gi.2.1

out-port-list gi.3.1

mpls create l2-static-path TO-R3 next-hop-mac 000285:057900 push 100

mpls set l2-static-path TO-R3 policy P1

! Configure egress LER for L2 static path TO-R1

mpls set portlist in-port-list gi.3.1 end-of-l2-tunnel-label 201

! Start MPLS on this router

mpls start

! Configure L2 static path TO-R3

mpls set portlist label-map 100 swap 200 next-hop-mac 00e063:3738ce in-port-list gi.4.1

out-port gi.5.1

! Configure L2 static path TO-R1

mpls set portlist label-map 101 swap 201 next-hop-mac 00e063:110012 in-port-list gi.5.1

out-port gi.4.1

! Start MPLS on this router

mpls start

gi.2.1

gi.3.1

gi.5.1

gi.6.1

gi.4.1

gi.7.1

Label = 100

Label = 200

Label removed

Label = 101

Label = 201

Label removed

TO-R3

TO-R1

L2 Static Paths:

R2

R3

R1

Advertising