R3303-HP HSR6800 Routers Security Command Reference

186
MAC ADDR VLAN ID STATE PORT INDEX AGING TIME
0002-0002-0002 1 Security GigabitEthernet3/0/1 NOAGED
000d-88f8-0577 1 Security GigabitEthernet3/0/1 NOAGED
--- 2 mac address(es) found ---
# Display only the count of the secure MAC addresses.
<Sysname> display port-security mac-address security count
This operation may take a few minutes, please wait......
--- 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 VLAN ID STATE PORT INDEX AGING TIME
0002-0002-0002 1 Security GigabitEthernet3/0/1 NOAGED
000d-88f8-0577 1 Security GigabitEthernet3/0/1 NOAGED
--- 2 mac address(es) found ---
# Display information about secure MAC addresses on port GigabitEthernet 3/0/1.
<Sysname> display port-security mac-address security interface gigabitethernet 3/0/1
MAC ADDR VLAN ID STATE PORT INDEX AGING TIME
000d-88f8-0577 1 Security GigabitEthernet3/0/1 NOAGED
--- 1 mac address(es) found ---
# Display information about secure MAC addresses of port GigabitEthernet 3/0/1 in VLAN 1.
<Sysname> display port-security mac-address security interface gigabitethernet 3/0/1 vlan
1
MAC ADDR VLAN ID STATE PORT INDEX AGING TIME
000d-88f8-0577 1 Security GigabitEthernet3/0/1 NOAGED
--- 1 mac address(es) found ---
Table 22 Command output
Field Descri
p
tion
MAC ADDR Secure MAC address.
VLAN ID ID of the VLAN to which the port belongs.
STATE
Type of the MAC address added. "Security" means it is a secure MAC
address.
PORT INDEX Port to which the secure MAC address belongs.
AGING TIME
Period of time before the secure MAC address ages out. "NOAGED"
is displayed for secure MAC addresses.
2 mac address(es) found Number of secure MAC addresses stored.
Related commands
port-security mac-address security