Command:

port secure  (Catalyst 1900)


Mode:

Switch(config-if)#


Syntax:

port secure [max-mac-count count]

no port secure [max-mac-count]

Syntax Description:    

max-mac-count

Maximum number of addresses allowed on port.

count

Number from 1 to 132.

 

Default

The default is 132.

 

Command Description:

 

Use the port secure interface configuration command to enable addressing security. Use the no port secure command to disable addressing security or to set the maximum number of addresses allowed on the interface to the default value.


Example:

The following example shows how to set the maximum MAC address count to 100.

hostname(config-if)# port secure max-mac-count 100
 

The following example shows how to disable port security.

hostname(config-if)# no port secure
 

The following example shows how to set the MAC address count maximum to the default 132.

hostname(config-if)# no port secure max-mac-count


Misconceptions:

           None.


Related Commands:

interface

port (block)

port secure (clear)

show (interfaces)

show (mac-address-table security). 


� Cisco Systems, Inc. 2001, 2002, 2003
World Wide Education

Converted from CHM to HTML with chm2web Pro 2.85 (unicode)