authentication exclude

Function

The authentication exclude command configures LDP peers in a batch that a local device does not authenticate after LDP authentication is configured to authenticate all LDP peers or LDP peers in a specified group.

The undo authentication exclude command enables a local device to authenticate all LDP peers.

By default, a local device is enabled to authenticate all LDP peers.

Format

authentication exclude peer peer-id

undo authentication exclude peer peer-id

Parameters

Parameter Description Value
peer peer-id

Specifies the ID of an LDP peer.

This value is in dotted decimal notation.

Views

MPLS-LDP-VPN instance view, MPLS-LDP view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
mpls-ldp write

Usage Guidelines

Usage Scenario

By default, a local device is enabled to authenticate all LDP peers after LDP authentication is configured for a peer group or all LDP peers. To disable the local device from authenticating some LDP peers, run the authentication exclude command.

Precautions

The following commands are mutually exclusive for a specified LDP peer:

  • authentication key-chain
  • md5-password (LDP)

Example

# Disable a local device from authenticating an LDP peer with IP address 4.4.4.4 after LDP authentication is configured for all LDP peers or LDP peers in a specified group.
<HUAWEI> system-view
[~HUAWEI] mpls
[*HUAWEI-mpls] commit
[~HUAWEI-mpls] quit
[~HUAWEI] mpls ldp
[*HUAWEI-mpls-ldp] authentication exclude peer 4.4.4.4
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >