Multicast and Routing Guide K/KA/KB.15.15

Example 18 Configuring PIM in the Global and PIM context
In Figure 11 (page 58), 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 Figure 7 (page 39).
Figure 7 Configuring PIM-DM on a routing switch at the global level
HP Switch(config)# show run
Running configuration:
; J8697A Configuration Editor; Created on release #K.12.XX
hostname "HP Switch"
module 1 type J8702A
module 2 type J8702A
ip routing
snmp-server community "public" Unrestricted
vlan 1
.
.
.
vlan 29
.
.
.
vlan 25
name "VLAN25"
untagged A20-A24
ip address 10.38.10.1 255.255.255.0
exit
ip multicast-routing
router rip
exit
router pim
state-refresh 45
trap hardware-mrt-full
exit
HP Switch(config)# ip routing
HP Switch(config)# ip multicast-routing
HP Switch(config)# router rip
HP Switch(rip)# exit
HP Switch(config)# router pim
HP Switch(pim)# state-refresh 45
HP Switch(pim)# trap hardware-mrt-full
HP Switch(pim)# write mem
HP Switch(pim)# exit
Enables IP routing.
Enables multicast routing.
Enables RIP.
Exits from the RIP context.
Enables PIM and enters the PIM context.
Configures a non-default State Refresh
timer.
Sets an SNMP trap to notify an SNMP
management station if the hardware
Using show run displays the configuration
changes resulting from the above commands.
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 Table 5
(page 52).
PIM VLAN (interface) configuration context
Enabling multicast routing on the VLAN interface to which the CLI is currently set
Syntax:
[no]ip pim-dense
PIM VLAN (interface) configuration context 39