Cisco Cisco IOS Software Release 12.2(27)SBC

Seite von 44
Cisco Express Forwarding—SNMP CEF-MIB Support
  How to Configure Cisco Express Forwarding—SNMP CEF-MIB Support
20
Cisco IOS Release 12.2(31)SB2
What to Do Next
After you configure an SNMP host to receive the CISCO-CEF-MIB notifications, you can configure the 
notifications that you want to receive. See the 
.
Configuring SNMP Notifications for Cisco Express Forwarding Events 
Perform the following task to configure SNMP notifications for CEF events. You can complete the task 
through the use of CLI commands or SNMP commands.
Prerequisites
You need to configure an NMS or SNMP agent to receive the SNMPCISCO-CEF-MIB notification, see 
the 
SUMMARY STEPS
Router CLI Commands
1.
enable
2.
configure terminal
3.
snmp-server enable traps cef [peer-state-change] [resource-failure] [inconsistency
[peer-fib-state-change]
4.
snmp-server host ip-address [traps | informs] [version {2c | 3 [auth | noauth | priv]}] 
community-string cef 
5.
end 
SNMP Commands
1.
setany version ip-address community-string cefPeerStateChangeNotifEnable.0 -i TruthValue
2.
setany version ip-address community-string cefPeerFIBStateChangeNotifEnable.0 -i TruthValue
3.
setany version ip-address community-string cefResourceFailureNotifEnable.0 -i TruthValue 
4.
setany version ip-address community-string cefInconsistencyNotifEnable.0 -i TruthValue
Step 6
end
Example:
Router(config)# end
Exits to privileged EXEC mode.
Command or Action
Purpose