< Home

display mac-address sec-config

Function

The display mac-address sec-config command displays secure static MAC address entries.

Format

display mac-address sec-config [ vlan vlan-id | interface-type interface-number ] * [ verbose ]

Parameters

Parameter

Description

Value

vlan vlan-id

Displays the secure static MAC address entries in a specified VLAN.

The value is an integer that ranges from 1 to 4094.

interface-type interface-number

Displays the secure static MAC address entries on a specified interface.

-

verbose

Displays detailed information about secure static MAC address entries.

-

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

After secure static MAC address entries are configured by the command port-security mac-address, you can run the display mac-address sec-config command to check these entries.

Example

# Display all secure static MAC address entries.

<HUAWEI> display mac-address sec-config
------------------------------------------------------------------------------- 
MAC Address    VLAN/VSI/BD                       Learned-From        Type
-------------------------------------------------------------------------------
0022-0022-0033 100/-/-                           GE0/0/1             sec-config 

-------------------------------------------------------------------------------
Total items displayed = 1 
Table 1 Description of the display mac-address sec-config command output

Item

Description

MAC Address

Destination MAC address in a secure static MAC address entry.

VLAN/VSI/BD

ID of the VLAN, name of the VSI, or the ID of the BD that a MAC address belongs to.

Learned-From

Interface that learns a MAC address.

Type

Type of a MAC address entry. The value is sec-config, which indicates a secure static MAC address.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >