SNMP配置手册.docxVIP

  • 33
  • 0
  • 约1.09万字
  • 约 23页
  • 2017-01-22 发布于重庆
  • 举报
SNMP配置手册

1 交换机部分 1.1 Cisco交换机使用以下配置命令前,均需要执行以下步骤:1. 登陆交换机。(可以使用串口线直接连接,如果交换机配置有管理IP并且允许telnet登陆,则也可以通过telnet进行登陆。)2. 输入enable命令进入特权模式。3. 输入config terminal进行配置模式。使用完配置命令后,均需要执行以下步骤进行保存:1. 输入end命令退出配置模式。2. copy running start保存配置文件。1.1.1 SNMP配置1.配置snmp 只读communitysnmp-server community public ro配置交换机的只读community为public2.配置snmp 读写communitysnmp-server community public rw配置交换机的读写community为public1.1.2 TRAP配置1.配置交换机允许发送trapsnmp-server enable traps2.配置交换机接收trap的主机snmp-server host 10.238.18.17 traps public指定交换机SNMP Trap的接收者为10.238.18.17,发送Trap时采用public作为字串1.1.3 Syslog配置1.打开交换机的syslog功能logging on2. 直接配置相应的syslog发送

文档评论(0)

1亿VIP精品文档

相关文档