The pim require-genid command configures a PIM interface to reject the Hello messages without the Generation ID.
The undo pim require-genid command restores the default configuration.
By default, a PIM interface receives the Hello messages without the Generation ID.
GE interface view, XGE interface view, MultiGE interface view, 25GE interface view, 40GE interface view, 100GE interface view, Eth-Trunk interface view, GE sub-interface view, XGE sub-interface view, MultiGE sub-interface view, 25GE sub-interface view, 40GE sub-interface view, 100GE sub-interface view, Eth-Trunk sub-interface view, VLANIF interface view, loopback interface view, tunnel interface view
Usage Scenario
After an interface on the switch is enabled with PIM, the switch generates a random number as the Generation ID of the Hello message. If the status of the switch is updated, the switch generates a new Generation ID. When the switch finds that the Hello message received from a PIM neighbor contains a different Generation ID, it considers that the status of the PIM neighbor has changed.
To ensure that PIM neighbors work properly, run the pim require-genid command to configure a PIM interface to reject the Hello messages without the Generation ID.
Prerequisites
IP multicast routing has been enabled using the multicast routing-enable command.
Precautions
This command is valid for both PIM-DM and PIM-SM.
<HUAWEI> system-view [HUAWEI] multicast routing-enable [HUAWEI] interface vlanif 100 [HUAWEI-Vlanif100] pim require-genid
<HUAWEI> system-view [HUAWEI] multicast routing-enable [HUAWEI] interface gigabitethernet 0/0/1 [HUAWEI-GigabitEthernet0/0/1] undo portswitch [HUAWEI-GigabitEthernet0/0/1] pim require-genid