No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

NE40E V800R010C10SPC500 Configuration Guide - User Access 01

This is NE40E V800R010C10SPC500 Configuration Guide - User Access
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).
Controlling Advertisement of L2TP Hot Backup Routes

Controlling Advertisement of L2TP Hot Backup Routes

If L2TP hot backup is configured on LACs that work in load balancing mode, the LACs must be configured to control route advertisement.

Context

If L2TP hot backup is configured, the LACs can be configured to control route advertisement in either of the following modes:
  • Manual control: A LAC uses a loopback interface to establish an L2TP tunnel with an LNS. Two LACs are configured with hot backup and work in load balancing mode. The master LAC advertises the cost value of the route to the loopback IP address is smaller than that the slave LAC advertises, allowing the route to the loopback address on the master LAC to be preferentially used. The cost values can be set in a routing policy, which allows the route to the loopback IP address of the master LAC to have higher route precedence than that to the loopback IP address of the slave LAC. For information about how to configure a routing policy, see Routing Policy Configuration in HUAWEI NetEngine40E Universal Service Router Configuration Guide - IP Routing.
  • Automatic control: A routing policy can be configured to trust cost values of imported routes to loopback IP addresses of the LACs. This control mode is easier to configure than manual control. Automatic control prevents the problem that if a fault in a LAC occurs and a mater/slave LAC switchover is implemented, the route to the loopback IP address cannot be automatically advertised after the LAC recovers.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run peer-backup route-cost auto-advertising

    The LAC is enabled to trust cost values of imported routes to control route preference.

Follow-up Procedure

To use a routing policy to allow the route to the loopback IP address of the master LAC be the highest, run the import-route unr route-policy route-policy-name command in the IS-IS, OSPF, or BGP view:

  • In the IS-IS view:

    Run the import-route unr route-policy route-policy-name command.

  • In the OSPF view:

    Run the import-route unr route-policy route-policy-name command.

  • In the BGP view:

    Run the import-route unr route-policy route-policy-name command.

To trust cost values of routes to loopback IP addresses imported by a routing protocol, perform one of the following steps based on the type of routing protocol:
  • If IS-IS imports direct routes, run the import-route direct inherit-cost command in the IS-IS view.
  • If OSPF imports direct routes, run the following commands in the OSPF view:
    1. default cost inherit-metric
    2. import-route direct
  • If the network command is used to import routes into the OSPF routing table, run the ospf cost inherit command in the view of a loopback interface view.
  • If BGP imports direct routes, run the import-route direct command in the BGP view.

(Optional) Run the l2tp-tunnel_source loopback loopback-num command to configure a source L2TP tunnel interface in the RBS view so that the source interface route bound to the RBS is updated based on the link status on the network side.

Translation
Download
Updated: 2019-01-03

Document ID: EDOC1100055031

Views: 17554

Downloads: 70

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Share
Previous Next