COMMAND LINE INTERFACE

port security

Use this command to configure a secure port. Use the no form to disable port security.

Syntax

port security no port security

Default Setting

All port security is disabled.

Command Mode

Interface Configuration (Ethernet)

Command Usage

When port security is enabled, the selected port will stop learning MAC addresses. This prevents unauthorized access to the switch. The MAC addresses aefmady in the address table will be retained and will not age out.

A secure port has the following restrictions:

-Cannot use port monitoring.

-Cannot be a multi-VLAN interface.

-Cannot be connected to a network interconnection device.

-Cannot be a trunk port.

Example

This example enables port security for port 5.

Console(config)# interface ethernet 1/5

Console(config-if)# port security

Console(config-if)#

3-84

Page 220
Image 220
SMC Networks SMC7724M/VSW manual Port security no port security, All port security is disabled