Previous Topic

Next Topic

Book Contents

PIM Commands

This section describes the commands you use to configure Protocol Independent Multicast -Dense Mode (PIM-DM) and Protocol Independent Multicast - Sparse Mode (PIM-SM). PIM-DM and PIM-SM are multicast routing protocols that provides scalable inter-domain multicast routing across the Internet, independent of the mechanisms provided by any particular unicast routing protocol. Only one PIM mode can be operational at a time.

ip pim dense

This command administratively enables the PIM Dense mode across the router.

no ip pim dense

This command administratively disables the PIM Dense mode across the router.

ip pim sparse

This command administratively enables the PIM Sparse mode across the router.

no ip pim sparse

This command administratively disables the PIM Sparse mode across the router.

ip pim

Use this command to administratively enable PIM on the specified interface.

no ip pim

Use this command to disable PIM on the specified interface.

ip pim hello-interval

This command configures the transmission frequency of PIM hello messages the specified interface. This field has a range of 0 to 18000 seconds.

no ip pim hello-interval

This command resets the transmission frequency of hello messages between PIM enabled neighbors to the default value.

ip pim bsr-border

Use this command to prevent bootstrap router (BSR) messages from being sent or received on the specified interface.

NOTE: This command takes effect only when Sparse mode in enabled in the Global mode.

no ip pim bsr-border

Use this command to disable the specified interface from being the BSR border.

ip pim bsr-candidate

This command is used to configure the router to announce its candidacy as a bootstrap router (BSR).

NOTE: This command takes effect only when PIM-SM is configured as the PIM mode.

no ip pim bsr-candidate

Use this command to remove the configured PIM Candidate BSR router.

ip pim dr-priority

Use this command to set the priority value for which a router is elected as the designated router (DR).

NOTE: This command takes effect only when Sparse mode is enabled in the Global mode.

no ip pim dr-priority

Use this command to return the DR Priority on the specified interface to its default value.

ip pim join-prune-interval

Use this command to configure the frequency of PIM Join/Prune messages on a specified interface. The join/prune interval is specified in seconds. This parameter can be configured to a value from 0 to 18000.

NOTE: This command takes effect only when is configured as the PIM mode.

no ip pim join-prune-interval

Use this command to set the join/prune interval on the specified interface to the default value.

ip pim register-rate-limit

This command sets a limit on the maximum number of PIM register messages sent, in kilobits per second, for each (S,G) entry. The valid values are from (0 to 2000 kilobits/sec).

NOTE: This command takes effect only when PIM-SM is configured as the PIM mode.

no ip pim register-rate-limit

This command resets the register rate limit to the default value.

ip pim rp-address

This command defines the address of a PIM Rendezvous point (RP) for a specific multicast group range.

NOTE: This command takes effect only when PIM-SM is configured as the PIM mode.

no ip pim rp-address

Use this command to remove the address of the configured PIM Rendezvous point (RP) for the specified multicast group range.

ip pim rp-candidate

Use this command to configure the router to advertise itself as a PIM candidate rendezvous point (RP) to the bootstrap router (BSR) for a specific multicast group range.

NOTE: This command takes effect only when PIM-SM is configured as the PIM mode.

no ip pim rp-candidate

Use this command to remove the configured PIM candidate Rendezvous point (RP) for a specific multicast group range.

ip pim spt-threshold

Use this command to configure the Data Threshold rate for the last-hop router to switch to the shortest path on the router. The rate is specified in Kilobits per second. The possible values are 0 to 2000.

NOTE: Some software platforms do not support a non-zero data threshold rate. For these platforms, only a "Switch on First Packet" policy is supported.

NOTE: This command takes effect only when PIM-SM is configured as the PIM mode.

no ip pim spt-threshold

This command is used to set the Data Threshold rate for the RP router to the default value.

ip pim ssm

Use this command to define the Source Specific Multicast (SSM) range of IP multicast addresses on the router.

NOTE: This command takes effect only when PIM-SM is configured as the PIM mode.

no ip pim ssm

Use this command to remove the Source Specific Multicast (SSM) range of IP multicast addresses on the router.

ip pim-trapflags

This command enables the PIM trap mode for both Sparse Mode (SM) and Dense Mode. (DM).

no ip pim-trapflags

This command sets the PIM trap mode to the default.

show ip pim

This command displays the system-wide information for PIM-DM or PIM-SM.

NOTE: If the PIM mode is PIM-DM (dense), some of the fields in the following table do not display in the command output because they are applicable only to PIM-SM.

show ip pim ssm

This command displays the configured source specific IP multicast addresses. If no SSM Group range is configured, this command output is No SSM address range is configured.

show ip pim interface

This command displays the PIM interface status parameters. If no interface is specified, the command displays the status parameters of all PIM-enabled interfaces.

show ip pim neighbor

This command displays PIM neighbors discovered by PIMv2 Hello messages. If the interface number is not specified, this command displays the neighbors discovered on all the PIM-enabled interfaces.

NOTE: DR Priority is applicable only when sparse-mode configured routers are neighbors. Otherwise, NA is displayed in this field.

show ip pim bsr-router

This command displays the bootstrap router (BSR) information.

show ip pim rp-hash

This command displays the rendezvous point (RP) selected for the specified group address.

show ip pim rp mapping

Use this command to display the mapping for the PIM group to the active Rendezvous points (RP) of which the router is a aware (either configured or learned from the bootstrap router (BSR)). Use the optional parameters to limit the display to a specific RP address or to view group-to-candidate RP or group to Static RP mapping information.

See also

Multicast Commands

Multicast Commands

DVMRP Commands

Internet Group Message Protocol (IGMP) Commands

IGMP Proxy Commands