24 clear port-security address-table static, 25 switchport port-security – CANOGA PERKINS 9175 Command Reference User Manual

Page 61

Advertising
background image

CanogaOS Command Reference

4-17

agg1(SU) Static eth-0-1(B) eth-0-1(D) eth-0-2(D)

agg10(SD) LACP eth-0-6(D) eth-0-7(D) eth-0-8(D) eth-0-9(D)

eth-0-10(D)

Related Commands

None

4.24 clear port-security address-table static

Use this command to clear static port-security mac address table.

Command Syntax

clear port-security address-table static [address address |interface interface |vlan vlan]

address: clear port-security entries specified mac address

interface: clear port-security entries specified interface name

vlan: clear port-security entries specified vlan id

Command Mode

Privileged Exec mode

Usage

None

Examples

This example shows how to clear static port-security mac address-table.

Switch# clear port-security address-table static

This example shows how to clear static port-security mac address-table on eth-0-1.

Switch# clear port-security address-table dynamic interface eth-0-1

Related Commands

show mac address-table

4.25 switchport port-security

To enable port security on an interface, use the switchport port-security command. To disable port

security, use the no form of this command.

Command Syntax

switchport port-security

no switchport port-security

Command Mode

Interface configuration

Advertising