版本信息:V100R005C01SPC100
Q:S5700如(rú)何配置MAC本地(dì)認證?
無
A:基于MAC本地(dì)認證的(de)配置方×↕₹法如(rú)下(xià):
[Quidway]mac-authen
[Quidway]mac-authen usΩε₩ername macaddress format witφ>↓h-hyphen
[Quidway]aaa
[Quidway-aaa]
[Quidway-aaa]local-user✔£↕ f0de-f163-76d5 password simpl∑&e f0de-f163-76d5
[Quidway]int ethe0/0/4
[Quidway-Ethernet0/0/4]mac-autφπ≥ hen
當mac認證不(bù)通(tōng)過時(shí),交換機↕≈φ(jī)上(shàng)上(shàng)不(bù)學習"©↓Ω(xí)PC的(de)mac,查看(kàn)認證狀态時(shí ×)有(yǒu)如(rú)下(xià)顯示:
[Quidway]dis mac-auth™∞'∞en int Ethernet 0/0/4
Ethernet0/0/4 state: UP. MAC aεα♣♥ddress authentication is∞₩α enabled
Maximum users: 256
Current users: 0
Authentication Success: 6, Failure: 1γ★≠↑8
Guest VLAN is disabled
Silent MAC info:
f0de-f163-76d5
1 silent mac address(δπes) found, 1 printed.
當MAC認證通(tōng)過時(shí),交換機(jī)上(shà☆₩®γng)學習(xí)到(dào)PC的(deσ©✔π)MAC,查看(kàn)認證狀态時(shí)有(y↕≠ǒu)如(rú)下(xià)顯示:
[Quidway]dis mac-authen int E™ thernet 0/0/4
Ethernet0/0/4 state: UP≠¶. MAC address authenticat ✔ion is enabled
Maximum users: 256
Current users: 1
Authentication Success←λπ: 5, Failure: 17
Guest VLAN is disabled ★σ←
Online user(s) info:
UserId MAC/VLAN Ω< AccessTime UserN≥↔¶Ωame
------------------------------------♠₩φ≠--------------------------------------₽δ----
37 f0de-f163-76d5/1 2008/α×01/01 00:37:08 f0de-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 simple cc
[Quidway]int ethe0/0/4
[Quidway-Ethernet0/0/4]mac✘§-authen
2、端口上(shàng)支持的(de)MAC認證的(≈₹•de)用(yòng)戶數(shù)默認是δ∑(shì)256,整機(jī)最大(dà)1024