beautypg.com

Configuration prerequisites, Configuring an ipv6 multicast data filter, Configuring a hello message filter – H3C Technologies H3C S12500-X Series Switches User Manual

Page 177

background image

167

Configuration prerequisites

Before you configure common IPv6 PIM features, complete the following tasks:

Configure an IPv6 unicast routing protocol so that all devices in the domain are interoperable at the
network layer.

Configure IPv6 PIM-DM or IPv6 PIM-SSM.

Configuring an IPv6 multicast data filter

In either an IPv6 PIM-DM domain or an IPv6 PIM-SM domain, routers can check passing-by IPv6 multicast

data and determine whether to continue forwarding the IPv6 multicast data based on the configured

filtering rules. You can configure an IPv6 PIM router to act as an IPv6 multicast data filter to help

implement traffic control and control the information available to downstream receivers.
A filter can filter not only independent IPv6 multicast data but also IPv6 multicast data encapsulated in

register messages. Generally, a filter nearer to the IPv6 multicast source has a better filtering effect.
To configure an IPv6 multicast data filter:

Step

Command

Remarks

1.

Enter system view.

system-view

N/A

2.

Enter IPv6 PIM view.

ipv6 pim [ vpn-instance
vpn-instance-name ]

N/A

3.

Configure an IPv6 multicast

data filter:

source-policy acl6-number

By default, no IPv6 multicast data
filter is configured.

Configuring a hello message filter

Along with the wide applications of IPv6 PIM, the security requirement for the protocol is becoming

increasingly demanding. The establishment of correct IPv6 PIM neighboring relationship is a prerequisite

for secure application of IPv6 PIM.
To guard against IPv6 PIM message attacks, you can configure a legal source address range for hello

messages on interfaces of routers to ensure the correct IPv6 PIM neighboring relationship.
To configure a hello message filter:

Step Command

Remarks

1.

Enter system view.

system-view

N/A

2.

Enter interface view.

interface interface-type
interface-number

N/A

3.

Configure a hello message
filter.

ipv6 pim neighbor-policy
acl6-number

By default, no hello message filter
exists.
If an IPv6 PIM neighbor's hello

messages cannot pass the filter, the
neighbor is automatically removed

when its maximum number of hello

attempts is reached.