Show nlm oper-status, Show nlm oper- status – Microsens MS453490M Management Guide User Manual

Page 572

Advertising
background image

C

HAPTER

22

| SNMP Commands

– 572 –

◆

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.

E

XAMPLE

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#

show nlm oper-

status

This command shows the operational status of configured notification logs.

C

OMMAND

M

ODE

Privileged Exec

E

XAMPLE

Console#sh nlm oper-status

Filter Name: A1

Oper-Status: Operational

Filter Name: A2

Oper-Status: Operational

Console#

Advertising