我已经工作了几个星期,以便在我们的Cisco 2600路由器上发送FIB更改的陷阱。我终于发现这个命令对此负有责任:
snmp-server enable traps cef peer-fib-state-change
但思科2600似乎不接受cef
命令。在检索了所有可以启用的陷阱选项之后,我们发现下面的列表是支持的所有陷阱。我们发现它们中没有一个实际上直接启用了FIB更改,但是其中一些看起来是相关的,比如实体。有什么方法可以推断FIB在这些选项上的变化吗?
atm Enable SNMP atm traps
bgp Enable BGP state change traps
bstun Enable SNMP BSTUN traps
cnpd Enable NBAR Protocol Discovery traps
config Enable SNMP config traps
config-copy Enable SNMP config-copy traps
dial Enable SNMP dial control traps
dlsw Enable SNMP dlsw traps
dnis Enable SNMP DNIS traps
dsp Enable SNMP dsp traps
entity Enable SNMP entity traps
envmon Enable SNMP environmental monitor traps
frame-relay Enable SNMP frame-relay traps
hsrp Enable SNMP HSRP traps
ipmobile Enable SNMP ipmobile traps
ipmulticast Enable SNMP ipmulticast traps
ipsec Enable IPsec traps
isakmp Enable ISAKMP traps traps
isdn Enable SNMP isdn traps
msdp Enable SNMP MSDP traps
pim Enable SNMP PIM traps
pppoe Enable SNMP pppoe traps
rsvp Enable RSVP flow change traps
rtr Enable SNMP Response Time Reporter traps
snmp Enable SNMP traps
stun Enable SNMP STUN traps
syslog Enable SNMP syslog traps
tty Enable TCP connection traps
voice Enable SNMP voice traps
vtp Enable SNMP VTP traps
xgcp Enable XGCP protocol traps
发布于 2016-08-08 02:43:36
CEF没有添加到思科MIB,直到iOS相关12.2(31)SB,所以你将需要该版本或更高的,然后你才能提醒CEF。
然而,它看起来并不像CEF曾经到过2600系列平台,至少在12.3(6f)。我还查看了2600系列的各种iOS图像,但找不到CEF.不用说,如果没有所需的OID,您将无法专门为CEF发出警报。
CEF的MIB实例标识符:
可以使用以下命令检查CEF实例标识符:
Router# show snmp mib | inc cef
资料来源:
http://www.cisco.com/c/en/us/td/docs/ios/12_2sb/feature/guide/sbcefmib.html#wp1072297
要查找设备上的特定MIB信息和可用图像,可以使用Cisco的MIB定位器工具来查看CEF是否可用。
https://networkengineering.stackexchange.com/questions/7836
复制相似问题