BIT INDEX EXPLICIT REPLICATION (BIER) PENULTIMATE HOP POPPING
A network device may receive, from a first neighbor network device, information indicating that the network device is to remove a bit indexed explicit replication (BIER) header and a BIER label from a multicast packet prior to transmitting the multicast packet to the first neighbor network device. The network device may receive the multicast packet from a second neighbor network device, where the multicast packet includes the BIER header and the BIER label and is to be transmitted to the first neighbor network device, and where the network device, the first neighbor network device, and the second neighbor network device are included in a same BIER domain. The network device may remove the BIER header and the BIER label from the multicast packet, and may transmit the multicast packet to the first neighbor network device after removing the BIER header and the BIER label from the multicast packet.
1 . A network device, comprising:
one or more memories; and
one or more processors to:
receive, from a first neighbor network device, information indicating that the network device is to remove a bit indexed explicit replication (BIER) header and a BIER label from a multicast packet prior to transmitting the multicast packet to the first neighbor network device;
receive, after receiving the information from the first neighbor network device, the multicast packet from a second neighbor network device,
wherein the multicast packet includes the BIER header and the BIER label and is to be transmitted to the first neighbor network device, and
wherein the network device, the first neighbor network device, and the second neighbor network device are included in a same BIER domain;
remove the BIER header and the BIER label from the multicast packet based on the information indicating that the network device is to remove the BIER header and the BIER label from the multicast packet prior to transmitting the multicast packet to the first neighbor network device; and
transmit the multicast packet to the first neighbor network device after removing the BIER header and the BIER label from the multicast packet.
2 . The network device of claim 1 , wherein the first neighbor network device is at least one of:
a BIER egress device, or
an egress device that does not support BIER.
3 . The network device of claim 1 , wherein the network device is a BIER forwarding device, and
wherein the second neighbor network device is at least one of:
another BIER forwarding device, or
a BIER ingress device.
4 . The network device of claim 1 , wherein the information indicating that the network device is to remove the BIER header and the BIER label from the multicast packet prior to transmitting the multicast packet to the first neighbor network device comprises:
a label indicating removing the BIER header and the BIER label.
5 . The network device of claim 4 , wherein the label indicating removing the BIER header and the BIER label includes an implicit null label.
6 . The network device of claim 1 , wherein the information indicating that the network device is to remove the BIER header and the BIER label from the multicast packet prior to transmitting the multicast packet to the first neighbor network device is included in a signaling packet.
7 . The network device of claim 1 , wherein the network device, the first neighbor network device, and the second neighbor network device are included in a multicast virtual private network (MVPN) or an Ethernet virtual private network (EVPN).
8 . A non-transitory computer-readable medium storing instructions, the instructions comprising:
one or more instructions that, when executed by one or more processors of a network device, cause the one or more processors to:
receive, from a first neighbor network device, information indicating that the network device is to remove a bit indexed explicit replication (BIER) header and a BIER label from a multicast packet prior to transmitting the multicast packet to the first neighbor network device,
wherein the first neighbor network device does not support BIER;
receive, after receiving the information from the first neighbor network device, the multicast packet from a second neighbor network device,
wherein the multicast packet includes the BIER header and the BIER label and is to be transmitted to the first neighbor network device, and
wherein the network device, the first neighbor network device, and the second neighbor network device are included in a same BIER domain;
remove the BIER header and the BIER label from the multicast packet based on the information indicating that the network device is to remove the BIER header and the BIER label from the multicast packet prior to transmitting the multicast packet to the first neighbor network device; and
transmit the multicast packet to the first neighbor network device after removing the BIER header and the BIER label from the multicast packet.
9 . The non-transitory computer-readable medium of claim 8 , wherein the network device, the first neighbor network device, and the second neighbor network device are included in a multicast virtual private network (MVPN) or an Ethernet virtual private network (EVPN).
10 . The non-transitory computer-readable medium of claim 8 , wherein the information indicating that the network device is to remove the BIER header and the BIER label from the multicast packet prior to transmitting the multicast packet to the first neighbor network device is included in a signaling packet.
11 . The non-transitory computer-readable medium of claim 8 , wherein the information indicating that the network device is to remove the BIER header and the BIER label from the multicast packet prior to transmitting the multicast packet to the first neighbor network device comprises:
a label indicating removing the BIER header and the BIER label.
12 . The non-transitory computer-readable medium of claim 8 , wherein the second neighbor network device is at least one of:
a BIER ingress device, or
another BIER forwarding device.
13 . The non-transitory computer-readable medium of claim 8 , wherein the network device is a BIER forwarding device.
14 . The non-transitory computer-readable medium of claim 8 , wherein the information indicating that the network device is to remove the BIER header and the BIER label from the multicast packet prior to transmitting the multicast packet to the first neighbor network device comprises:
a label including an implicit null label.
15 . A method, comprising:
receiving, at a network device and from a first neighbor network device, information indicating that the network device is to remove a bit indexed explicit replication (BIER) header and a BIER label from a multicast packet prior to transmitting the multicast packet to the first neighbor network device,
wherein the network device is a BIER forwarding device, and
wherein the first neighbor network device does not support BIER;
receiving, at the network device and after receiving the information from the first neighbor network device, the multicast packet from a second neighbor network device,
wherein the multicast packet includes the BIER header and the BIER label and is to be transmitted to the first neighbor network device,
wherein the network device, the first neighbor network device, and the second neighbor network device are included in a same BIER domain, and
wherein the second neighbor network device is at least one of:
another BIER forwarding device, or
a BIER ingress device;
removing, by the network device, the BIER header and the BIER label from the multicast packet based on the information indicating that the network device is to remove the BIER header and the BIER label from the multicast packet prior to transmitting the multicast packet to the first neighbor network device; and
transmitting, by the network device, the multicast packet to the first neighbor network device after removing the BIER header and the BIER label from the multicast packet.
16 . The method of claim 15 , wherein the information indicating that the network device is to remove the BIER header and the BIER label from the multicast packet prior to transmitting the multicast packet to the first neighbor network device is included in a signaling packet.
17 . The method of claim 15 , wherein the information indicating that the network device is to remove the BIER header and the BIER label from the multicast packet prior to transmitting the multicast packet to the first neighbor network device comprises:
a label indicating removing the BIER header and the BIER label.
18 . The method of claim 15 , wherein the label indicating removing the BIER header and the BIER label includes an implicit null label.
19 . The method of claim 15 , wherein the network device, the first neighbor network device, and the second neighbor network device are included in a multicast virtual private network (MVPN).
20 . The method of claim 15 , wherein the network device, the first neighbor network device, and the second neighbor network device are included in an Ethernet virtual private network (EVPN).