|
楼主 |
发表于 2019-5-24 23:14:20
|
显示全部楼层
本帖最后由 popeye2008 于 2019-5-24 21:27 编辑
请看过程:
ASW1(config)#aaa new-model
ASW1(config)#aaa authentication dot1x default group radius
ASW1(config)#radius-server host 172.120.39.46 key rad123
ASW1(config)#dot1x system-auth-control
ASW1(config)#end
ASW1#
*Mar 1 00:25:49.155: %SYS-5-CONFIG_I: Configured from console by console
ASW1#sh ip int f2/3
FastEthernet2/3 is up, line protocol is up
Internet protocol processing disabled
ASW1#config t
Enter configuration commands, one per line. End with CNTL/Z.
ASW1(config)#int f2/3
ASW1(config-if)#switchport mode access
ASW1(config-if)#switchport access vlan 20
ASW1(config-if)#no shut
ASW1(config-if)#dot1x port-control auto
ASW1(config-if)#end
ASW1#
*Mar 1 00:26:30.783: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet2/3, changed state to down
*Mar 1 00:26:31.119: %SYS-5-CONFIG_I: Configured from console by console
ASW1#sh ip int f2/3
FastEthernet2/3 is up, line protocol is down
Internet protocol processing disabled
ASW1# |
沙发
2019-5-24 23:14:20
回复(0)
收起回复
|