Cisco Systems 7304 Manual De Usuario
A-14
Cisco 7304 Router MIB Specifications Guide
OL-4925-02
Appendix A Using MIBs
Monitoring Router Interfaces
•
cefcFRUInserted—An FRU is inserted in the chassis. The trap indicates the entPhysicalIndex of the
FRU and the container it was inserted in.
FRU and the container it was inserted in.
•
cefcFRURemoved—An FRU is removed from the chassis. The trap indicates the entPhysicalIndex
of the FRU and the container it was removed from.
of the FRU and the container it was removed from.
Enabling FRU Traps
To configure the router to generate traps for FRU events, enter the following command from the CLI.
Use the no form of the command to disable the traps.
Use the no form of the command to disable the traps.
Router(config)# snmp-server enable traps fru-ctrl
Router(config)# no snmp-server enable traps fru-ctrl
To enable FRU traps through SNMP, set cefcMIBEnableStatusNotification to true(1). Disable the traps
by setting cefcMIBEnableStatusNotification to false(2).
by setting cefcMIBEnableStatusNotification to false(2).
Monitoring Router Interfaces
This section provides information about how to monitor the status of router interfaces to see if there is
a problem or a condition that might affect service on the interface. To determine if an interface is down
or experiencing problems, you can:
a problem or a condition that might affect service on the interface. To determine if an interface is down
or experiencing problems, you can:
Check the Interface’s Operational and Administrative Status
To check the status of an interface, view the following IF-MIB objects for the interface:
•
ifAdminStatus—The administratively configured (desired) state of an interface. Use ifAdminStatus
to enable or disable the interface.
to enable or disable the interface.
•
ifOperStatus—The current operational state of an interface.
Monitor linkDown and linkUp Traps
To determine if an interface has failed, you can monitor linkDown and linkUp traps for the interface. See
the
the
for instructions on how to
enable these traps.
•
linkDown—Indicates that an interface has failed or is about to fail.
•
linkUp—Indicates that an interface is no longer in the Down state.
Enabling Interface LinkUp/LinkDown Traps
To configure SNMP to send a notification when a router interface changes state to Up (ready) or
Down (not ready), perform the following steps to enable linkUp and linkDown traps:
Down (not ready), perform the following steps to enable linkUp and linkDown traps:
Step 1
Issue the following CLI command to enable linkUp and linkDown traps for most, but not necessarily all,
interfaces:
interfaces:
Router(config)# snmp-server enable traps snmp linkdown linkup
Step 2
View the setting of the ifLinkUpDownTrapEnable object (IF-MIB ifXTable) for each interface to
determine if linkUp and linkDown traps are enabled or disabled for that interface.
determine if linkUp and linkDown traps are enabled or disabled for that interface.