华为交换机配置dot1x认证,并配置语音vlan
本文最后更新于 611 天前,其中的信息可能已经有所发展或是发生改变。

交换机版本

Version
Huawei Versatile Routing Platform Software
VRP (R) software, Version 5.170 (S5735 V200R019C00SPC500)

dot1x 配置

1. radius配置
radius-server template radius_temp # 定义radius服务模板
 radius-server shared-key cipher Cisco@123
 radius-server authentication 10.1.210.1 1812 weight 80
 radius-server accounting 10.1.210.1 1813 weight 80
 quit

2. aaa配置
aaa
    authentication-scheme aaa_auth1 # 定义aaa认证方式为radius
     authentication-mode radius
    domain aaa_auth_domain # 定义认证domian
      authentication-scheme aaa_auth1 # 关联认证方式
      radius-server radius_temp # 关联radius认证服务模板
    quit

3. dot1x profile文件配置
dot1x-access-profile name acc_dot1x 
 dot1x authentication-method eap
 dot1x timer client-timeout 30
 quit

4. mac profile文件配置
mac-access-profile name mac_auth
 mac-authen username macaddress format with-hyphen
 quit

5. auth profile文件配置
authentication-profile name auth_dot1x
 dot1x-access-profile acc_dot1x # 调用dot1x接入配置文件
 mac-access-profile mac_auth #调用mac认证接入配置文件
 access-domain aaa_auth_domain force 调用认证domain集
 authentication dot1x-mac-bypass # mac认证bypass

6. 接口启用认证
int g0/0/2 
   authentication-profile auth_dot1x

语音vlan配置


interface GigabitEthernet0/0/1
 port link-type hybrid    #端口模式
 voice-vlan 111 enable    #语音vlan
 port hybrid tagged vlan 111    #语音vlan
 port hybrid pvid vlan 114    #业务vlan
 port hybrid untagged vlan 114    # 业务vlan
暂无评论

发送评论 编辑评论


				
|´・ω・)ノ
ヾ(≧∇≦*)ゝ
(☆ω☆)
(╯‵□′)╯︵┴─┴
 ̄﹃ ̄
(/ω\)
∠( ᐛ 」∠)_
(๑•̀ㅁ•́ฅ)
→_→
୧(๑•̀⌄•́๑)૭
٩(ˊᗜˋ*)و
(ノ°ο°)ノ
(´இ皿இ`)
⌇●﹏●⌇
(ฅ´ω`ฅ)
(╯°A°)╯︵○○○
φ( ̄∇ ̄o)
ヾ(´・ ・`。)ノ"
( ง ᵒ̌皿ᵒ̌)ง⁼³₌₃
(ó﹏ò。)
Σ(っ °Д °;)っ
( ,,´・ω・)ノ"(´っω・`。)
╮(╯▽╰)╭
o(*////▽////*)q
>﹏<
( ๑´•ω•) "(ㆆᴗㆆ)
😂
😀
😅
😊
🙂
🙃
😌
😍
😘
😜
😝
😏
😒
🙄
😳
😡
😔
😫
😱
😭
💩
👻
🙌
🖕
👍
👫
👬
👭
🌚
🌝
🙈
💊
😶
🙏
🍦
🍉
😣
Source: github.com/k4yt3x/flowerhd
颜文字
Emoji
小恐龙
花!
上一篇
下一篇