promode (Management interface view)

Function

The promode on command enables the promiscuous mode.

The promode off command disables the promiscuous mode.

The undo promode command disables the promiscuous mode.

By default, the promiscuous mode is disabled.

Format

promode on

promode off

undo promode

Parameters

Parameter Description Value
off

Disables the promiscuous mode.

-

on

Enables the promiscuous mode.

-

Views

Management interface view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
device-mgr write

Usage Guidelines

Usage Scenario

The command is applicable to only the Ethernet electrical interface on the main control board.

In the promiscuous mode, the data frames received from the physical layers are received.

If the promiscuous mode is disabled, when receiving the data frames, the Ethernet MACmodule filters them based on the MAC destination addresses. Only the packets with the destination address as the local host MAC or the multicast MAC or the broadcast MAC can be received.

Example

# Enable the promiscuous mode on the GigabitEthernetGigabitEthernet0/0/0 interface.
<HUAWEI> system-view
[~HUAWEI] interface GigabitEthernetGigabitEthernet0/0/0
[~HUAWEI-GigabitEthernetGigabitEthernet0/0/0] promode on
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >