Global and PIM configuration contexts


[NOTE: ]

NOTE: PIM-DM operation requires a routing protocol enabled on the routing switch. You can use RIP, OSPF, and/or static routing. The examples in this section use RIP.


Enabling or disabling IP multicast routing

Syntax:

[no] ip multicast-routing

Enables or disables IP multicast routing on the routing switch. IP routing must be enabled.

Default: Disabled

Enabling or disabling PIM at the global level; placing the CLI in the PIM context

Syntax:

[no] router pim

Enables or disables PIM at the global level and places the CLI in the PIM context. IP routing must first be enabled.

Default: Disabled.

Setting the interval in seconds between successive state-refresh messages originated by the routing switch

Syntax:

router pim state-refresh [10-300]

Executed in the PIM context, this command sets the interval in seconds between successive state-refresh messages originated by the routing switch. Only the routing switch connected directly to the unicast source initiates state-refresh packets. All other PIM routers in the network only propagate these state-refresh packets.

Default: 60 seconds

Enabling and disabling PIM SNMP traps

Syntax:

[no]router pim trap [[all] | neighbor-loss | hardware-mrt-full | software-mrt-full ]

Executed in the PIM context, this command enables and disables these PIM SNMP traps:

[all]



Enable/disable all PIM notification traps.

[neighbor-loss]



Enable/disable the notification trap sent when the timer for a multicast router neighbor expires and the switch has no other multicast router neighbors on the same VLAN with a lower IP address.

Default: Disabled

[hardware-mrt-full]



Enable/disable notification trap when the hardwareMRT is full (2048 active flows.) In this state, any additional flows are handled by the software MRT, which increases processing time for the affected flows.

Default: Disabled

[software-mrt-full]



Enable/disable notification trap when the routing switch'ssoftware MRT is full (routing resources for active flows are exhausted.)

Default: Disabled


[NOTE: ]

NOTE: In this state, the routing switch does not accept any additional flows.


Configuring PIM in the Global and PIM context

In Bandwidth conservation in switches with PIM-DM state-refresh, the "#1" routing switch is directly connected to the multicast sources for the network. For this example, suppose that you are choosing the following:

  • Reduce the state-refresh time from the default 60 seconds to 30 seconds. (The routing switch transmits state-refresh packets only if it is directly connected to the multicast source.)

  • Configure an SNMP trap to notify your network management station if the routing switch's hardware multicast routing table becomes filled to the maximum of 2048 active flows.

To configure global-level PIM operation for the "8212zl #1" routing switch, you would use the commands shown in Configuring PIM-DM on a routing switch at the global level.

Configuring PIM-DM on a routing switch at the global level

Configuring PIM-DM on a routing switch at the global level

After configuring the global-level PIM operation on a routing switch, go to the device's VLAN context level for each VLAN you want to include in your multicast routing domain. See PIM interface configuration settings.