Cisco ASR 14000 Series Management Command Reference page 643

Router system
Hide thumbs Also See for ASR 14000 Series:
Table of Contents

Advertisement

SNMP Server Commands on Cisco IOS XR Software
C i s c o C o n f i d e n t i a l - B e t a R e v i e w R 3 . 7. 1
snmp-server traps ospf state-change neighbor-state-change
To enable Simple Network Management Protocol (SNMP) notifications for Open Shortest Path First
(OSPF) neighbor state change, use the snmp-server traps ospf state-change neighbor-state-change
command in global configuration mode. To disable OSPF state-change SNMP notifications, use the no
form of this command.
Syntax Description
This command has no arguments or keywords.
Defaults
SNMP notifications are disabled by default.
Command Modes
Global configuration
Command History
Release
Release 3.7.1
Usage Guidelines
To use this command, you must be in a user group associated with a task group that includes the proper
task IDs.
SNMP notifications can be sent as traps.
Use the snmp-server traps ospf state-change neighbor-state-change command to enable or disable
OSPF server state-change notifications, as defined in the MIB. One notification types is:
For example, the OSPF ospfNbrStateChange notification is defined in the OSPF MIB as follows:
!
!
!
!
!
!
!
!
!
For a complete description of these notifications and additional MIB functions, see the
OSPF-TRAP-MIB in the SNMP Object Navigator, available through cisco.com at
http://tools.cisco.com/Support/SNMP/do/BrowseMIB.do?local=en&step=2.
The snmp-server traps ospf state-change neighbor-state-change command is used with the
snmp-server host
SNMP notifications.
OL-17231-01
snmp-server traps ospf state-change neighbor-state-change
no snmp-server traps ospf state-change neighbor-state-change
Modification
This command was introduced on the Cisco ASR 14000 Series Router.
ospfNbrStateChange
ospfNbrStateChange NOTIFICATION-TYPE
OBJECTS {
ospfRouterId, -- The originator of the trap
ospfNbrIpAddr,
ospfNbrAddressLessIndex,
ospfNbrRtrId,
ospfNbrState
}
STATUS
command. Use the
snmp-server traps ospf state-change neighbor-state-change
-- The new state
current
snmp-server host
command to specify which host or hosts receive
Cisco ASR 14000 Series Router System Management Command Reference
SMR-641

Advertisement

Table of Contents
loading

Table of Contents