< Home

mac-address (asset view)

Function

The mac-address command sets the MAC address of an asset.

The undo mac-address command deletes the MAC address of an asset.

Format

mac-address mac-address

undo mac-address

Parameters

Parameter Description Value
mac-address Specifies the MAC address of the asset.

The MAC address is in the H-H-H format. Each H is a four-bit hexadecimal number, such as 00e0 or fc01.

Views

Asset view

Default Level

2: Configuration level

Usage Guidelines

None

Example

# Set the MAC address of the asset.

<sysname> system-view
[sysname] ssa
[sysname-ssa] asset name J0001
[sysname-ssa-asset-J0001] mac-address 00e0-fc00-0013
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >