1-1
1
Port Security Commands
Port Security Commands
display mac-address security
Syntax
display mac-address security
[
interface interface-type
interface-number
] [
vlan vlan-id
] [
count
]
View
Any view
Parameters
Interface interface-type
interface-number
: Specify a port by its type and number, of which the security
MAC address information is to be displayed.
vlan vlan-id
: Specify a VLAN by its ID, of which the security MAC address information is to be displayed.
The value range for the
vlan-id
argument is 1 to 4094.
count
: Displays the number of matching security MAC addresses.
Description
Use the
display mac-address security
command to display security MAC address entries.
If no argument is specified, the command displays information about all security MAC address entries.
For each security MAC address entry, the output of the command displays the MAC address, the VLAN
that the MAC address belongs to, state of the MAC address (which is always security), port associated
with the MAC address, and the remaining lifetime of the entry.
By checking the output of this command, you can verify the current configuration.
Examples
# Display information about all security MAC address entries.
<Sysname> display mac-address security
MAC ADDR VLAN ID STATE PORT INDEX AGING TIME(s)
0000-0000-0001 1 Security Ethernet1/0/20 NOAGED
0000-0000-0002 1 Security Ethernet1/0/20 NOAGED
0000-0000-0003 1 Security Ethernet1/0/20 NOAGED
0000-0000-0004 1 Security Ethernet1/0/20 NOAGED
0000-0000-0001 2 Security Ethernet1/0/22 NOAGED
0000-0000-0007 2 Security Ethernet1/0/22 NOAGED
--- 6 mac address(es) found ---
# Display the security MAC address entries for port Ethernet 1/0/20.
<Sysname> display mac-address security interface Ethernet 1/0/20
Summary of Contents for 5500-EI PWR
Page 43: ...2 6...
Page 76: ...1 17...
Page 228: ...ii stp transmit limit 1 44 vlan mapping modulo 1 45 vlan vpn tunnel 1 46...
Page 477: ...5 24 Sysname vlan 2 Sysname vlan2 service type multicast...
Page 503: ...2 3 System View return to User View with Ctrl Z Sysname dot1x url http 192 168 19 23...
Page 519: ...iii...
Page 597: ...2 2 security policy server 192 168 0 1 user name format without domain...
Page 648: ...1 9 Examples Clear static ARP entries Sysname reset arp static...
Page 663: ...4 3 Sysname resilient arp interface vlan interface 2...
Page 767: ...1 28 From 12 00 Jan 1 2008 to 12 00 Jun 1 2008...
Page 1111: ...ii xmodem get 3 18...
Page 1314: ...A 44 Z...