3 pim-dm configuration examples, 3 pim-dm configuration examples -7 – PLANET XGS3-24042 User Manual

Page 408

Advertising
background image

48-7

48.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 48-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

At the same time, you should pay attention to the configuration of Unicast Routing Protocol, assure that each

device can communicate with each other in the network layer, and be able to implement dynamic routing

update in virtue of Unicast Routing Protocol.

SwitchA

SwitchB

Vlan 2

Vlan 1

Vlan 2

Vlan 1

Advertising
This manual is related to the following products: