cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1051
Views
0
Helpful
1
Replies

Why MPLS Label do not have next header field?

mukupatil
Level 1
Level 1

MPLS Label do not have protocol filed like IP or Type field like ethernet, then how do router knows what is the next header?

1 Accepted Solution

Accepted Solutions

Peter Paluch
Cisco Employee
Cisco Employee

Hello,

If a router receives a labeled packet, that label value must have originally been assigned by that router itself. The router knows what does that particular label bind to (IPv4 network, IPv6 network, VPNv4 network, pseudowire, etc.) because it has created the binding itself. Therefore it is not necessary for an MPLS label to carry a protocol field (although, admittedly, it would do no harm).

Please feel welcome to ask further!

Best regards,

Peter

View solution in original post

1 Reply 1

Peter Paluch
Cisco Employee
Cisco Employee

Hello,

If a router receives a labeled packet, that label value must have originally been assigned by that router itself. The router knows what does that particular label bind to (IPv4 network, IPv6 network, VPNv4 network, pseudowire, etc.) because it has created the binding itself. Therefore it is not necessary for an MPLS label to carry a protocol field (although, admittedly, it would do no harm).

Please feel welcome to ask further!

Best regards,

Peter