michellc 发表于 2018-7-16 08:44:30

CISCO、3COM交换机 snmp 值设置方法

在IOS的enable状态下,敲入config terminal 进入全局配置状态  cdp run 启用CDP
  snmp-server community gsunion ro 配置本路由器的只读字串为gsunion
  snmp-server community gsunion rw 配置本路由器的读写字串为gsunion
  snmp-server enable traps 允许路由器将所有类型SNMP Trap发送出去
  snmp-server host IP-address-server traps trapcomm 指定路由器SNMP Trap的接收者为10.238.18.17,发送Trap时采用trapcomm作为字串
  snmp-server trap-source loopback0 将loopback接口的IP地址作为SNMP Trap的发送源地址
  show running
  copy running start或write terminal 显示并检查配置
  保存配置
页: [1]
查看完整版本: CISCO、3COM交换机 snmp 值设置方法