mac output-format

Specify the format for displaying MAC addresses.

Syntax

[no] mac output-format <template>

Syntax Description

Keyword
Description

no

(Optional) Use the default MAC address output format.

template

A string defining the MAC address output format.

Defaults

The default MAC address output format is "XX:XX:XX:XX:XX:XX".

Usage Guidelines

This command is used to specify the output format for MAC addresses as used in the CLI and in system logs.

The format must contain 12 upper or lower case X’s as placeholders for each of the 12 hexadecimal digits in a MAC address. The case of a placeholder indicates the case of the corresponding output MAC character. All other characters in the format string are printed literally.

Examples

mac output-format "xxxx.xxxx.xxxx"

Last updated