The peer minimum-ttl command sets a TTL threshold for the multicast data packet that can be encapsulated in an SA message and forwarded to a specified MSDP peer.
The undo peer minimum-ttl command restores the default value.
By default, the TTL threshold is 0.
Parameter | Description | Value |
---|---|---|
peer-address | Specifies the address of an MSDP peer. | The address is in dotted decimal notation. |
ttl | Specifies the TTL threshold. | The value is an integer that ranges from 0 to 255. |
Usage Scenario
MSDP peers transmit SA messages to each other over an established TCP connection. The peer minimum-ttl command limits the forwarding of SA messages with multicast data packets encapsulated.
After the TTL threshold is set for a specified peer, the switch checks the TTL values of multicast data packets before encapsulating them in SA messages. Only the multicast data packets with a TTL value greater than the threshold are encapsulated in an SA message and sent to the peer.
Prerequisites
MSDP peers have been configured using the peer connect-interface (MSDP) command.
# Set the TTL threshold to 10. Only the multicast data packet with the TTL value being greater than 10 is encapsulated in the SA message and forwarded to MSDP peer 10.10.10.1.
<HUAWEI> system-view [HUAWEI] multicast routing-enable [HUAWEI] msdp [HUAWEI-msdp] peer 10.10.10.1 connect-interface vlanif 100 [HUAWEI-msdp] peer 10.10.10.1 minimum-ttl 10