FAQ-S5700交換機(jī)MAC本地(dì)認證的(de)配置方法
版本信息:V100R005C01SPC≈ ☆$100
Q:S5700如(rú)何配置MAC本地(dì)認證?
無
A:基于MAC本地(dì)認證的(de)配置方法如(₹✔rú)下(xià):
[Quidway]mac-authen
[Quidway]mac-authen u÷←λsername macaddress format with-hy€γphen
[Quidway]aaa
[Quidway-aaa]
[Quidway-aaa]local-user f0de-f163-↔¶✘76d5 password simple ™×δf0de-f163-76d5
[Quidway]int ethe0/0/4
[Quidway-Ethernet0/0/4]mac-authen
當mac認證不(bù)通(tōng)過時(shí)€✘←↕,交換機(jī)上(shàng)上(shàng)不(bù)學習(xí)P ♦↑C的(de)mac,查看(kàn)認證狀态時(shí)有(yǒu)如(rú)'Ω©下(xià)顯示:
[Quidway]dis mac-authen int Ethλ♥αernet 0/0/4
Ethernet0/0/4 state: UP. MAC ad≠•dress authentication is enabl¥ed
Maximum users: 256
Current users: 0
Authentication Success: 6, Faiπ±§lure: 18
Guest VLAN is disabled
Silent MAC info:
f0de-f163-76d5
1 silent mac address₽&(es) found, 1 printed.
[Quidway]dis mac-authen int Ethernet ≥✔0/0/4
Ethernet0/0/4 state: UP. MAα& C address authentication is enabled
Maximum users: 256
Current users: 1
Authentication Succes♠'s: 5, Failure: 17
Guest VLAN is disabled
Online user(s) info:
UserId MAC/VLAN ♦∑ AccessTime <γγ≥ UserName
----------------------------------¥λ-----------------------------γ↕δ→---------------
37 f0de-f163-76d5/1 2008/≤©ε01/01 00:37:08 f0₩¥∑de-f163-76d5
--------------------------≤≥-----------------------₩↔♥-----------------------------§≥←
1、如(rú)果mac認證是(shì)基于用(β₽<yòng)戶名和(hé)密碼的(de),配置方法如(rú)下↓>&(xià):
[Quidway]mac-authen
[Quidway]mac-authen username ♥ fixed cc pass cc
[Quidway]aaa
[Quidway-aaa]
[Quidway-aaa]local-user cc password si∞ £mple cc
[Quidway]int ethe0/0/4
[Quidway-Ethernet0/0/4]ma₹∑¶λc-authen
2、端口上(shàng)支持的(de)MACφ'認證的(de)用(yòng)戶數(shù)默認是(s¶✘•hì)256,整機(jī)最大(dà)1024