< Home

efm src-mac

Function

The efm src-mac command configures an interface or bridge MAC address as the source MAC address in an OAMPDU.

The undo efm src-mac command restores the default configuration.

By default, a bridge MAC address is used as the source MAC address in an OAMPDU.

Format

efm src-mac { port | bridge }

undo efm src-mac

Parameters

Parameter Description Value
port Configures an interface MAC address as the source MAC address in an OAMPDU. -
bridge Configures a bridge MAC address as the source MAC address in an OAMPDU. -

Views

System view

Default Level

2: Configuration level

Usage Guidelines

OAMPDUs support interface or bridge MAC addresses as source MAC addresses. You can run the efm src-mac command to configure an interface or bridge MAC address as the source MAC address in an OAMPDU before enabling EFM globally.

Example

# Configure an interface MAC address as the source MAC address in an OAMPDU.

<HUAWEI> system-view
[HUAWEI] efm src-mac port
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >