Courseiva
mediumMultiple Choice

350-401 Practice Question: Interface GigabitEthernet0/1 ip address 10.1.1.1…

interface GigabitEthernet0/1
 ip address 10.1.1.1 255.255.255.0

mpls ip mpls label protocol tdp !

router ospf 1
 network 10.1.1.0 0.0.0.255 area 0

!

router ldp
 interface GigabitEthernet0/1

! Which statement about this configuration is true?

⚠ Common exam trap

It's easy for candidates to assume the global `router ldp` configuration overrides an interface-level `mpls label protocol tdp` command, but Cisco explicitly tests that the interface-level command takes precedence.

Answer choices

Why each option matters

Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.

Correct answer & explanation

✓

The interface will use TDP for label distribution, ignoring the LDP configuration under router ldp.

The interface-level command `mpls label protocol tdp` explicitly sets TDP (Tag Distribution Protocol) for that interface. When both an interface-specific `mpls label protocol` command and a global `router ldp` configuration exist, the interface-level command takes precedence. Therefore, GigabitEthernet0/1 will use TDP for label distribution, and the LDP configuration under `router ldp` is effectively ignored for that interface.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • ✓

    The interface will use TDP for label distribution, ignoring the LDP configuration under router ldp.

    Why this is correct

    The interface-level command 'mpls label protocol tdp' takes precedence over any global or routing-protocol-level LDP configuration. On Cisco IOS, interface-specific configuration is applied after global settings and thus overrides them, so the interface uses TDP exclusively for label distribution. Even though 'router ldp' enables LDP globally, the interface's explicit TDP directive forces TDP on that interface. This is the standard precedence behavior for MPLS label protocol selection.

  • ✗

    The router will use LDP because the global configuration overrides the interface command.

    Why it's wrong here

    This statement reverses Cisco's configuration precedence hierarchy. Global commands and protocol-level directives, such as 'router ldp', are overridden by more specific interface-level commands, not the other way around. Because 'mpls label protocol tdp' is configured directly under the interface, it takes effect on that interface and the router does not use LDP there. Therefore, claiming global configuration wins is factually incorrect for this scenario.

  • ✗

    Both TDP and LDP will be used simultaneously on the interface.

    Why it's wrong here

    An interface can run only one label distribution protocol at a time; TDP and LDP cannot operate simultaneously on a single interface. The label-switching logic on the interface uses a single protocol to exchange labels with peers, and mixing two protocols would create inconsistent label bindings. In this scenario, the interface-specific TDP command overrides the global LDP configuration, so only TDP is active. No feature on Cisco IOS enables both protocols concurrently on the same interface.

  • ✗

    The configuration will fail because TDP is not supported on this platform.

    Why it's wrong here

    TDP, the Tag Distribution Protocol, is a legacy Cisco-proprietary protocol that remains available on many IOS and IOS-XE platforms, even though it has been deprecated in favor of LDP. The interface command will be accepted and executed without error; it does not fail on this platform. The configuration will successfully place the interface in TDP mode, and label exchange using TDP will occur if a peer supports it. Thus, lack of platform support is not a legitimate reason for failure.

Visual reference

R1 R2 R3 R4 10 100 10 100 OSPF picks R1→R2→R4 (cost 20) over R1→R3→R4 (cost 200)

Quick reference

Routing Protocol Comparison

ProtocolMetricMax HopsAlgorithmType
RIP v2Hop count15Bellman-FordDistance vector
OSPFCost (bandwidth)UnlimitedDijkstra (SPF)Link state
EIGRPComposite metricUnlimitedDUALHybrid
IS-ISCostUnlimitedDijkstraLink state
BGPPolicy / attributesUnlimitedPath vectorPath vector

RIP's 15-hop limit makes it unsuitable for large networks. OSPF and EIGRP dominate modern enterprise deployments.

About these practice questions

Courseiva writes every 350-401 question from scratch — 1,923 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

JA

Written by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

This 350-401 practice question is part of Courseiva's free Cisco certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the 350-401 exam.