
華三交換機(jī)對接綜合運(yùn)維平臺/安防平臺的配置
一、H3C交換機(jī)telnet和snmp等相關(guān)功能配置:
配置SNMP
<H3C>system-view #進(jìn)入系統(tǒng)視圖
[H3C]snmp-agent #啟動SNMP協(xié)議
[H3C]snmp-agent community read simple tgnet #配置SNMP只讀團(tuán)體名稱為tg-net
[H3C]snmp-agent sys-info version v2c #配置使用SNMP版本為V2C
配置交換機(jī)管理IP
[H3C]interface Vlan-interface 1 #進(jìn)入VLAN1接口視圖
[H3C-Vlan-interface1]ip address 192.168.255.11 24 #配置VLAN1接口IP地址和掩碼
[H3C-Vlan-interface1]quit #退出接口視圖
配置用戶
[H3C]local-user tgnet #新建用戶tgnet并進(jìn)入tgnet用戶配置視圖
[H3C-luser-manage-tgnet]password simple nihao123 #設(shè)置明文密碼nihao123
[H3C-luser-manage-tgnet]service-type telnet #配置本地用戶tgnet的接入類型為Telnet
[H3C-luser-manage-tgnet]authorization-attribute user-role level-15 #為用戶tgnet配置權(quán)限15級,最高級
[H3C-luser-manage-tgnet]quit #退出用戶配置視圖
設(shè)置telnet登錄驗(yàn)證方式
[H3C]user-interface vty 0 4 #進(jìn)入VTY用戶視圖
[H3C-line-vty0-4]authentication-mode scheme #設(shè)置telnet登錄驗(yàn)證模式為AAA驗(yàn)證
[H3C-line-vty0-4]user-role level-15 #配置telnet操做權(quán)限為15級
[H3C-line-vty0-4]quit #退出VTY用戶視圖
啟動telnet服務(wù)
[H3C]telnet server enable #啟動telnet服務(wù)
[H3C]save #保存配置
The current configuration will be written to the device. Are you sure? [Y/N]:y #輸入y確定
Please input the file name(*.cfg)[flash:/startup.cfg]
(To leave the existing filename unchanged, press the enter key):y #輸入y確定
The file name is invalid(does not end with .cfg)
二、平臺配置項(xiàng)
注:第三方交換機(jī)配置可在網(wǎng)卡配置那或者設(shè)備管理那找到