H3C Technologies H3C SecPath F1000-E User Manual

Page 900

Advertising
background image

875

Enable IPv6 forwarding on each router and firewall, and configure the IPv6 address and prefix

length for each interface as per

Figure 399

. (Details not shown.)

Configure OSPFv3 on the routers and firewalls in the IPv6 PIM-SM domain to make sure the
network-layer on the IPv6 PIM-SM network is interoperable and the routing information among the

routers and firewalls can be dynamically updated. (Details not shown.)

2.

Enable IPv6 multicast routing, and enable IPv6 PIM-SM and MLD:
# Enable IPv6 multicast routing on SecPath A, enable IPv6 PIM-SM on each interface, and enable
MLD on GigabitEthernet 0/1, which connects SecPath A to N1.

<SecPathA> system-view

[SecPathA] multicast ipv6 routing-enable

[SecPathA] interface GigabitEthernet 0/1

[SecPathA-GigabitEthernet0/1] mld enable

[SecPathA-GigabitEthernet0/1] pim ipv6 sm

[SecPathA-GigabitEthernet0/1] quit

[SecPathA] interface GigabitEthernet 0/2

[SecPathA-GigabitEthernet0/2] pim ipv6 sm

[SecPathA-GigabitEthernet0/2] quit

[SecPathA] interface GigabitEthernet 0/3

[SecPathA-GigabitEthernet0/2] pim ipv6 sm

[SecPathA-GigabitEthernet0/2] quit

The configuration on Router A and Router B is similar to that on SecPath A. The configuration on
SecPath B and SecPath C is also similar to that on SecPath A except that it is not necessary to

enable MLD on the corresponding interfaces on these two routers.

3.

Configure C-BSRs and C-RPs:
# On SecPath B, configure the service scope of RP advertisements, specify a C-BSR and a C-RP,
and set the hash mask length to 128 and the priority of the C-BSR to 10.

<SecPathB> system-view

[SecPathB] acl ipv6 number 2005

[SecPathB-acl6-basic-2005] rule permit source ff0e::101 64

[SecPathB-acl6-basic-2005] quit

[SecPathB] pim ipv6

[SecPathB-pim6] c-bsr 4002::1 128 10

[SecPathB-pim6] c-rp 4002::1 group-policy 2005

[SecPathB-pim6] quit

# On SecPath C, configure the service scope of RP advertisements, specify a C-BSR and a C-RP,

and set the hash mask length to 128 and the priority of the C-BSR to 20.

<SecPathC> system-view

[SecPathC] acl ipv6 number 2005

[SecPathC-acl6-basic-2005] rule permit source ff0e::101 64

[SecPathC-acl6-basic-2005] quit

[SecPathC] pim ipv6

[SecPathC-pim6] c-bsr 1003::2 128 20

[SecPathC-pim6] c-rp 1003::2 group-policy 2005

[SecPathC-pim6] quit

4.

Verify the configuration:
Use the display pim ipv6 interface command to display IPv6 PIM information on each interface of
firewalls. For example:

Advertising