Ip pim spt-threshold – LevelOne GTL-2691 User Manual

Page 1570

Advertising
background image

C

HAPTER

50

| Multicast Routing Commands

PIM Multicast Routing

– 1570 –

ip pim spt-threshold

This command prevents the last-hop PIM router from switching to Shortest

Path Source Tree (SPT) mode. Use the no form to allow the router to

switch over to SPT mode.

S

YNTAX

ip pim spt-threshold infinity [group-prefix group-address mask]
no ip pim spt-threshold infinity

group-address - An IP multicast group address. If a group address

is not specified, the command applies to all multicast groups.
mask - Subnet mask that is used for the group address.

D

EFAULT

S

ETTING

The last-hop PIM router joins the shortest path tree immediately after the

first packet arrives from a new source

C

OMMAND

M

ODE

Global Configuration

C

OMMAND

U

SAGE

The default path for packets from a multicast source to a receiver is

through the RP. However, the path through the RP is not always the

shortest path. Therefore, the router uses the RP to forward only the

first packet from a new multicast group to its receivers. Afterwards, it

calculates the shortest path tree (SPT) directly between the receiver

and source, and then uses the SPT to send all subsequent packets from

the source to the receiver instead of using the shared tree. Note that

when the SPT threshold is not set by this command, the PIM leaf router

will join the shortest path tree immediately after receiving the first

packet from a new source.

This command forces the router to use the shared tree for all multicast

groups, or just for the specified multicast groups.

Only one entry is allowed for this command.

E

XAMPLE

This example prevents the switch from using the SPT for multicast groups

224.1.0.0~224.1.255.255.

Console(config-if)#ip pim sparse-mode

Console(config-if)#exit

Console(config)#ip multicast-routing

Console(config)#router pim

Console(config)#ip pim spt-threshold infinity group-prefix 224.1.0.0

0.0.255.255

Console#

Advertising