Cisco · Juniper · Network · Summary

Difference of SNMP get route entry[forward-MIB] between Cisco and Juniper

Cisco设备,通过snmp walk 1.3.6.1.2.1.4.21 (route table)节点获取设备路由

Juniper设备,通过snmp walk 1.3.6.1.2.1.4.24(IP-FORWARD-MIB)节点获取路由
后遇到Cisco 7609 (12.0 IOS),及Cisco IOS 15.2版本的3560通过1.3.6.1.2.1.4.21获取路由时失败,SNMP walk 1.3.6.1.2.1.4.24获取成功,但是通过Juniper方式使用1.3.6.1.2.1.4.24.1 + network address (as index) 的SNMP Get单条时获取失败;反复尝试后发现 Cisco  SNMP get route entry 需要使用 1.3.6.1.2.1.4.24.1 + network address + net mask 时设备都有值返回。
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s