Enabling or disabling PIM-SM per-VLAN

Syntax:


ip pim-sparse [ip-addr [any | ip-addr ]] 
 vlan [vid] ip pim-sparse [ip-addr [any | ip-addr ]] 
 no [vlan [ vid ]] ip pim-sparse

This command enables or disables PIM-SM in the designated VLAN interface and sets the source (and designated router) IP address for PIM-SM packets sent from the interface. Executing the command without specifying an IP address option causes the router to default to the any option, below. (Default: PIM-SM disabled)

ip-addr any

Enables the router to dynamically determine from the VLAN's current IP configuration the source IP address to use for PIM-SM packets sent from the VLAN interface.

NOTE:

Using this command after a source IP address has already been set does not change that setting.

ip-addr [ip-addr]

Specifies one of the VLAN's currently existing IP addresses for use as the source IP address for PIM-SM packets sent from the VLAN interface.

Note that ip-addr must first be statically configured on the VLAN.

NOTE:

To change an existing source IP address setting, you must use this command option.