Chapter 5
| SNMP Commands
Notification Log Commands
– 154 –
Default Setting
None
Command Mode
Global Configuration
Command Usage
◆
Systems that support SNMP often need a mechanism for recording Notification
information as a hedge against lost notifications, whether those are Traps or
Informs that exceed retransmission limits. The Notification Log MIB (NLM, RFC
3014) provides an infrastructure in which information from other MIBs may be
logged.
◆
Given the service provided by the NLM, individual MIBs can now bear less
responsibility to record transient information associated with an event against
the possibility that the Notification message is lost, and applications can poll
the log to verify that they have not missed any important Notifications.
◆
If notification logging is not configured and enabled, when the switch reboots,
some SNMP traps (such as warm start) cannot be logged.
◆
To avoid this problem, notification logging should be configured and enabled
using the
snmp-server notify-filter
command and
nlm
command, and these
commands stored in the startup configuration file. Then when the switch
reboots, SNMP traps (such as warm start) can now be logged.
◆
When this command is executed, a notification log is created (with the default
parameters defined in RFC 3014). Notification logging is enabled by default
(see the
nlm
command), but will not start recording information until a logging
profile specified with this command is enabled with the
nlm
command.
◆
Based on the default settings used in RFC 3014, a notification log can contain
up to 256 entries, and the entry aging time is 1440 minutes. Information
recorded in a notification log, and the entry aging time can only be configured
using SNMP from a network management station.
◆
When a trap host is created with the
snmp-server host
command, a default
notify filter will be created as shown in the example under the
show snmp
notify-filter
command.
Example
This example first creates an entry for a remote host, and then instructs the switch
to record this device as the remote host for the specified notification log.
Console(config)#snmp-server host 10.1.19.23 batman
Console(config)#snmp-server notify-filter A1 remote 10.1.19.23
Console#
Содержание EX-3524
Страница 2: ......
Страница 28: ...Figures 28 ...
Страница 34: ...Section I Getting Started 34 ...
Страница 58: ...Chapter 1 Initial Switch Configuration Setting the System Clock 58 ...
Страница 72: ...Chapter 2 Using the Command Line Interface CLI Command Groups 72 ...
Страница 156: ...Chapter 5 SNMP Commands Notification Log Commands 156 ...
Страница 164: ...Chapter 6 Remote Monitoring Commands 164 ...
Страница 218: ...Chapter 7 Authentication Commands Management IP Filter 218 ...
Страница 268: ...Chapter 8 General Security Measures Port based Traffic Segmentation 268 ...
Страница 292: ...Chapter 9 Access Control Lists ACL Information 292 ...
Страница 312: ...Chapter 10 Interface Commands Power Savings 312 ...
Страница 324: ...Chapter 11 Link Aggregation Commands Trunk Status Display Commands 324 ...
Страница 366: ...Chapter 15 Address Table Commands 366 ...
Страница 428: ...Chapter 17 VLAN Commands Configuring Voice VLANs 428 ...
Страница 572: ...Chapter 25 IP Interface Commands IPv6 Interface 572 ...
Страница 578: ...Section I Appendices 578 ...
Страница 594: ...Appendix C Customer Support Manuals 594 ...