multicast ipv6 minimum-ttl

Function

The multicast ipv6 minimum-ttl command sets the minimum TTL value of IPv6 multicast packets that an interface is allowed to send.

The undo multicast ipv6 minimum-ttl command restores the default value.

By default, the minimum TTL value of IPv6 multicast packets that an interface is allowed to send is 1.

Format

multicast ipv6 minimum-ttl ttl-value

undo multicast ipv6 minimum-ttl

Parameters

Parameter Description Value
ttl-value

Specifies the minimum TTL value of IPv6 multicast packets that an interface is allowed to send.

The value is an integer ranging from 1 to 255.

Views

100ge sub-interface view, 100GE interface view, 10GE sub-interface view, 10GE interface view, 200GE sub-interface view, 25GE sub-interface view, 25GE interface view, 400GE sub-interface view, 400GE interface view, 40GE sub-interface view, 40GE interface view, 50GE sub-interface view, 50GE interface view, Eth-Trunk sub-interface view, Eth-Trunk interface view, FlexE interface view, GE optical interface view, GE sub-interface view, GE interface view, GE electrical interface view, Global VE sub-interface view, Loopback interface view, VE sub-interface view, VLANIF interface view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
mcast-base write

Usage Guidelines

Usage Scenario

By setting the minimum TTL value of IPv6 multicast packets on an interface, you can limit the transmission distance of IPv6 multicast packets. If you do not want an interface to forward IPv6 multicast packets, you can change the minimum TTL value set on the interface to a larger value.

An interface will compare the TTL value of an IPv6 multicast packet (either the packet received and to be forwarded by the interface or the packet constructed and to be sent by the interface) with the minimum TTL value configured on it and determine whether to send or forward the packet out.

  • If the TTL value of the packet (that has already reduced by 1 on the interface) is greater than or equal to the minimum TTL value configured on the interface, the interface forwards the packet out.
  • If the TTL value of the packet is smaller than the minimum TTL value configured on the interface, the interface discards the packet.

Prerequisites

The multicast ipv6 routing-enable command is run in the public network instance view.

Configuration Impact

If the multicast ipv6 minimum-ttl command is run several times, the latest configuration overrides the previous one.

Precautions

If the minimum TTL value is set to 255 on an interface, the interface does not forward any IPv6 multicast packets.

Example

# Set the minimum TTL value of IPv6 multicast packets that GE 0/1/0 is allowed to send to 8.
<HUAWEI> system-view
[~HUAWEI] multicast ipv6 routing-enable
[*HUAWEI] interface GigabitEthernet 0/1/0
[*HUAWEI-GigabitEthernet0/1/0] ipv6 enable
[*HUAWEI-GigabitEthernet0/1/0] multicast ipv6 minimum-ttl 8
Copyright ? Huawei Technologies Co., Ltd.
Copyright ? Huawei Technologies Co., Ltd.
< Previous topic Next topic >