Configuration commands

Use these M4500 CLI commands to enable IPv4 PIM-SM and configure BSR and RP candidates, static RPs, SSM, SPT threshold, DR priority, and timers.

ip pim bsr-candidate

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

To remove a configured candidate bootstrap router (C-BSR), use the no form of this command.

Default Disable
Format

ip pim bsr-candidate interface {<slot/port> | loopback <loopback-id> | vlan <vlan-id>} <hash-mask-length> [<priority>] [interval <1-16383>]

no ip pim bsr-candidate interface {<slot/port> | loopback <loopback-id> | vlan <vlan-id>}

Mode Global Config
Fields Definition
<slot/port> Valid slot and port number separated by forward slashes.
<vlan-id> VLAN ID. The range of VLAN ID is 1 to 4093.
<loopback-id> The loopback interface. The range is 0 to 63.
<hash-mask-length> BSR hash-mask length. The range of the mask is 0 to 32.
<priority> BSR priority. The range of the priority is 0 to 255.
<interval> BSR candidate advertisement interval. The range of the priority is 1 to 16383.
Note: This command takes effect only when PIM-SM is configured as the PIM mode.

ip pim rp-address

This command is used to statically configure the RP address for one or more multicast groups. The parameter rp-address is the IP address of the RP. The parameter groupaddress is the group address supported by the RP. The parameter groupmask is the group mask for the group address. The optional keyword override indicates that if there is a conflict, the RP configured with this command prevails over the RP learned by BSR.

To remove a configured RP address for one or more multicast groups, use the no form of this command.

Default 0
Format

ip pim rp-address <rp-address> <group-address> <group-mask> [override]

no ip pim rp-address <rp-address> <group-address> <group-mask>

Mode Global Config
Fields Definition
<rp-address> Specifies the rp address.
<group-address> Specifies the group address.
<group-mask> Specifies the group mask.
[overide] Indicates that if there is a conflict, the RP configured with this command prevails over the RP learned by BSR.
Note: This command takes effect only when PIM-SM is configured as the PIM mode.

ip pim rp-candidate

This command is used to configure the router to advertise itself as a PIM candidate rendezvous point (RP) to the bootstrap router (BSR).

To disable the router to advertise itself as a PIM candidate rendezvous point (RP) to the bootstrap router (BSR), use the no form of this command.

Default None
Format

ip pim rp-candidate interface {<slot/port> | loopback <loopback-id> | vlan <vlan-id>} <group-address> <group-mask> [interval <1-16383>]

no ip pim rp-candidate interface {<slot/port> | loopback <loopback-id> | vlan <vlan-id>} <group-address> <group-mask>

Mode Global Config
Fields Definition
<slot/port> Valid slot and port number separated by forward slashes.
<vlan-id> VLAN ID. The range of VLAN ID is 1 to 4093.
<loopback-id> The loopback interface. The range is 0 to 63.
<group-address> Specifies the group address.
<group-mask> Specifies the group mask.
[interval] Indicates the RP candidate advertisement interval. The range is from 1 to 16383. The default value is 60 seconds.
Note: This command takes effect only when PIM-SM is configured as the PIM mode.

ip pim sparse

This command enables the administrative mode of PIM-SM in the router.

To set the administrative mode of IPv4 PIM-SM in the router to inactive, use the no form of this command.

Default Disable
Format

ip pim sparse

no ip pim sparse

Mode Global Config

ip pim-spt-threshold

Use this command to configure the Data Threshold rate for the last-hop router to switch to the shortest path. The possible values are 0 or Infinity.

To reset the Data Threshold rate for the last-hop router to switch to the shortest path to the default value, use the no form of this command.

Default 0
Format

ip pim spt-threshold {0 | Infinity}

no ip pim spt-threshold

Mode Global Config
Fields Definition
<0> This is 0 kilobits per seconds.
<Infinity> This command will disable the function.
Note: This command takes effect only when PIM-SM is configured as the PIM mode.

ip pim ssm

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

To disable the specified Source Specific Multicast (SSM) range, use the no form of this command.

Default Disable
Format

ip pim ssm {default | <group-address> <group-mask>}

no ip pim ssm {default | <group-address> <group-mask>}

Mode Global Config
Fields Definition
Default Defines the SSM range access list 232/8.
<group-address> Specifies the group address.
<group-mask> Specifies the group-mask.

ip pim

This command administratively enables PIM on an interface or range of interfaces.

To set the administrative mode of PIM on an interface to disabled, use the no form of this command.

Default Disable
Format

ip pim

no ip pim

Mode Interface Config

ip pim bsr-border

Use this command to prevent bootstrap router (BSR) messages from being sent or received through an interface or range of interfaces.

To disable the interface from being the BSR border, use the no form of this command.

Default Disable
Format

ip pim bsr-border

no ip pim bsr-border

Mode Interface Config
Note: This command takes effect only when PIM-SM is configured as the PIM mode.

ip pim dr-priority

Use this command to set the priority value for which a router is elected as the designated router (DR). This command can be configured on a single interface or a range of interfaces.

To reset the priority value to the default value for which a router is elected as the designated router (DR), use the no form of this command.

Default 1
Format

ip pim dr-priority <0-4294967294>

no ip pim dr-priority

Mode Interface Config
Fields Definition
<0-4294967294> The range for dr-priority is from 0 to 4294967294.
Note: This command takes effect only when PIM-SM is configured as the PIM mode.

ip pim hello-interval

Use this command to configure the PIM hello interval for the specified router interface or range of interfaces.

To reset the PIM hello interval to the default value, use the no form of this command.

Default 30
Format

ip pim hello-interval <0–18000>

no ip pim hello-interval

Mode Interface Config
Fields Definition
<0-18000> The range for hello-interval is from 0 to 18000 seconds.

ip pim join-prune-interval

This command is used to configure the join/prune interval for the PIM-SM router on an interface or range of interfaces. The join/prune interval is specified in seconds.

To reset the PIM join/prune interval to the default value, use the no form of this command.

Default 60
Format

ip pim join-prune-interval <0-18000>

no ip pim join-prune-interval

Mode Interface Config
Fields Definition
<0-18000> The range for the join/prune interval is from 0 to 18000 seconds.
Note: This command takes effect only when PIM-SM is configured as the PIM mode.