MPLS Label Stack Visualizer

Paste show mpls forwarding-table or trace output to visualize the label stack at each hop.

Manual Hop Builder
MPLS Operation Reference
OperationDescriptionForwarding Entry
PUSHAdd a new label to the top of the stack (ingress LER)IP → label
SWAPReplace top label with a new label (transit LSR)label_in → label_out
POPRemove top label and forward using remaining stack or IPPop Label
PHPPenultimate Hop Popping — second-to-last router pops label to reduce egress LER workOutgoing: Pop Label at penultimate hop