Example

Console#show mac-address-table aging-time

Aging time: 300 sec.

Console#

4.3.10Port Security Commands

These commands can be used to disable the learning function or manually specify secure addresses for a port. You might want to leave port security off for an initial training period (enable the learning function) to register all the current VLAN members on the selected port, and then enable port security to ensure that the port drops any incoming frames with a source MAC address that is unknown or has been previously learned from another port.

TABLE 4-15Port Security Commands

Command

Function

Mode

Page

 

 

 

 

port security

Configures a secure port

IC

4-103

mac-address-table

Maps a static address to a port in a VLAN

GC

4-99

static

 

 

 

show mac-address-

Displays entries in the bridge-forwarding database

PE

4-100

table

 

 

 

 

 

 

 

4.3.10.1port 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.

Chapter 4 Command-Line Reference 4-103

Page 301
Image 301
Sunfire B1600 manual Port security, Console#show mac-address-table aging-time, 15Port Security Commands