320
Predefined user roles
network-admin
mdc-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
port-security mac-address aging-type inactivity
Use
port-security mac-address aging-type inactivity
to enable inactivity aging for secure MAC
addresses.
Use
undo port-security mac-address aging-type inactivity
to disable inactivity aging for secure
MAC addresses.
Syntax
port-security mac-address aging-type inactivity
undo port-security mac-address aging-type inactivity
Default
The inactivity aging feature is disabled for secure MAC addresses.
Views
Layer 2 Ethernet interface view
Predefined user roles
network-admin
mdc-admin
Содержание FlexNetwork 7500 Series
Страница 350: ...335 Related commands display port security port security enable ...
Страница 379: ...364 Sysname system view Sysname keychain abc mode absolute Sysname keychain abc tcp kind 252 ...
Страница 519: ...504 Related commands display ssh2 algorithm ssh2 algorithm cipher ssh2 algorithm key exchange ssh2 algorithm mac ...