C
HAPTER
24
| General Security Measures
Network Access (MAC Address Authentication)
– 672 –
COMMAND MODE
Interface Configuration
EXAMPLE
Console(config)#interface ethernet 1/1
Console(config-if)#network-access link-detection
Console(config-if)#
network-access
link-detection
link-down
Use this command to detect link-down events. When detected, the switch
can shut down the port, send an SNMP trap, or both. Use the no form of
this command to disable this feature.
SYNTAX
network-access link-detection link-down
action [shutdown | trap | trap-and-shutdown]
no network-access link-detection
action - Response to take when port security is violated.
shutdown - Disable port only.
trap - Issue SNMP trap message only.
trap-and-shutdown - Issue SNMP trap message and disable
the port.
DEFAULT SETTING
Disabled
COMMAND MODE
Interface Configuration
EXAMPLE
Console(config)#interface ethernet 1/1
Console(config-if)#network-access link-detection link-down action trap
Console(config-if)#
network-access
link-detection
link-up
Use this command to detect link-up events. When detected, the switch can
shut down the port, send an SNMP trap, or both. Use the no form of this
command to disable this feature.
SYNTAX
network-access link-detection link-up
action [shutdown | trap | trap-and-shutdown]
no network-access link-detection