我需要帮助为Juniper EX4500以太网交换机configurationSNMP。 我正在执行这个命令:
host1:~# snmpwalk -v 2c -c my_community_string 192.168.1.1 .1 Timeout: No Response from 192.168.1.1
其中192.168.1.1 – 交换机的外部IP地址。
从host1 1我可以连接到其他交换机的端口,如22。
SNMP代理看起来正在运行:
juniper> show system processes extensive | match snmp 2101 root 1 96 0 18860K 14628K select 0:06 0.00% snmpd
另外,我能够从交换机查询:
juniper> show snmp mib get 1.3.6.1.2.1.31.1.1.1.6.524 ifHCInOctets.524 = 1200002682732106
SNMPconfiguration:
juniper> show configuration snmp location Switch; community my_community_string { clients { 10.5.1.3/32; } }
10.5.1.3 – 我连接的主机
我将不胜感激任何帮助,因为我刚刚丢失了文档,并害怕破坏某些东西。
谢谢。
您缺less授权声明… set snmp community my_community_string授权只读
为了解决这个问题,我开始通过连接到一个内部IP地址来监视交换机。 我从以下configuration部分拿下它:
unit 10 { family inet { address 10.11.11.1/16; }