beautypg.com

H3C Technologies H3C S7500E Series Switches User Manual

Page 347

background image

12-27

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

system-view

[SwitchA] multicast ipv6 routing-enable

[SwitchA] interface vlan-interface 100

[SwitchA-Vlan-interface100] pim ipv6 sm

[SwitchA-Vlan-interface100] quit

[SwitchA] interface vlan-interface 101

[SwitchA-Vlan-interface101] pim ipv6 sm

[SwitchA-Vlan-interface101] quit

[SwitchA] interface vlan-interface 104

[SwitchA-Vlan-interface104] pim ipv6 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 ipv6

[SwitchD-pim6] c-bsr 1003::2

[SwitchD-pim6] c-rp 1003::2

[SwitchD-pim6] quit

4) Configure the IPv6 SSM group range

# Configure the IPv6 SSM group range FF3E::/64 on Switch D.

[SwitchD] acl ipv6 number 2000

[SwitchD-acl6-basic-2000] rule permit source ff3e:: 64

[SwitchD-acl6-basic-2000] quit

[SwitchD] pim ipv6

[SwitchD-pim6] ssm-policy 2000

[SwitchD-pim6] quit

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

5) Configure MLD SSM mappings

# Configure MLD SSM mappings on Switch D.

[SwitchD] mld

[SwitchD-mld] ssm-mapping ff3e:: 64 1001::1

[SwitchD-mld] ssm-mapping ff3e:: 64 3001::1

[SwitchD-mld] quit

6) Verify the configuration

Use the display mld ssm-mapping command to view MLD SSM mappings on the switch.

# Display the MLD SSM mapping information for IPv6 multicast group FF3E::101 on Switch D.

[SwitchD] display mld ssm-mapping ff3e::101

Group: FF3E::101

Source list:

1001::1

3001::1

Use the display mld ssm-mapping group command to view information of the MLD multicast groups

created based on the configured MLD SSM mappings.

# Display the IPv6 multicast group information created based on the configured MLD SSM mappings

on Switch D.

[SwitchD] display mld ssm-mapping group