CS FundamentalsHardGATE CS · Product company CS fundamentals
What does an MPLS label-switching router use to forward a labelled packet?
- A. The longest-prefix match on the destination IP address
- B. The incoming label, swapped for an outgoing label and interface
- C. The destination MAC address
- D. The TCP port numbers
Correct answer: B. The incoming label, swapped for an outgoing label and interface
MPLS replaces per-hop IP lookups with an exact-match label lookup; the ingress router classifies the packet once and pushes a label, core routers swap labels, and the egress pops it. This enables traffic engineering and VPNs.
More Computer Networks questions
- In DiffServ QoS, where is a packet's traffic class marked, and how many bits are used?
- Which cookie attribute stops JavaScript running in the page from reading the cookie through document.cookie?
- A page at https://app.example.com uses fetch() to send a PUT request with a JSON body to https://api.example.com. What happens first?
- How does a WebSocket connection start?
- A REST API creates a resource in response to a POST. Which response is most appropriate?
- Which application protocols use UDP by default? SNMP, NTP, SSH, DHCP