127
[RouterC-ospf-1] area 1
[RouterC-ospf-1-area-0.0.0.1] network 10.2.1.0 0.0.0.255
[RouterC-ospf-1-area-0.0.0.1] network 3.3.3.3 0.0.0.0
[RouterC-ospf-1-area-0.0.0.1] mpls te enable
[RouterC-ospf-1-area-0.0.0.1] quit
[RouterC-ospf-1] quit
# Configure Router D.
<RouterD> system-view
[RouterD] ospf
[RouterD-ospf-1] area 2
[RouterD-ospf-1-area-0.0.0.2] network 10.3.1.0 0.0.0.255
[RouterD-ospf-1-area-0.0.0.2] network 4.4.4.4 0.0.0.0
[RouterD-ospf-1-area-0.0.0.2] mpls te enable
[RouterD-ospf-1-area-0.0.0.2] quit
[RouterD-ospf-1] quit
3.
Configure an LSR ID, and enable MPLS, MPLS TE, and RSVP-TE:
# Configure Router A.
[RouterA] mpls lsr-id 1.1.1.1
[RouterA] mpls te
[RouterA-te] quit
[RouterA] rsvp
[RouterA-rsvp] quit
[RouterA] interface gigabitethernet 1/1/1
[RouterA-GigabitEthernet1/1/1] mpls enable
[RouterA-GigabitEthernet1/1/1] mpls te enable
[RouterA-GigabitEthernet1/1/1] rsvp enable
[RouterA-GigabitEthernet1/1/1] quit
[RouterA] interface gigabitethernet 1/1/2
[RouterA-GigabitEthernet1/1/2] mpls enable
[RouterA-GigabitEthernet1/1/2] mpls te enable
[RouterA-GigabitEthernet1/1/2] rsvp enable
[RouterA-GigabitEthernet1/1/2] quit
# Configure Router B.
[RouterB] mpls lsr-id 2.2.2.2
[RouterB] mpls te
[RouterB-te] quit
[RouterB] rsvp
[RouterB-rsvp] quit
[RouterB] interface gigabitethernet 1/1/1
[RouterB-GigabitEthernet1/1/1] mpls enable
[RouterB-GigabitEthernet1/1/1] mpls te enable
[RouterB-GigabitEthernet1/1/1] rsvp enable
[RouterB-GigabitEthernet1/1/1] quit
[RouterB] interface gigabitethernet 1/1/2
[RouterB-GigabitEthernet1/1/2] mpls enable
[RouterB-GigabitEthernet1/1/2] mpls te enable
[RouterB-GigabitEthernet1/1/2] rsvp enable
[RouterB-GigabitEthernet1/1/2] quit