利用SNMP协议来监测Cisco2950流量
时间:2009-03-23 来源:sjhf
telnet 10.10.100.13 123# conf t \\进入特权配置模式 123(config)# snmp-server community 5haolou RO(此处不是零) \\设置SNMP的团体名为5haolou 123(config)# snmp-server trap-source FastEthernet0/1 \\以Fa0/1端口为监控源,如果不输,将以设备自身的ROUTER ID作为监控源 123(config)# snmp-server contact [email protected] \\设置管理者的邮箱地址 123(config)# snmp-server host 10.10.100.201 5haolou \\设置管理机的IP地址为10.10.100.201,并设置团体名5haolou 123(config)# snmp-server enable traps \\启动监控 123#copy run start \\保存设置 |
相关阅读 更多 +