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

ME60 V800R010C10SPC500 Configuration Guide - IP Routing 01

This is ME60 V800R010C10SPC500 Configuration Guide - IP Routing
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 the POPGO Function

Configuring the POPGO Function

After the POPGO function is configured on the egress of a BGP LSP, the egress forwards each data packet received from the LSP through the outbound interface found in the ILM based on the label information carried in the packet.

Usage Scenario

On the network shown in Figure 10-11, DeviceC has two static routes, 20.1.1.0/24 and 20.1.1.0/30, and the next hops of the two routes are DeviceA and DeviceB respectively. DeviceC only imports route 20.1.1.0/24 to BGP and then sends this route to DeviceD. A BGP LSP is established between DeviceC and DeviceD. By default, after DeviceC receives a data packet addressed to 20.1.1.0 from DeviceD, DeviceC removes the LSP label from the packet, searches for an outbound interface in the IP forwarding table according to the longest-match principle, and incorrectly sends the packet to DeviceB.

To solve the preceding problem, configure the apply-label per-route pop-go command on DeviceC. After the apply-label per-route pop-go command is configured, when DeviceC sends route 20.1.1.0/24 to DeviceD, DeviceC records in the ILM the mapping between the label assigned to the route and the outbound interface of the route. Then, after the DeviceC receives a data packet from DeviceD, DeviceC directly searches the ILM for an outbound interface based on label information carried in the packet and forwards the packet through the found outbound interface after removing the packet label. This implementation ensures correct packet forwarding.

Figure 10-11 POPGO networking

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run bgp as-number

    The BGP view is displayed.

  3. Run apply-label per-route pop-go

    The POPGO function is configured.

  4. Run commit

    The configuration is committed.

Checking the Configurations

After configuring the POPGO function, you can run the following command to check the configuration.

Run the display mpls lsp protocol bgp command. The command output shows detailed BGP LSP information. If POPGO is displayed in the Label Operation field, the POPGO function is successfully configured.

<HUAWEI> display mpls lsp protocol bgp verbose
-------------------------------------------------------------------------------
                 LSP Information: BGP  LSP
-------------------------------------------------------------------------------
  No                  :  1
  VrfIndex            :
  RD Value            :  0:0
  Fec                 :  1.1.1.1/32
  Nexthop             :  0.0.0.0
  In-Label            :  32828
  Out-Label           :  NULL
  In-Interface        :  ------
  Out-Interface       :  ------
  LspIndex            :  17039360
  Type                :  Primary
  OutSegmentIndex     :  ------
  LsrType             :  Egress
  Outgoing TunnelID   :  0x0
  Label Operation    :  POPGO
  Mpls-Mtu            :  ------
  LspAge              :  ------
  Exp-Mode            :  ---
Translation
Download
Updated: 2019-01-04

Document ID: EDOC1100059437

Views: 20252

Downloads: 15

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