< Home

ttl-check (MLD view)

Function

The ttl-check command enables the device to check the TTL values in received MLD Report, Done, and Query messages on all interfaces.

The undo ttl-check command restores the default configuration.

By default, the device does not check the TTL values in received MLD Report, Done, and Query messages.

Format

ttl-check

undo ttl-check

Parameters

None

Views

MLD view

Default Level

2: Configuration level

Usage Guidelines

To protect a device against MLD message attacks, run the ttl-check command to enable the device to check the TTL values in received MLD Report, Done, and Query messages on all interfaces and discard such a message if its TTL value is not 1.

Example

# Enable the device to check the TTL values in received MLD Report, Done, and Query messages on all interfaces.

<HUAWEI> system-view
[HUAWEI] multicast ipv6 routing-enable
[HUAWEI] mld
[HUAWEI-mld] ttl-check
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic