华为交换机配置snmp:
snmp-agent community read public
snmp-agent sys-info version all
思科交换机配置snmp:
snmp-server community snailgame RO
华为交换机配置远程登录:
service Telnet enable
user-interface vty 0 4
user privilege level 3
set authentication password simple snailgame
protocol inbound telnet
华为交换机配置syslog
[Huawei]info-center enable
[Huawei]info-center loghost 172.16.12.3 channel loghost facility local7
#根据需要,指定发送源地址、接口或VLANIF,优先使用管理口IP发送
[Huawei]info-center loghost source GigabitEthernet 0/0/0
#可根据审计要求和设备性能自定义日志发送类型
[Huawei]info-center source default channel loghost log level informational state on
本文出自 “通哥的运维笔记” 博客,谢绝转载!
原文地址:http://tonyxue.blog.51cto.com/4663710/1772120