Secure MAC addresses are those that are automatically learned by the port in autoLearn mode or
configured by the port-security mac-address security command.
Examples
# Display information about all secure MAC addresses.
<Sysname> display port-security mac-address security
MAC ADDR
TIME
0002-0002-0002 1
000d-88f8-0577
---
2 mac address(es) found
# Display only the count of the secure MAC addresses.
<Sysname> display port-security mac-address security count
---
2 mac address(es) found
# Display information about secure MAC addresses in VLAN 1.
<Sysname> display port-security mac-address security vlan 1
MAC ADDR
TIME
0002-0002-0002 1
000d-88f8-0577
---
2 mac address(es) found
# Display information about secure MAC addresses on port Ten-GigabitEthernet 1/1/6.
<Sysname> display port-security mac-address security interface ten-gigabitethernet 1/1/6
MAC ADDR
TIME
000d-88f8-0577 1
---
1 mac address(es) found
# Display information about secure MAC addresses of port Ten-GigabitEthernet 1/1/6 in VLAN 1.
<Sysname> display port-security mac-address security interface ten-gigabitethernet 1/1/6
vlan 1
MAC ADDR
TIME
000d-88f8-0577 1
---
1 mac address(es) found
Table 14 Command output
Field
MAC ADDR
VLAN ID
STATE
VLAN ID
STATE
Security
1
Security
---
VLAN ID
STATE
Security
1
Security
---
VLAN ID
STATE
Security
---
VLAN ID
STATE
Security
---
Description
Secure MAC address.
ID of the VLAN to which the port belongs.
Type of the MAC address added. Security means it is a secure MAC
address.
PORT INDEX
Ten-GigabitEthernet 1/1/6
Ten-GigabitEthernet 1/1/6
PORT INDEX
Ten-GigabitEthernet 1/1/6
Ten-GigabitEthernet 1/1/6
PORT INDEX
Ten-GigabitEthernet 1/1/6
PORT INDEX
Ten-GigabitEthernet 1/1/6
1 13
AGING
NOAGED
28
AGING
NOAGED
28
AGING
NOAGED
AGING
NOAGED