H3C S6812 Series Command Reference Manual page 1896

Hide thumbs Also See for S6812 Series:
Table of Contents

Advertisement

Related commands
display port-security
dot1x
dot1x port-control
dot1x port-method
mac-authentication
port-security intrusion-mode
Use port-security intrusion-mode to configure the intrusion protection feature so the port takes
the predefined actions when intrusion protection detects illegal frames on the port.
Use undo port-security intrusion-mode to restore the default.
Syntax
port-security intrusion-mode { blockmac | disableport | disableport-temporarily }
undo port-security intrusion-mode
Default
Intrusion protection is disabled.
Views
Layer 2 Ethernet interface view
Predefined user roles
network-admin
Parameters
blockmac: Adds the source MAC addresses of illegal frames to the blocked MAC address list and
discards frames with blocked source MAC addresses. This action implements illegal traffic filtering
on the port. A blocked MAC address is restored to normal after being blocked for 3 minutes, which is
not user configurable. To display the blocked MAC address list, use the display port-security
mac-address block command.
disableport: Disables the port permanently upon detecting an illegal frame received on the port.
disableport-temporarily: Disables the port for a period of time whenever it receives an illegal
frame. You can use the port-security timer disableport command to set the period.
Usage guidelines
To restore the connection of the port disabled by the intrusion protection feature, use the undo
shutdown command.
Examples
# Configure Ten-GigabitEthernet 1/0/1 to block the source MAC addresses of illegal frames after
intrusion protection detects the illegal frames.
<Sysname> system-view
[Sysname] interface ten-gigabitethernet 1/0/1
[Sysname-Ten-GigabitEthernet1/0/1] port-security intrusion-mode blockmac
Related commands
display port-security
display port-security mac-address block
port-security timer disableport
8

Advertisement

Table of Contents
loading

This manual is also suitable for:

S6813 seriesS5150-ei

Table of Contents