display mac-address sec-config [ vlan vlan-id | interface-type interface-number ] * [ verbose ]
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. |
- |
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.
# 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
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. |