ip pim-sparse ip-addr
Syntax
ip pim-sparse ip-addr {<IP-ADDR-VALUE> | any}
no ip pim-sparse ip-addr
Description
Enables the router to dynamically determine the source IP address to use for PIM-SM packets sent from the interface or to use the specific IP address.
The
no
form of this command removes the currently configured value and sets to the default of
any
.
Command context
config-if
config-if-vlan
config-lag-if
Parameters
<IP-ADDR-VALUE>
Specifies an IP address as the source IP for the interface.
any
Specifies dynamically determining the source IP from the current IP address of the interface.
Authority
Administrators
Examples
Configuring and removing source IP address:
switch(config)# interface vlan40 switch(config-if-vlan)# ip pim-sparse ip-addr 40.0.0.4 switch(config-if-vlan)# no ip pim-sparse ip-addr