auth-mac auth-fail-action
Use this command to specify the required action after authentication fails for any source MAC (Media Access Control). If drop-traffic is specified, data destined to that MAC is dropped. The MAC will be added to the forwarding database in Discarded mode.
If restrict-vlan is specified, the unauthorized MAC is added to a restricted VLAN. The MAC will be added to the forwarding database in Forwarding mode.
Command Syntax
auth-mac auth-fail-action (restrict-vlan <2-4094>|drop-traffic)
Parameters
drop-traffic
Drops traffic destined to unauthorized source.
restrict-vlan
Adds unauthorized MAC address to restricted VLAN.
<2-4094>
Identity of the VLAN in the range of <2-4094>.
Default
drop-traffic
Command Mode
Interface mode
Applicability
This command was introduced before OcNOS version 1.3.
Example
#configure terminal
(config)#interface eth0
(config-if)#auth-mac auth-fail-action restrict-vlan 12
Last modified date: 07/13/2023