C
ONFIGURING
THE
S
WITCH
2-32
Command Line Interface
Use the interface command to select the monitor port, then use the port
monitor command to specify the source port. Note that default mirroring
under the CLI is for both received and transmitted packets.
Configuring Port Security
Use the Port Security Configuration page to enable port security on a
per-port basis.
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 already 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
Web Inte rfac e
Click Port/Port Security Configuration.
Console(config)#interface ethernet 1/10 3-69
Console(config-if)#port monitor ethernet 1/13 3-138
Console(config-if)#