xStack
®
DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual
354
show mac_based_access_control auth_state
Purpose
Used to display the MAC-based Access Control authentication status.
Syntax
show mac_based_access_control auth_state ports <portlist>
Description
This command is used to display the MAC-based Access Control authentication status.
Parameters
<portlist>
- Display authentication status by specific port.
If not specified port(s), it will display all of MAC-based Access Control ports authentication
status.
Restrictions
None.
Example usage:
Suppose that port 1 is in host based mode:
•
MAC 00-00-00-00-00-01 is authenticated without a VLAN assigned (may be the specified target VLAN does not
exist or the target VLAN has not been specified at all), the ID of the RX VLAN will be displayed (RX VLAN ID is
4004 in this example).
•
MAC 00-00-00-00-00-02 is authenticated with a target VLAN assigned, the ID of the target VLAN will be
displayed (target VLAN ID is 1234 in this example).
•
MAC 00-00-00-00-00-03 fails to pass authentication, the VID field will be shown as “-”, indicating that packets
with SA 00-00-00-00-00-03 will be dropped no matter which VLAN these packets are from.
•
MAC 00-00-00-00-00-04 attempts to start authentication, the VID field will be shown as “-“until authentication
completes.
Suppose that port 2 is in port based mode:
•
MAC 00-00-00-00-00-10 is the host which causes port 2 to pass authentication; the MAC address is followed by
“(P)” to indicate port based mode authentication.
Suppose that port 3 is in port based mode:
•
MAC 00-00-00-00-00-20 attempts to start authentication, the MAC address is followed by “(P)” to indicate port
based mode authentication.
•
MAC 00-00-00-00-00-21 fails to pass authentication, the MAC address is followed by “(P)” to indicate port based
mode authentication.
NOTE:
In port-based mode, the VLAN ID field is displayed in the same way as host based mode.
To display the MAC-based Access Control authentication status on port 1, 2, 3.