ppp keepalive strict-check magic-number

Function

The ppp keepalive strict-check magic-number command enables the PPP magic number check function, so that a device compares the magic number in a received Echo Reply packet with that learned during LCP negotiation.

The undo ppp keepalive strict-check magic-number command disables the PPP magic number check function.

By default, the PPP magic number check function is disabled.

This command is supported only on the NetEngine 8000 F1A.

Format

ppp keepalive strict-check magic-number

undo ppp keepalive strict-check magic-number

Parameters

None

Views

System view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
l2tp write

Usage Guidelines

Usage Scenario

After a PPPoE user goes online, the device periodically sends Echo Request packets to the client.

To detect whether the user stays online, run the ppp keepalive strict-check magic-number command to enable the PPP magic number check function, so that the device compares the magic number in a received Echo Reply packet with that learned during LCP negotiation. If the two magic numbers are the same, the user is considered online. Otherwise, the user is considered offline.

Precautions

In VS mode, this command is supported only by the admin VS.

Example

# Enable the PPP magic number check function.
<HUAWEI> system-view
[~HUAWEI] ppp keepalive strict-check magic-number
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >