Port Security Commands - D-Link DGS-1510 Series Reference Manual

Gigabit ethernet smartpro switch
Hide thumbs Also See for DGS-1510 Series:
Table of Contents

Advertisement

DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide

52. Port Security Commands

52-1 clear port-security
This command is used to delete the auto-learned secured MAC addresses.
clear port-security {all | {address MAC-ADDR | interface INTERFACE-ID [, | -]} [vlan VLAN-ID]}
Parameters
all
address MAC-ADDR
interface INTERFACE-ID
,
-
vlan VLAN-ID
Default
None.
Command Mode
Privileged EXEC Mode.
Command Default Level
Level: 12.
Usage Guideline
This command clears auto-learned secured entries, either dynamic or permanent.
Example
This example shows how to remove a specific secure address from the MAC address table.
Switch# clear port-security address 0080.0070.0007
Switch#
52-2 show port-security
This command is used to display the current port security settings.
show port-security [[interface INTERFACE-ID [, | -]] [address]
Parameters
INTEFACE-ID
,
Specifies to delete all auto-learned secured entries.
Specifies to delete the specified auto -learned secured entry based
on the MAC address entered.
Specifies to delete all auto-learned secured entries on the specified
physical interface.
(Optional) Specifies a series of interfaces, or separate a range of
interfaces from a previous range. No space is allowed before and
after the comma.
(Optional) Specifies a range of interfaces. No space is allowed
before and after the hyphen.
Specifies to delete the auto-learned secured entry learned with the
specified VLAN.
Specifies the ID of the interface to be displayed.
(Optional) Specifies a series of interfaces, or separate a range of
interfaces from a previous range. No space is allowed before and
448

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents