O'Reilly logo

Cisco IOS in a Nutshell, 2nd Edition by James Boney

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required