Enabling/disabling multicast traffic to SPT

Switching to SPT is enabled by default.

Prerequisites

You must be in the PIM configuration context, as indicated by theswitch(config-pim)#提示IPv4或switch(config-pim6)#prompt for IPv6.

Procedure

Enable or disable the router's ability to switch multicast traffic flows to the Shortest Path Tree (SPT) using the following command.

spt-threshold

For example, the following command enables switching traffic flows to the SPT:

For IPv4 configurations:

switch(config)#router pimswitch(config-pim)#spt-threshold

For IPv6 configurations:

switch(config)#router pim6switch(config-pim6)#spt-threshold

The没有form of the command disables switching to SPT.