beautypg.com

H3C Technologies H3C S6800 Series Switches User Manual

Page 141

background image

128

[SwitchD-isis-1] cost-style wide

[SwitchD-isis-1] mpls te enable level-2

[SwitchD-isis-1] quit

5.

Configure MPLS TE attributes of links:
# Configure the maximum bandwidth, maximum reservable bandwidth, and bandwidth
constraints on Switch A.

[SwitchA] interface vlan-interface 1

[SwitchA-Vlan-interface1] mpls te max-link-bandwidth 10000

[SwitchA-Vlan-interface1] mpls te max-reservable-bandwidth rdm 10000 bc1 8000 bc2

5000 bc3 2000

[SwitchA-Vlan-interface1] quit

# Configure the maximum bandwidth, maximum reservable bandwidth, and bandwidth

constraints on Switch B.

[SwitchB] interface vlan-interface 1

[SwitchB-Vlan-interface1] mpls te max-link-bandwidth 10000

[SwitchB-Vlan-interface1] mpls te max-reservable-bandwidth rdm 10000 bc1 8000 bc2

5000 bc3 2000

[SwitchB-Vlan-interface1] quit

[SwitchB] interface vlan-interface 2

[SwitchB-Vlan-interface2] mpls te max-link-bandwidth 10000

[SwitchB-Vlan-interface2] mpls te max-reservable-bandwidth rdm 10000 bc1 8000 bc2

5000 bc3 2000

[SwitchB-Vlan-interface2] quit

# Configure the maximum bandwidth, maximum reservable bandwidth, and bandwidth
constraints on Switch C.

[SwitchC] interface vlan-interface 3

[SwitchC-Vlan-interface3] mpls te max-link-bandwidth 10000

[SwitchC-Vlan-interface3] mpls te max-reservable-bandwidth rdm 10000 bc1 8000 bc2

5000 bc3 2000

[SwitchC-Vlan-interface3] quit

[SwitchC] interface vlan-interface 2

[SwitchC-Vlan-interface2] mpls te max-link-bandwidth 10000

[SwitchC-Vlan-interface2] mpls te max-reservable-bandwidth rdm 10000 bc1 8000 bc2

5000 bc3 2000

[SwitchC-Vlan-interface2] quit

# Configure the maximum bandwidth, maximum reservable bandwidth, and bandwidth
constraints on Switch D.

[SwitchD] interface vlan-interface 3

[SwitchD-Vlan-interface3] mpls te max-link-bandwidth 10000

[SwitchD-Vlan-interface3] mpls te max-reservable-bandwidth rdm 10000 bc1 8000 bc2

5000 bc3 2000

[SwitchD-Vlan-interface3] quit

6.

Configure an MPLS TE tunnel on Switch A:
# Create the MPLS TE tunnel interface Tunnel 1.

[SwitchA] interface Tunnel 1 mode mpls-te

[SwitchA-Tunnel1] ip address 7.1.1.1 255.255.255.0

# Specify the tunnel destination address as the LSR ID of Switch D.

[SwitchA-Tunnel1] destination 4.4.4.9