8-14
port-security trap
Syntax
port-security trap
{
addresslearned
|
dot1xlogfailure
|
dot1xlogoff
|
dot1xlogon
|
intrusion
|
ralmlogfailure
|
ralmlogoff
|
ralmlogon
}
undo port-security trap
{
addresslearned
|
dot1xlogfailure
|
dot1xlogoff
|
dot1xlogon
|
intrusion
|
ralmlogfailure
|
ralmlogoff
|
ralmlogon
}
View
System view
Default Level
2: System level
Parameters
addresslearned
: Address learning trap. When enabled, this function allows the system to send a trap
message when a port learns a new MAC address.
dot1xlogfailure
: Trap for 802.1X authentication failure.
dot1xlogon
: Trap for successful 802.1X authentication.
dot1xlogoff
: Trap for 802.1X user logoff events.
intrusion
: Trap for illegal frames.
ralmlogfailure
: Trap for MAC authentication failure.
ralmlogoff
: Trap for MAC authentication user logoff events.
ralmlogon
: Trap for successful MAC authentication.
RALM (RADIUS Authenticated Login using MAC-address) means RADIUS authentication based on
MAC address.
Description
Use the
port-security trap
command to enable port security traps.
Use the
undo port-security trap
command to disable port security traps.
By default, no port security trap is enabled.
This command involves the trap feature. With the trap feature, a device can send trap information upon
receiving packets that result from, for example, intrusion, abnormal login, or logout operations,
allowing you to monitor operations of interest.
Related commands:
display port-security
.
Examples
# Enable address learning trap.
Summary of Contents for E4510-48G
Page 109: ...2 18 Sysname interface bridge aggregation 1 Sysname Bridge Aggregation1 shutdown ...
Page 309: ...6 4 Sysname interface vlan interface 1 Sysname Vlan interface1 ip address dhcp alloc ...
Page 324: ...8 3 Sysname interface vlan interface 1 Sysname Vlan interface1 ip address bootp alloc ...
Page 530: ...2 5 Sysname mvlan 100 subvlan 10 to 15 ...
Page 739: ...8 15 Sysname system view Sysname port security trap addresslearned ...
Page 819: ...13 11 Sysname system view Sysname public key peer key2 import sshkey key pub ...
Page 914: ...5 17 Sysname reset oam ...
Page 1064: ...5 30 Slot 2 Set next configuration file successfully ...
Page 1325: ...21 13 Examples Redirect to member 2 Sysname irf switch to 2 Sysname Slave 2 ...