Configuring the hop limit of icmpv6 reply packets, Configuring nd snooping – H3C Technologies H3C S3100 Series Switches User Manual

Page 921

Advertising
background image

1-18

Configuring the Maximum Number of IPv6 ICMP Error Packets Sent within a
Specified Time

If too many IPv6 ICMP error packets are sent within a short time in a network, network congestion may

occur. To avoid network congestion, you can control the maximum number of IPv6 ICMP error packets

sent within a specified time. Currently, the token bucket algorithm is adopted.

You can set the capacity of a token bucket, namely, the number of tokens in the bucket. In addition, you

can set the update period of the token bucket, namely, the interval for updating the number of tokens in

the token bucket to the configured capacity. One token allows one IPv6 ICMP error packet to be sent.

Each time an IPv6 ICMP error packet is sent, the number of tokens in a token bucket decreases by 1. If

the number of the IPv6 ICMP error packets that are continuously sent out reaches the capacity of the

token bucket, the subsequent IPv6 ICMP error packets cannot be sent out until new tokens are put into

the token bucket based on the specified update frequency.

Table 1-13 Configure the maximum number of IPv6 ICMP error packets sent within a specified time

To do…

Use the command…

Remarks

Enter system view

system-view

Configure the maximum
number of IPv6 ICMP error
packets sent within a specified
time

ipv6 icmp-error { bucket
bucket-size | ratelimit
interval }*

Optional

By default, the capacity of a token bucket is
10 and the update period to 100
milliseconds. That is, at most 10 IPv6 ICMP
error packets can be sent within an update
period.

Configuring the Hop Limit of ICMPv6 Reply Packets

When sending an ICMPv6 reply packet, the device will fill a configurable value in the Hop Limit field in

the ICMPv6 reply packet header.

Table 1-14 Configure the hop limit of ICMPv6 reply packets

To do…

Use the command…

Remarks

Enter system view

system-view

Configure the hop limit of ICMPv6
reply packets

ipv6 nd hop-limit value

Optional

64 by default.

Configuring ND Snooping

Among the S3100 series Ethernet switches, only the S3100-EI series support ND Snooping.

Advertising