< Home

mac-forced-forwarding network-port

Function

The mac-forced-forwarding network-port command configures an interface as a network interface.

The undo mac-forced-forwarding network-port command restores the interface to be a user interface.

By default, an interface is a user interface.

Format

mac-forced-forwarding network-port

undo mac-forced-forwarding network-port

Parameters

None

Views

Ethernet interface view, GE interface view, XGE interface view, 25GE interface view, MultiGE interface view, 40GE interface view, 100GE interface view, Eth-Trunk interface view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

To make MFF in a VLAN effective, ensure that at least one network interface belongs to the VLAN. Therefore, configure network interfaces for MFF.

The interface that is connected to the gateway and other network devices is configured as a network interface.

Precautions

MFF has been enabled in the system view using the mac-forced-forwarding enable command. Regardless of whether MFF is enabled in the VLAN that an interface belongs to, the interface can be configured as a network interface.

Multiple interfaces can be configured as network interfaces.

Example

# Configure GE0/0/1 as a network interface.

<HUAWEI> system-view
[HUAWEI] interface gigabitethernet 0/0/1
[HUAWEI-GigabitEthernet0/0/1] mac-forced-forwarding network-port
Info: This operation may take a few seconds. Please wait for a moment.....
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >