< Home

Configuring Non-labeled Public Network Routes to Be Iterated to LSPs

By default, non-labeled public network routes can be iterated to outgoing interfaces and next hops, but cannot be iterated to tunnels. After this feature is configured, non-labeled public network routes can be iterated to LSPs.

Pre-configuration Tasks

Before configuring non-labeled public network routes to be iterated to LSPs, complete the following tasks:

  • Configure a local LDP session. For details, see Configuring Basic Functions of MPLS LDP.

  • Configure an IP prefix list if non-labeled public network routes to be iterated to LSPs need to be limited.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run route recursive-lookup tunnel [ only ] [ ip-prefix ip-prefix-name ]

    The non-label public network route can be iterated to the LSP to forward through MPLS.

    By default, the non-label public network route can be iterated only to the outbound interface and the next hop but not the LSP tunnel.

    If ip-prefix ip-prefix-name is not set, all static routes and non-labeled public BGP routes will be preferentially iterated to LSP tunnels.

Verifying the Configuration

After non-labeled public routes are iterated to LSPs, you can run the display bgp routing-table network command to view route iteration information.

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