?AAA配置步驟為:
1.開啟telent遠程登陸服務(wù)
2.創(chuàng)建用戶,設(shè)置用戶名、密碼、用戶的服務(wù)類型
3.配置終端登錄的數(shù)量
4.配置vlan-if的ip地址,用來遠程登陸
5.允許對應(yīng)的vlan通過
1.開啟telent遠程登陸服務(wù)
sys? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?#進入系統(tǒng)視圖
telnet server enable? ? ? ? ? ? ? ? ? ?#開啟telnet服務(wù)
2.創(chuàng)建用戶,設(shè)置用戶名、密碼、用戶的服務(wù)類型
local-user admin? ? ? ? ? ? ? ? ? ? ? ? ? ? #創(chuàng)建本地用戶admin
password simple 123456789.? ? ? ?#設(shè)置用戶密碼為123456789.
service-type telnet? ? ? ? ? ? ? ? ? ? ? ? ?#指定服務(wù)類型為telnet
authorization-attribute user-role network-admin? ? ? ? ? ? ? ? ? ? ? #設(shè)置為管理員權(quán)限
undo?authorization-attribute user-role network-operator? ? ? ? #刪除普通權(quán)限
3.配置終端登錄的數(shù)量
line vty 0 4? ? ? ? ? ? ? ? ????????????????? ?#設(shè)置終端接入的數(shù)量0-4,共5個
authentication-mode scheme? ? #設(shè)置認證方式為AAA認證
4.配置vlan-if的ip地址,用來遠程登陸
vlan 43? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? #創(chuàng)建vlan 43
int vlan 43? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?#進入vlan-if口
ip add 192.168.43.254 24? ? ? ?#添加ip地址,作為登陸用的ip
?5.允許對應(yīng)的vlan通過
int range g1/0/1 to g1/0/24? ? ? ? ? ? ?#批量配置接口
port link-type access? ? ? ? ? ? ? ? ? ? ?#設(shè)置接口類型為access
port access vlan 45? ? ? ? ? ? ? ? ? ? ? ? #允許vlan 45通過
?假設(shè)計算機接入了交換機端口G1/0/1,且計算機的ip為192.168.43.2/24
我在windows10計算機使用telent命令登陸交換機的ip
然后發(fā)現(xiàn)可以正常訪問和登陸了文章來源:http://www.zghlxwxcb.cn/news/detail-814866.html
文章來源地址http://www.zghlxwxcb.cn/news/detail-814866.html
到了這里,關(guān)于【H3C】配置AAA認證和Telnet遠程登陸,S5130 Series交換機的文章就介紹完了。如果您還想了解更多內(nèi)容,請在右上角搜索TOY模板網(wǎng)以前的文章或繼續(xù)瀏覽下面的相關(guān)文章,希望大家以后多多支持TOY模板網(wǎng)!