3 pim-dm configuration examples – PLANET XGS3-24040 User Manual

Page 353

Advertising
background image

Chapter 43 Ipv4 Multicast Protocol

43-7

4. Disable PIM-DM protocol

Command

Explanation

Interface Configuration Mode

no ip pim dense-mode

To disable the PIM-DM protocol for the interface.

Global Configuration Mode

no ip pim multicast-routing

To disable PIM-DM globally.

43.2.3 PIM-DM Configuration Examples

As shown in the following figure, add the Ethernet interfaces of Switch A and Switch B to corresponding vlan,

and enable PIM-DM Protocol on each vlan interface.

Figure 1-1 PIM-DM Typical Environment

The configuration procedure for SwitchA and SwitchB is as follows:

(1) Configure SwitchA:

Switch(config)#ip pim multicast-routing

Switch(config)#interface vlan 1

Switch(Config-if-Vlan1)# ip address 10.1.1.1 255.255.255.0

Switch(Config-if-Vlan1)# ip pim dense-mode

Switch(Config-if-Vlan1)#exit

Switch(config)#interface vlan2

Switch(Config-if-Vlan2)# ip address 12.1.1.1 255.255.255.0

Switch(Config-if-Vlan2)# ip pim dense-mode


(2) Configure SwitchB:

Switch(config)#ip pim multicast-routing

Switch(config)#interface vlan 1

Switch(Config-if-Vlan1)# ip address 12.1.1.2 255.255.255.0

Switch(Config-if-Vlan1)# ip pim dense-mode

Switch(Config-if-Vlan1)#exit

Switch(config)#interface vlan 2

Switch(Config-if-Vlan2)# ip address 20.1.1.1 255.255.255.0

Switch(Config-if-Vlan2)# ip pim dense-mode

SwitchA

SwitchB

Vlan 2

Vlan 1

Vlan 2

Vlan 1

Advertising