Name

mpls label protocol — global, interface

Synopsis

mpls label protocol { ldp | tdp }
no mpls label protocol

Configures

MPLS

Default

TDP

Description

This command specifies the label distribution protocol to use for the platform or interface. ldp specifies the Label Distribution Protocol while tdp specifies the Tag Distribution Protocol.

For the interface version of this command, you can specify both, which allows both LDP and TDP. This is useful on interfaces where different peers might use different protocols.

Example

mpls label protocol ldp
!
interface ethernet 1/1
  mpls label protocol both

Get Cisco IOS in a Nutshell, 2nd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.