Download Print this page

HP FlexNetwork MSR Series Command Reference Manual page 347

Comware 7 security
Hide thumbs Also See for FlexNetwork MSR Series:

Advertisement

Syntax
display port-security mac-address security [ interface interface-type interface-number ] [ vlan
vlan-id ] [ count ]
Views
Any view
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. The value range is 1 to 4094.
count: Displays only the count of the secure MAC addresses.
Usage guidelines
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.
If you do not specify any parameters, this command displays information about all secure MAC
addresses.
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 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 GigabitEthernet 1/0/1 in VLAN 1.
VLAN ID
STATE
1
Security
1
Security
---
VLAN ID
STATE
1
Security
1
Security
---
VLAN ID
STATE
1
Security
---
PORT INDEX
GE1/0/1
GE1/0/1
PORT INDEX
GE1/0/1
GE1/0/1
PORT INDEX
GE1/0/1
329
AGING TIME
NOAGED
28
AGING TIME
NOAGED
28
AGING TIME
NOAGED

Advertisement

loading