14-18
Configuring and Monitoring Port Security
Port Security
Assigned/Authorized Addresses.
: If you manually assign a MAC address
(using
port-security <
port-number
> address-list <
mac-addr
>
) and then execute
write memory
, the assigned MAC address remains in memory until you do one
of the following:
■
Delete it by using
no port-security <
port-number
> mac-address <
mac-addr
>
.
■
Download a configuration file that does not include the unwanted MAC
address assignment.
■
Reset the switch to its factory-default configuration.
Specifying Authorized Devices and Intrusion Responses.
This example
configures port 1 to automatically accept the first device (MAC address) it
detects as the only authorized device for that port. (The default device limit
is 1.) It also configures the port to send an alarm to a network management
station and disable itself if an intruder is detected on the port.
HP Switch(config)# port-security a1 learn-mode static
action send-disable
The next example does the same as the preceding example, except that it
specifies a MAC address of 0c0090-123456 as the authorized device instead of
allowing the port to automatically assign the first device it detects as an
authorized device.
HP Switch(config)# port-security 1 learn-mode static
mac-address 0c0090-123456 action send-disable
This example configures port 5 to:
■
Allow two MAC addresses, 00c100-7fec00 and 0060b0-889e00, as the
authorized devices.
■
Send an alarm to a management station if an intruder is detected on the
port, but allow the intruder access to the network.
HP Switch(config)# port-security 5 learn-mode static
address-limit 2 mac-address 00c100-7fec00 0060b0-889e00
action send-alarm
If you manually configure authorized devices (MAC addresses) and/or an
alarm action on a port, those settings remain unless you either manually
change them or the switch is reset to its factory-default configuration. You can
“turn off” authorized devices on a port by configuring the port to continuous
Learn Mode, but subsequently reconfiguring the port to static Learn Mode
restores those authorized devices.
Summary of Contents for E3800 Series
Page 2: ......
Page 3: ...HP Networking E3800 Switches Access Security Guide September 2011 KA 15 03 ...
Page 30: ...xxviii ...
Page 86: ...2 36 Configuring Username and Password Security Password Recovery ...
Page 186: ...4 72 Web and MAC Authentication Client Status ...
Page 364: ...8 32 Configuring Secure Shell SSH Messages Related to SSH Operation ...
Page 510: ...10 130 IPv4 Access Control Lists ACLs General ACL Operating Notes ...
Page 548: ...11 38 Configuring Advanced Threat Protection Using the Instrumentation Monitor ...
Page 572: ...12 24 Traffic Security Filters and Monitors Configuring Traffic Security Filters ...
Page 730: ...20 Index ...
Page 731: ......