HP (Hewlett-Packard) 2600 Switch User Manual


 
Configuring and Monitoring Port Security
MAC Lockout
Displaying status. Locked down ports are listed in the output of the show
running-config command in the CLI. The show static-mac command also lists
the locked down MAC addresses, as shown below.
HPswitch# show static-mac
VLAN MAC Address Port
1 0 01083-34f8fa 9
Number of locked down MAC addresses = 1
HPswitch#
Figure 9-11. Listing Locked Down Ports
MAC Lockout
MAC Lockout is avaliable on the Series 2600, 2600-PWR, and 2800 switches
only.
MAC Lockout involves configuring a MAC address on all ports and VLANs for
a switch so that any traffic to or from the “locked-out” MAC address will be
dropped. This means that all data packets addressed to or from the given
address are stopped by the switch. MAC Lockout is implemented on a per
switch assignment.
You can think of MAC Lockout as a simple blacklist. The MAC address is
locked out on the switch and on all VLANs. No data goes out or in from the
blacklisted MAC address to a switch using MAC Lockout.
To fully lock out a MAC address from the network it would be necessary to
use the MAC Lockout command on all switches.
To use MAC Lockout you must first know the MAC Address you wish to block.
Syntax: [no] lockout-mac < mac-address >
How It Works. Let’s say a customer knows there are unauthorized wireless
clients who should not have access to the network. The network administrator
“locks out” the MAC addresses for the wireless clients by using the MAC
9-25