Configuration procedure – H3C Technologies H3C SR8800 User Manual

Page 119

Advertising
background image

108

Configuration procedure

1.

Configure MPLS RSVP-TE basic capabilities
# Configure Router A.

<RouterA> system-view

[RouterA] mpls lsr-id 1.1.1.1

[RouterA] mpls

[RouterA-mpls] mpls te

[RouterA-mpls] mpls rsvp-te

[RouterA-mpls] quit

[RouterA] interface GigabitEthernet 3/1/1

[RouterA-GigabitEthernet3/1/1] mpls

[RouterA-GigabitEthernet3/1/1] mpls te

[RouterA-GigabitEthernet3/1/1] mpls rsvp-te

[RouterA-GigabitEthernet3/1/1] mpls rsvp-te bfd enable

[RouterA-GigabitEthernet3/1/1] quit

# Configure Router B.

<RouterB> system-view

[RouterB] mpls lsr-id 2.2.2.2

[RouterB] mpls

[RouterB-mpls] mpls te

[RouterB-mpls] mpls rsvp-te

[RouterB-mpls] quit

[RouterB] interface GigabitEthernet 3/1/1

[RouterB-GigabitEthernet3/1/1] mpls

[RouterB-GigabitEthernet3/1/1] mpls te

[RouterB-GigabitEthernet3/1/1] mpls rsvp-te

[RouterB-GigabitEthernet3/1/1] mpls rsvp-te bfd enable

[RouterB-GigabitEthernet3/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

Advertising