< Home

url-parameter mac-address format

Function

The url-parameter mac-address format command configures the MAC address format in URL.

The undo url-parameter mac-address format command restores the default MAC address format in URL.

By default, the MAC address format in URL is XXXXXXXXXXXX.

Format

url-parameter mac-address format delimiter delimiter { normal | compact }

undo url-parameter mac-address format

Parameters

Parameter

Description

Value

delimiter delimiter

Specifies the delimiter in MAC address.

The value is one case-sensitive character without spaces.

normal

Sets the MAC address format to XX-XX-XX-XX-XX-XX.

-

compact

Sets the MAC address format to XXXX-XXXX-XXXX.

-

Views

URL template view

Default Level

2: Configuration level

Usage Guidelines

Portal servers or websites may require different MAC address formats. You can run the url-parameter mac-address format command to set MAC address formats in URL to meet the requirements of Portal servers or website.

Example

# Set the delimiter to - and format to XXXX-XXXX-XXXX.

<HUAWEI> system-view
[HUAWEI] url-template name huawei
[HUAWEI-url-template-huawei] url-parameter mac-address format delimiter - compact
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >