HP 5120 SI series Command Reference Manual page 178

Hide thumbs Also See for 5120 SI series:
Table of Contents

Advertisement

begin: Displays the first line that matches the specified regular expression and all lines that follow.
exclude: Displays all lines that do not match the specified regular expression.
include: Displays all lines that match the specified regular expression.
regular-expression: Specifies a regular expression, which is a case sensitive string of 1 to 256 characters.
Description
Use the display port-security mac-address security command to display information about secure MAC
addresses. Secure MAC addresses are automatically learned on a port in autoLearn mode or manually
configured with the port-security mac-address security command.
With no keyword or argument specified, the command displays information about all secure MAC
addresses.
Related commands: port-security mac-address security.
Examples
# Display information about all secure MAC addresses.
<Sysname> display port-security mac-address security
MAC ADDR
0002-0002-0002
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
0002-0002-0002
000d-88f8-0577
---
2 mac address(es) found
# Display information about secure MAC addresses on port GigabitEthernet 1/0/1.
<Sysname> display port-security mac-address security interface gigabitethernet 1/0/1
MAC ADDR
000d-88f8-0577
---
1 mac address(es) found
# Display information about secure MAC addresses of port GigabitEthernet 1/0/1 in VLAN 1.
<Sysname> display port-security mac-address security interface gigabitethernet 1/0/1 vlan
1
MAC ADDR
000d-88f8-0577
---
1 mac address(es) found
VLAN ID
STATE
1
Security
1
Security
---
VLAN ID
STATE
1
Security
1
Security
---
VLAN ID
STATE
1
Security
---
VLAN ID
STATE
1
Security
---
PORT INDEX
GigabitEthernet1/0/1
GigabitEthernet1/0/1
PORT INDEX
GigabitEthernet1/0/1
GigabitEthernet1/0/1
PORT INDEX
GigabitEthernet1/0/1
PORT INDEX
GigabitEthernet1/0/1
167
AGING TIME(s)
NOAGED
NOAGED
AGING TIME(s)
NOAGED
NOAGED
AGING TIME(s)
NOAGED
AGING TIME(s)
NOAGED

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents