run show port-security address


The run show port-security address command displays the secure MAC address table entries.


Command Syntax

run show port-security [interface gigabit-ethernet <interface-name>] address


Parameter

Parameter

Description

gigabit-ethernet <interface-name>

Optional. Specifies a secure interface name. The value is a string.

  •  If no interface name is specified, the secure MAC address table entries of all the secure ports are displayed.
  •  If an interface name is specified, only the secure MAC address table entries of the specific secure port are displayed.


Example

  • Run run show port-security address command to view the secure MAC address table entries.
admin@XorPlus# run show port-security address
Secure Mac Address Table
-----------------------------------------------------
Vlan MAC Address Type Interface
---- ----------------- ------- ----------
1 00:00:11:11:11:11 dynamic ge-1/1/1
1 00:00:11:11:11:12 dynamic ge-1/1/1
1 00:00:23:23:23:23 static ge-1/1/1
1 00:00:23:23:23:24 static ge-1/1/1
1 00:00:23:23:23:25 static ge-1/1/1
-----------------------------------------------------
MAC age time :300s
  • Run run show port-security interface gigabit-ethernet <interface-name> address command to view the secure MAC address table entries on a secure interface.
admin@Xorplus# run show port-security interface gigabit-ethernet ge-1/1/34 address 
            Secure Mac Address Table
-----------------------------------------------------
VLAN  MAC Address      Type     Interface   
----     -----------------      -------    ----------   
1       00:00:11:11:11:11  dynamic   ge-1/1/1
-----------------------------------------------------
MAC age time    :300s

Copyright © 2024 Pica8 Inc. All Rights Reserved.