User's Manual

532
75.2 Configuring PIM-SM
75.2.1 Enabling Global Multicast
Command:
ip multicast-routing
no ip multicast-routing
If you want to use the protocol pim-sm, run the command in the configuration mode:
switch_config#ip multicast-routing
Show running as follows:
!
ip multicast-routing
!
If you don’t want to use the protocol pim-sm, run the command in the configuration mode:
switch_config #no ip multicast-routing
75.2.2 Starting up PIM-SM
Run the following command to run PIM-SM on the interface to activate the multicast function in sparse mode:
Command Purpose
ip pim-sm
Enters the interface where PIM-SM needs to
be run and activates the PIM-SM multicast
routing process in interface configuration
mode.
75.2.3 Configuring Neighbor Filter List
pim-sm needs to maintain neighbor relation in work. pim-sm finishes negotiation of the detection and
related parameters through Hello information. Pim-sm forwards pim-sm hello packet by multicast
periodically to all pim routers (224.0.0.13) and set up the neighbor relation by receiving hello information
and agreed parameters. If one router receives Hello information before forwarding Hello information, the
router will deem existence of the neighbor, otherwise, it will deem no existence of the neighbor.
Configure the neighbor filter list on the corresponding interface and check and filter the neighbor for
the hello packet. If the neighbor filter list is deleted or the forbidden neighbor is relived just now, the
neighbor information can only be acquired when the next hello period is appeared.
Steps for configuring neighbor access list:
1. Configure main ip address on the interface;
2. Port protocol up
3. Configure pim-sm on the interface;
4. Configure pim-sm standard access list on the interface and filter the neighbor.
Configuration instances:
switch_config#interface v9
switch_config_v9#ip address 172.20.21.172 255.255.255.0
switch_config_v9#ip pim-sm