General Security Measures

4-129

4
Example

mac-authentication max-mac-count

Use this command to set the maximum number of MAC addresses that can be
authenticated on a port via 802.1X authentication or MAC authentication. Use the
no form of this command to restore the default.
Syntax
mac-authentication max-mac-count count
no mac-authentication max-mac-count
count - The maximum number of 802.1X and MAC-authenticated MAC
addresses allowed. (Range: 1-1024)
Default Setting
1024
Command Mode
Interface Configuration
Example

show network-access

Use this command to display the MAC authentication settings for port interfaces.
Syntax
show network-access [interface interface]
interface - Specifies a port interface.
ethernet unit/port
unit - Stack unit. (Range: 1)
port - Port number. (Range: 1-26/50)
Default Setting
Displays the settings for all interfaces.
Command Mode
Privileged Exec
Console(config-if)#mac-authentication intrusion-action block-traffic
Console(config-if)#
Console(config-if)#mac-authentication max-mac-count 32
Console(config-if)#