Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document.
Note: Even the most advanced machine translation cannot match the quality of professional translators.
Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
Configuring Tunnel Load Balancing
Run the system-view command to enter the system view.
Run the tunnel-policy policy-name to create a tunnel policy.
- (Optional) Run the description text to configure description information to the tunnel policy.
- Run the tunnel select-seq { gre | lsp | cr-lsp } * load-balance-number load-balance-number command to configure the sequence in which each type of tunnel is selected and the number of tunnels participating in load balancing.
- Apply the tunnel policy.
- Apply the tunnel policy to BGP/MPLS IP VPN:
- Run the system-view command to enter the system view.
- Run the ip vpn-instance vpn-instance-name command to enter the VPN instance view.
- Run the ipv4-family command to enter the VPN instance IPv4 address family view.
- Run the tnl-policy policy-name command to apply the tunnel policy.
- Apply the tunnel policy to a BGP/MPLS IPv6 VPN.
- Run the system-view command to enter the system view.
- Run the ip vpn-instance vpn-instance-name command to enter the VPN instance view.
- Run the ipv6-family command to enter the VPN instance IPv6 address family view.
- Run the tnl-policy policy-name command to apply the tunnel policy.
- Apply the tunnel policy to an SVC VLL.
- Run the system-view command to enter the system view.
- Run the interface interface-type interface-number command to enter the AC interface view.
- Run the mpls static-l2vc destination ip-address transmit-vpn-label transmit-label-value receive-vpn-label receive-label-value tunnel-policy tnl-policy-name command to apply the tunnel policy to SVC VLL.
- Apply the tunnel policy to a Martini VLL.
- Run the system-view command to enter the system view.
- Run the interface interface-type interface-number command to enter the AC interface view.
- Run the mpls l2vc ip-address vc-id tunnel-policy policy-name command to apply the tunnel policy to Martini VLL.
- Apply the tunnel policy to a Martini VPLS.
- Run the system-view command to enter the system view.
- Run the vsi vsi-name [ auto | static ] to create a VSI.
- Run the pwsignal ldp command to enter the VSI-LDP view.
- Run the vsi-id vsi-id command to set VSI-ID.
- Run the peer peer-address [ negotiation-vc-id vc-id ] tnl-policy policy-name command to apply the tunnel policy to a VSI peer.
- Apply the tunnel policy to a PWE3.
- Run the system-view command to enter the system view.
- Run the interface interface-type interface-number command to enter the AC interface view.
- Choose one of the following options to apply the tunnel policy to a PW.
- For a dynamic PW, run: mpls l2vc { pw-template pw-template-name | ip-address } * vc-id tunnel-policy policy-name
- For a static PW, run: 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
- Apply the tunnel policy to BGP/MPLS IP VPN:
- Run the commit.
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.