华为交换机配置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
转载于:https://blog.51cto.com/tonyxue/1772120