EM316LNXNM-OT
SNMP Management
PN 1275005-100 Rev E6
102
12.5. Trap Filtering
Traps can be filtered by chassis, slot, or port with the
trap
command.
Enable all traps for the target device with the
trap
command. Use a trap name as an argument to enable
only a specific trap.
fiberdriver(chassis/1)# trap?
trap - Enable trap generation
fiberdriver(chassis/1)# trap ?
<cr> - Enable all available traps for this location
> - Redirect output to a file
>> - Append output to file
NAME - Enable generation of a specific trap
fiberdriver(chassis/1)#
Disable all traps for the device with the
no trap
command. Use a trap name as an argument to disable
only a specific trap.
fiberdriver(chassis/1)# no trap
trap - Disable trap generation
fiberdriver(chassis/1)# no trap ?
<cr> - Disable all available traps for this location
> - Redirect output to a file
>> - Append output to file
NAME - Disable generation of a specific trap
fiberdriver(chassis/1)#
Specific trap names are listed in the MIB file. For example, the
no
trap
nbsCmmcTrapPortEnabled
command disables the "PortEnabled" trap. For easier CLI configuration,
start by issuing a
show traps
command. All traps for that element display along with the emit status.
Copy the name listed and issue a
(no) trap NAME
command to toggle the trap.
fiberdriver(chassis/1)# show traps
Name Emit
============================================ ====
NBS-CMMC-MIB::nbsCmmcTrapPowerSupplyFailure yes
NBS-CMMC-MIB::nbsCmmcTrapPowerSupplyRestored yes
NBS-CMMC-MIB::nbsCmmcTrapFanFailure yes
NBS-CMMC-MIB::nbsCmmcTrapFanRestored yes
NBS-CMMC-MIB::nbsCmmcTrapChassisTooHot yes
NBS-CMMC-MIB::nbsCmmcTrapChassisTooCold yes
NBS-CMMC-MIB::nbsCmmcTrapChassisTempOk yes
fiberdriver(chassis/1)# no trap NBS-CMMC-MIB::nbsCmmcTrapFanFailure
fiberdriver(chassis/1)# show traps
Name Emit
============================================ ====
NBS-CMMC-MIB::nbsCmmcTrapPowerSupplyFailure yes
NBS-CMMC-MIB::nbsCmmcTrapPowerSupplyRestored yes
NBS-CMMC-MIB::nbsCmmcTrapFanFailure no
NBS-CMMC-MIB::nbsCmmcTrapFanRestored yes
NBS-CMMC-MIB::nbsCmmcTrapChassisTooHot yes
NBS-CMMC-MIB::nbsCmmcTrapChassisTooCold yes
NBS-CMMC-MIB::nbsCmmcTrapChassisTempOk yes
fiberdriver(chassis/1)#
Содержание EM316LNXNM-OT
Страница 174: ...EM316LNXNM OT Appendix PN 1275005 100 Rev E6 167 Access Read only CLI command volt monitor 4...
Страница 181: ......