Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

PIM Join/Prune (pim_join_prune)

Reached from

Lower layerSelectorValue
pimtype3

Fields

FieldTypeDefaultAutoDescription
upstream_familyuint(8)1Address family of the encoded address (1 = IPv4).
upstream_encodinguint(8)0
upstream_neighboripv4192.0.2.1Upstream neighbor address the Join/Prune is addressed to.
reserveduint(8)0
num_groupsuint(8)Number of items of groupsNumber of group sets.
holdtimeuint(16)210Time the Join/Prune state is kept, in seconds.
groupslist<struct> — rest of the PDU1 itemsGroup sets (encoded group, joined and pruned encoded sources).

groups

Each item is a group of the fields below.

FieldTypeDefaultAutoDescription
familyuint(8)1
encodinguint(8)0
flagsflags(8)0x0
mask_lenuint(8)32
group_addressipv4239.1.1.1
num_joineduint(16)Number of items of joined
num_pruneduint(16)Number of items of pruned
joinedlist<struct> — num_joined * 8 octets[]
prunedlist<struct> — num_pruned * 8 octets[]

groups › flags

BitMaskName
7128 (0x80)bidir
01 (0x01)admin_scope

groups › joined

Each item is a group of the fields below.

FieldTypeDefaultAutoDescription
familyuint(8)1
encodinguint(8)0
flagsflags(8)0x4
mask_lenuint(8)32
addressipv4192.0.2.10
groups › joined › flags
BitMaskName
24 (0x04)sparse
12 (0x02)wildcard
01 (0x01)rpt

groups › pruned

Each item is a group of the fields below.

FieldTypeDefaultAutoDescription
familyuint(8)1
encodinguint(8)0
flagsflags(8)0x4
mask_lenuint(8)32
addressipv4192.0.2.10
groups › pruned › flags
BitMaskName
24 (0x04)sparse
12 (0x02)wildcard
01 (0x01)rpt

Sample templates

  • pim-join-prune — templates/protocols/mcast/pim-join-prune.wpg.yaml