HP 5920 Command Reference Manual page 133

Table of Contents

Advertisement

Predefined user roles
network-admin
network-operator
Parameters
interface interface-type interface-number: Specifies a port by its type and number.
vlan vlan-id: Specifies a VLAN by its ID in the range of 1 to 4094.
count: Displays only the count of the secure MAC addresses.
Usage guidelines
With no parameter specified, the command displays information about all secure MAC addresses.
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/0/1.
<Sysname> display port-security mac-address security interface ten-gigabitethernet 1/0/1
MAC ADDR
TIME
000d-88f8-0577 1
---
1 mac address(es) found
# Display information about secure MAC addresses of port Ten-GigabitEthernet 1/0/1 in VLAN 1.
<Sysname> display port-security mac-address security interface ten-gigabitethernet 1/0/1
vlan 1
VLAN ID
STATE
Security
1
Security
---
VLAN ID
STATE
Security
1
Security
---
VLAN ID
STATE
Security
---
PORT INDEX
Ten-GigabitEthernet 1/0/1
Ten-GigabitEthernet 1/0/1
PORT INDEX
Ten-GigabitEthernet 1/0/1
Ten-GigabitEthernet 1/0/1
PORT INDEX
Ten-GigabitEthernet 1/0/1
121
AGING
NOAGED
28
AGING
NOAGED
28
AGING
NOAGED

Advertisement

Table of Contents
loading

This manual is also suitable for:

59005920 series5900 series

Table of Contents