Configuring PIM-SM options in an interface
You can configure various PIM-SM options in an interface as described in the following steps.
Prerequisites
You mustce configuration context, as indicated by theswitch(config-if)#prompt,switch(config-if-vlan)#prompt, orswitch(config-lag-if)#prompt.
Procedure
- Configure the frequency at which the router transmits PIM hello messages on the current interface using the following command.
- Change the maximum time before the router transmits the initial PIM hello message on the interface using the following command.
- Specify the priority value to use on the interface in the Designated Router (DR) election process using the following command.
- Enable the LAN prune delay option on the interface using the following command.
- Configure the value inserted into the Override Interval field of a LAN Prune Delay option on the interface using the following command.
- Configure the propagation delay value inserted into the LAN Prune Delay option on the interface using the following command.
- Configure the source IP address to be used in PIM packets transmitted from the interface using the following command.
For IPv4 configurations:
ip pim-sparse地狱o-interval
For example, the following command sets the V4 hello interval to 60 seconds on the 1/1/4 interface:
For IPv6 configurations:
ipv6 pim6-sparse hello-interval
For example, the following command sets the V6 hello interval to 60 seconds on the 1/1/4 interface:
For IPv4 configurations:
ip pim-sparse地狱o-delay
For example, the following command sets the hello delay to 4 seconds on the VLAN40 interface:
For IPv6 configurations:
ipv6 pim6-sparse hello-delay
For example, the following command sets the hello delay to 4 seconds on the VLAN40 interface:
For IPv4 configurations:
ip pim-sparse dr-priority
For example, the following command sets the DR priority to 4444 on the VLAN40 interface:
For IPv6 configurations:
ipv6 pim6-sparse dr-priority
For example, the following command sets the DR priority to 4444 on the VLAN40 interface:
For IPv4 configurations:
ip pim-sparse lan-prune-delay
For IPv6 configurations:
ipv6 pim6-sparse lan-prune-delay
For IPv4 configurations:
ip pim-sparse override-interval
For example, the following command sets the override interval value to 4000 ms on interface VLAN40:
For IPv6 configurations:
ipv6 pim6-sparse override-interval
For example, the following command sets the override interval value to 4000 ms on interface VLAN40:
For IPv4 configurations:
ip pim-sparse propagation-delay
For example, the following command sets the propagation delay value to 400 ms on interface VLAN40:
For IPv6 configurations:
ipv6 pim6-sparse propagation-delay
For example, the following command sets the propagation delay value to 400 ms on interface VLAN40:
For IPv4 configurations:
ip pim-sparse ip-addr {
For example, the following command specifies the IPv4 address 40.0.0.4:
For IPv6 configurations:
ipv6 pim6-sparse ipv6-addr {
For example, the following command specifies the IPv6 address 2001::02: