H3C Technologies H3C SR8800 User Manual

Page 113

Advertising
background image

102

[RouterA-ospf-1] quit

# Configure Router B.

[RouterB] ospf

[RouterB-ospf-1] opaque-capability enable

[RouterB-ospf-1] area 0

[RouterB-ospf-1-area-0.0.0.0] mpls-te enable

[RouterB-ospf-1-area-0.0.0.0] quit

[RouterB-ospf-1] quit

# Configure Router C.

[RouterC] ospf

[RouterC-ospf-1] opaque-capability enable

[RouterC-ospf-1] area 0

[RouterC-ospf-1-area-0.0.0.0] mpls-te enable

[RouterC-ospf-1-area-0.0.0.0] quit

[RouterC-ospf-1] quit

# Configure Router D.

[RouterD] ospf

[RouterD-ospf-1] opaque-capability enable

[RouterD-ospf-1] area 0

[RouterD-ospf-1-area-0.0.0.0] mpls-te enable

[RouterD-ospf-1-area-0.0.0.0] quit

[RouterD-ospf-1] quit

6.

Configure a loose explicit route
# Configure a loose explicit route on Router A.

[RouterA] explicit-path atod enable

[RouterA-explicit-path-atod] next hop 10.1.1.2 include loose

[RouterA-explicit-path-atod] next hop 20.1.1.2 include loose

[RouterA-explicit-path-atod] next hop 30.1.1.2 include loose

[RouterA-explicit-path-atod] quit

7.

Configure MPLS TE attributes of links
# Configure the maximum link bandwidth and maximum reservable bandwidth on Router A.

[RouterA] interface GigabitEthernet 3/1/1

[RouterA-GigabitEthernet3/1/1] mpls te max-link-bandwidth 10000

[RouterA-GigabitEthernet3/1/1] mpls te max-reservable-bandwidth 5000

[RouterA-GigabitEthernet3/1/1] quit

# Configure the maximum link bandwidth and maximum reservable bandwidth on Router B.

[RouterB] interface GigabitEthernet 3/1/1

[RouterB-GigabitEthernet3/1/1] mpls te max-link-bandwidth 10000

[RouterB-GigabitEthernet3/1/1] mpls te max-reservable-bandwidth 5000

[RouterB-GigabitEthernet3/1/1] quit

[RouterB] interface POS 2/1/1

[RouterB-POS2/1/1] mpls te max-link-bandwidth 10000

[RouterB-POS2/1/1] mpls te max-reservable-bandwidth 5000

[RouterB-POS2/1/1] quit

# Configure the maximum link bandwidth and maximum reservable bandwidth on Router C.

[RouterC] interface GigabitEthernet 3/1/1

Advertising