50.3 Command Examples
This example enables MAC authentication on the Switch. Specifies the name prefix clientName and the
MAC authentication password Lech89. Next, MAC authentication is activated on ports 1 - 5 and
configuration details are displayed.
sysname(config)# mac-authentication
sysname(config)# mac-authentication nameprefix clientName
sysname(config)# mac-authentication password Lech89
sysname(config)# interface port-channel 1-5
sysname(config-interface)# mac-authentication
sysname(config-interface)# exit
sysname(config)# exit
sysname# show mac-authentication
NamePrefix:
Password:
Update Time:
Deny Number:
Chapter 50 MAC Authentication Commands
clientName
Lech89
None
0
Ethernet Switch CLI Reference Guide
200