H3C Technologies H3C S6800 Series Switches User Manual

Page 99

Advertising
background image

86

[SwitchC] interface vlan-interface 2

[SwitchC-Vlan-interface2] mpls enable

[SwitchC-Vlan-interface2] mpls te enable

[SwitchC-Vlan-interface2] quit

4.

Configure MPLS TE attributes of links:
# Configure the maximum link bandwidth and maximum reservable bandwidth 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 5000

[SwitchA-Vlan-interface1] quit

# Configure the maximum link bandwidth and maximum reservable bandwidth 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 5000

[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 5000

[SwitchB-Vlan-interface2] quit

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

[SwitchC] interface vlan-interface 2

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

[SwitchC-Vlan-interface2] mpls te max-reservable-bandwidth 5000

[SwitchC-Vlan-interface2] quit

5.

Configure an MPLS TE tunnel on Switch A:
# Configure MPLS TE tunnel interface Tunnel 0.

[SwitchA] interface tunnel 0 mode mpls-te

[SwitchA-Tunnel0] ip address 6.1.1.1 255.255.255.0

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

[SwitchA-Tunnel0] destination 3.3.3.3

# Configure MPLS TE to use a static CRLSP to establish the tunnel.

[SwitchA-Tunnel0] mpls te signaling static

[SwitchA-Tunnel0] quit

6.

Create a static CRLSP:
# Configure Switch A as the ingress node of the static CRLSP, and specify the next hop address as
2.1.1.2, outgoing label as 20, and bandwidth for the tunnel as 2000 kbps.

[SwitchA] static-cr-lsp ingress static-cr-lsp-1 nexthop 2.1.1.2 out-label 20

bandwidth 2000

# On Switch A, configure tunnel 0 to reference the static CRLSP static-cr-lsp-1.

[SwitchA] interface Tunnel0

[SwitchA-Tunnel0] mpls te static-cr-lsp static-cr-lsp-1

[SwitchA-Tunnel0] quit

# Configure Switch B as the transit node of the static CRLSP, and specify the incoming label as 20,
next hop address as 3.2.1.2, outgoing label as 30, and bandwidth for the tunnel as 2000 kbps.

[SwitchB] static-cr-lsp transit static-cr-lsp-1 in-label 20 nexthop 3.2.1.2 out-label

30 bandwidth 2000

Advertising