H3C Technologies H3C S10500 Series Switches User Manual

Page 136

Advertising
background image

121

[SwitchD-Vlan-interface103] quit

[SwitchD] interface vlan-interface 104

[SwitchD-Vlan-interface104] pim sm

[SwitchD-Vlan-interface104] quit

# Enable IP multicast routing on Switch A, and enable PIM-SM on each interface.

<SwitchA> system-view

[SwitchA] multicast routing-enable

[SwitchA] interface vlan-interface 100

[SwitchA-Vlan-interface100] pim sm

[SwitchA-Vlan-interface100] quit

[SwitchA] interface vlan-interface 101

[SwitchA-Vlan-interface101] pim sm

[SwitchA-Vlan-interface101] quit

[SwitchA] interface vlan-interface 104

[SwitchA-Vlan-interface104] pim sm

[SwitchA-Vlan-interface104] quit

The configuration on Switch B and Switch C is similar to that on Switch A.

3.

Configure a C-BSR and a C-RP

# Configure C-BSR and C-RP interfaces on Switch D.

[SwitchD] pim

[SwitchD-pim] c-bsr vlan-interface 104

[SwitchD-pim] c-rp vlan-interface 104

[SwitchD-pim] quit

4.

Configure the SSM group range

# Configure the SSM group range 232.1.1.0/24 on Switch D.

[SwitchD] acl number 2000

[SwitchD-acl-basic-2000] rule permit source 232.1.1.0 0.0.0.255

[SwitchD-acl-basic-2000] quit

[SwitchD] pim

[SwitchD-pim] ssm-policy 2000

[SwitchD-pim] quit

The configuration on Switch A, Switch B and Switch C is similar to that on Switch D.

5.

Configure IGMP SSM mappings

# Configure IGMP SSM mappings on Switch D.

[SwitchD] igmp

[SwitchD-igmp] ssm-mapping 232.1.1.0 24 133.133.1.1

[SwitchD-igmp] ssm-mapping 232.1.1.0 24 133.133.3.1

[SwitchD-igmp] quit

6.

Verify the configuration

Use the display igmp ssm-mapping command to view the IGMP SSM mappings on the switch.
# Display the IGMP SSM mapping information for multicast group 232.1.1.1 on Switch D.

[SwitchD] display igmp ssm-mapping 232.1.1.1

Vpn-Instance: public net

Group: 232.1.1.1

Source list:

Advertising