< Home

mac-forced-forwarding user-detect transparent

Function

The mac-forced-forwarding user-detect transparent command enables transparent transmission of ARP request packets.

The undo mac-forced-forwarding user-detect transparent command disables transparent transmission of ARP request packets.

By default, transparent transmission of ARP request packets is disabled.

Format

mac-forced-forwarding user-detect transparent

undo mac-forced-forwarding user-detect transparent

Parameters

None

Views

VLAN view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

In MFF networking, if the gateway performs accounting for users based on the online duration, the gateway must know whether a user is online at a specified moment. By default, the MFF-enabled device sends ARP reply packets in response to ARP request packets sent from the gateway. The MFF-enabled device can always send ARP reply packets as long as the MFF entry is not aged out. As a result, the gateway always considers users online even if they have gone offline.

To solve this problem, configure the MFF-enabled device to transparently transmit ARP request packets sent from the gateway to the user. Then, the MFF-enabled device does not respond to the ARP packets. If the gateway does not receive the ARP reply packet from a user, the gateway considers that the user has gone offline. The gateway can monitor the user status in a timely manner and correctly perform accounting.

Prerequisites

Global MFF has been enabled using the mac-forced-forwarding enable command.

Precautions

In other scenarios, use the default configuration.

Example

# Enable transparent transmission of ARP request packets in VLAN 10.

<HUAWEI> system-view
[HUAWEI] vlan 10
[HUAWEI-vlan10] mac-forced-forwarding enable
[HUAWEI-vlan10] mac-forced-forwarding user-detect transparent
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic