
華三交換機對接綜合運維平臺/安防平臺的配置
一、H3C交換機telnet和snmp等相關功能配置:
配置SNMP
<H3C>system-view #進入系統視圖
[H3C]snmp-agent #啟動SNMP協議
[H3C]snmp-agent community read simple tgnet #配置SNMP只讀團體名稱為tg-net
[H3C]snmp-agent sys-info version v2c #配置使用SNMP版本為V2C
配置交換機管理IP
[H3C]interface Vlan-interface 1 #進入VLAN1接口視圖
[H3C-Vlan-interface1]ip address 192.168.255.11 24 #配置VLAN1接口IP地址和掩碼
[H3C-Vlan-interface1]quit #退出接口視圖
配置用戶
[H3C]local-user tgnet #新建用戶tgnet并進入tgnet用戶配置視圖
[H3C-luser-manage-tgnet]password simple nihao123 #設置明文密碼nihao123
[H3C-luser-manage-tgnet]service-type telnet #配置本地用戶tgnet的接入類型為Telnet
[H3C-luser-manage-tgnet]authorization-attribute user-role level-15 #為用戶tgnet配置權限15級,最高級
[H3C-luser-manage-tgnet]quit #退出用戶配置視圖
設置telnet登錄驗證方式
[H3C]user-interface vty 0 4 #進入VTY用戶視圖
[H3C-line-vty0-4]authentication-mode scheme #設置telnet登錄驗證模式為AAA驗證
[H3C-line-vty0-4]user-role level-15 #配置telnet操做權限為15級
[H3C-line-vty0-4]quit #退出VTY用戶視圖
啟動telnet服務
[H3C]telnet server enable #啟動telnet服務
[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)
二、平臺配置項
注:第三方交換機配置可在網卡配置那或者設備管理那找到