Configuring a VTEP using the PIM method

Step

Command

Remarks

1. Enter system view.

system-view

N/A

2. Enter VSI view.

vsi vsi-name

N/A

3. Enter VXLAN view.

vxlan vxlan-id

N/A

4. Assign a multicast group address for flood traffic, and specify a source IP address for multicast VXLAN packets.

group group-address source source-address

By default, a VXLAN uses unicast mode for flood traffic. No multicast group address or source IP address is specified for multicast VXLAN packets.

You must assign all VTEPs in a multicast-mode VXLAN to the same multicast group.

You can specify the IP address of a loopback interface as the source IP address for multicast VXLAN packets.

For multicast traffic to be forwarded correctly, you must use the source IP address of an up VXLAN tunnel as the source IP address for multicast VXLAN packets.

5. Enter interface view.

interface interface-type interface-number

Enable PIM on the loopback interface and all transport-facing interfaces.

6. Enable PIM.

  • Enable PIM-SMpim sm

  • Enable PIM-DMpim dm

By default, PIM is disabled on an interface.