Configuring Tunnel Load Balancing

  1. Run system-view

    The system view is displayed.

  2. Run tunnel-policy policy-name

    A tunnel policy is created.

  3. (Optional) Run description text

    A description is configured for the tunnel policy.

  4. Run tunnel select-seq { gre | lsp | cr-lsp } * load-balance-number load-balance-number

    The sequence in which each type of tunnel is selected and the number of tunnels participating in load balancing are configured.

  5. Apply the tunnel policy.
    • Apply the tunnel policy to BGP/MPLS IP VPN:
      1. Run system-view

        The system view is displayed.

      2. Run ip vpn-instance vpn-instance-name

        The VPN instance view is displayed.

      3. Run ipv4-family

        The VPN instance IPv4 address family view is displayed.

      4. Run tnl-policy policy-name

        The tunnel policy is applied to the VPN instance IPv4 address family.

    • Apply the tunnel policy to a BGP/MPLS IPv6 VPN.
      1. Run system-view

        The system view is displayed.

      2. Run ip vpn-instance vpn-instance-name

        The VPN instance view is displayed.

      3. Run ipv6-family

        The VPN instance IPv6 address family view is displayed.

      4. Run tnl-policy policy-name

        The tunnel policy is applied to the VPN instance IPv6 address family.

    • Apply the tunnel policy to an SVC VLL.
      1. Run system-view

        The system view is displayed.

      2. Run interface interface-type interface-number

        The AC interface view is displayed.

      3. To apply the tunnel policy to a VC of an SVC VLL, run the following commands based on interface types:
        • Ethernet interface: mpls static-l2vc { { destination ip-address | pw-template pw-template-name vc-id } * | destination ip-address [ vc-id ] } transmit-vpn-label transmit-label-value receive-vpn-label receive-label-value [ tunnel-policy tnl-policy-name [ endpoint endpoint-address color color-value ] | access-port | [ control-word | no-control-word ] | [ raw | tagged | ip-interworking ] ] *
    • Apply the tunnel policy to an LDP VLL.
      1. Run system-view

        The system view is displayed.

      2. Run interface interface-type interface-number

        The AC interface view is displayed.

      3. To apply the tunnel policy to a VC of an LDP VLL, run the following commands based on interface types:
        • Ethernet interface: mpls l2vc { ip-address | pw-template template-name } * vc-id [ tunnel-policy policy-name [ endpoint endpoint-address color color-value ] | [ control-word | no-control-word ] | [ raw | tagged | ip-layer2 | ip-interworking ] | access-port | ignore-standby-state ] *
    • Apply the tunnel policy to a LDP VPLS.
      1. Run system-view

        The system view is displayed.

      2. Run vsi vsi-name [ auto | static ]

        A VSI is created.

      3. Run pwsignal ldp

        The PW signaling protocol is set to LDP and the VSI-LDP view is displayed.

      4. Run vsi-id vsi-id

        A VSI ID is set.

      5. Run peer peer-address [ negotiation-vc-id vc-id ] tnl-policy policy-name

        The tunnel policy is applied to a VSI peer.

    • Apply the tunnel policy to a PWE3.
      1. Run system-view

        The system view is displayed.

      2. Run interface interface-type interface-number

        The AC interface view is displayed.

      3. Choose one of the following options to apply the tunnel policy to a PW.
        • For a dynamic PW, run the mpls l2vc { pw-template pw-template-name | ip-address } * vc-id tunnel-policy policy-name command.
        • For a static PW, run the mpls static-l2vc { { destination ip-address | pw-template pw-template-name vc-id } * | destination ip-address [ vc-id ] } transmit-vpn-label transmit-label-value receive-vpn-label receive-label-value tunnel-policy tnl-policy-name command.
  6. Run commit

    The configuration is committed.

Follow-up Procedure

Run the save command to save the current configuration to the configuration file when a set of configuration is finished and the expected functions have been achieved.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >