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

Configuration Guide - MPLS

S7700 and S9700 V200R013C00

This document describes the configurations of MPLS, including Static LSP, MPLS LDP, MPLS QoS, MPLS TE, MPLS OAM, Seamless MPLS.
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 LDP MD5 Authentication

Configuring LDP MD5 Authentication

Context

MD5 authentication can be configured for a TCP connection over which an LDP session is established, improving security. Note that the peers of an LDP session can be configured with different encryption modes, but must be configured with a single password.

The MD5 algorithm is easy to configure and generates a single password which can be changed only manually. MD5 authentication applies to the network requiring short-period encryption.

Keychain authentication and MD5 authentication cannot be both configured on a single LDP peer.

LDP authentication configurations are prioritized in descending order: for a single peer, for a specified peer group, for all peers. Keychain and MD5 configurations of the same priority are mutually exclusive. Keychain or MD5 authentication can be configured simultaneously for a specified LDP peer, for this LDP peer in a specified peer group, and for all LDP peers. The configuration with a higher priority takes effect. For example, if MD5 authentication is configured for Peer1 and then keychain authentication is configured for all LDP peers, MD5 authentication takes effect on Peer1. Keychain authentication takes effect on other peers.

Configuring LDP MD5 authentication may cause LDP session reestablishment, deletion of the LSP associated with the deleted LDP session, and MPLS service interruption.

NOTE:

MD5 encryption algorithm cannot ensure security. Keychain authentication is recommended.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run mpls ldp

    The MPLS-LDP view is displayed.

  3. Configure LDP MD5 authentication.

    If plain is selected, the password is saved in the configuration file in plain text. In this case, users at a lower level can easily obtain the password by viewing the configuration file. This brings security risks. Therefore, it is recommended that you select cipher to save the password in cipher text.

    • Configure LDP MD5 authentication for a single LDP peer.

      Run md5-password { plain | cipher } peer-lsr-id password

      MD5 authentication is configured and a password is set.

      By default, LDP MD5 authentication is not performed between LDP peers.

    • Configure LDP MD5 authentication for LDP peers in a specified LDP peer group.

      1. Run md5-password { plain | cipher } peer-group ip-prefix-name password

        MD5 authentication is enabled and a password is set for LDP peers in a specified LDP peer group.

        An IP prefix list can be specified using ip-prefix-name to define the range of IP addresses in a group. Before using an IP prefix list, ensure that the IP prefix list must have been created.

      2. (Optional) Run authentication exclude peer peer-id

        The device is disabled from authenticating a specified LDP peer.

        By default, after LDP MD5 authentication is enabled for a specified LDP peer group, MD5 authentication takes effect on all LDP peers in the group. To disable the device from authenticating a specified LDP peer in the group, perform this step.

    • Configure LDP MD5 authentication for all LDP peers.

      1. Run md5-password { plain | cipher } all password

        MD5 authentication is enabled and a password is set for all LDP peers.

      2. (Optional) Run authentication exclude peer peer-id

        The device is disabled from authenticating a specified LDP peer.

        By default, after LDP MD5 authentication is enabled for all LDP peers, MD5 authentication takes effect on all LDP peers. To disable the device from authenticating a specified LDP peer, perform this step.

Translation
Download
Updated: 2019-04-08

Document ID: EDOC1100065745

Views: 23723

Downloads: 24

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