R3303-HP HSR6800 Routers MPLS Configuration Guide

108
[RouterB-GigabitEthernet2/1/1] mpls te
[RouterB-GigabitEthernet2/1/1] mpls rsvp-te
[RouterB-GigabitEthernet2/1/1] mpls rsvp-te bfd enable
[RouterB-GigabitEthernet2/1/1] quit
2. Configure OSPF:
# Configure Router A.
<RouterA> system-view
[RouterA] ospf
[Router-A-ospf-1] area 0
[Router-A-ospf-1-area-0.0.0.0] network 12.12.12.1 0.0.0.255
[Router-A-ospf-1-area-0.0.0.0] network 1.1.1.1 0.0.0.0
[Router-A-ospf-1-area-0.0.0.0] quit
[Router-A-ospf-1] quit
# Configure Router B.
<RouterB>system-view
[RouterB] ospf
[RouterB-ospf-1] area 0
[RouterB-ospf-1-area-0.0.0.0] network 12.12.12.2 0.0.0.255
[RouterB-ospf-1-area-0.0.0.0] network 2.2.2.2 0.0.0.0
[RouterB-ospf-1-area-0.0.0.0] quit
[RouterB-ospf-1] quit
3. Configure IP addresses for the interfaces:
# Configure Router A.
[RouterA] interface giabitethernet 2/1/1
[RouterA-GigabitEthernet2/1/1] ip address 12.12.12.1 24
[RouterA-GigabitEthernet2/1/1] quit
# Configure Router B.
[RouterB] interface giabitethernet 2/1/1
[RouterB-GigabitEthernet2/1/1] ip address 12.12.12.2 24
4. Configure the MPLS TE tunnel:
# Configure an RSVP-TE tunnel between Router A and Router B.
[RouterA] interface tunnel 1
[RouterA-Tunnel1] ip address 10.10.10.1 24
[RouterA-Tunnel1] tunnel-protocol mpls te
[RouterA-Tunnel1] destination 2.2.2.2
[RouterA-Tunnel1] mpls te tunnel-id 10
[RouterA-Tunnel1] mpls te signal-protocol rsvp-te
[RouterA-Tunnel1] mpls te commit
[RouterA-Tunnel1] return
5. Verify the configuration:
# Display detailed information about the BFD session between Router A and Router B.
<RouterA> display bfd session verbose
Total Session Num: 1 Init Mode: Active
Session Working Under Ctrl Mode: