beautypg.com

Brocade Network OS Message Reference v4.1.1 User Manual

Page 26

background image

10

Network OS Message Reference

53-1003227-01

Commands for displaying, clearing, and configuring the message logs

1

To configure the SNMPv3 host to receive the inform, perform the following steps.

1. Execute the configure terminal command to access the global configuration level of the CLI.

switch# configure terminal

Entering configuration mode terminal

2. Execute the following command to set the inform recipient with IP address 192.0.2.2, which

receives all traps with the severity levels of Critical, Error, Info, and Warning.

switch(config)# snmp-server v3host 192.0.2.2 snmpadmin1 notifytype informs

engineid 80:00:05:23:01:AC:1A:01:79 severity-level Info udp-port 4425

NOTE

To receive the SNMP informs, the username, the authentication protocol, the privacy protocol,
the UDP port number, and the engine ID must match between the switch and the management
station.

3. Execute the show running-config snmp-server command to verify the configuration.

switch# show running-config snmp-server

snmp-server contact "Field Support."

snmp-server location "End User Premise."

snmp-server sys-descr "Brocade VDX Switch."

snmp-server community ConvergedNetwork

snmp-server community OrigEquipMfr rw

snmp-server community "Secret C0de" rw

snmp-server community common

snmp-server community private rw

snmp-server community public

snmp-server user snmpadmin1 auth md5 auth-password

"5MmR2qGjoryjusN9GL5kUw==\n" priv DES priv-password

"2ThfbBNgPsCyI25tLI2yxA==\n" encrypted

snmp-server user snmpadmin2 groupname snmpadmin

snmp-server user snmpadmin3 groupname snmpadmin

snmp-server user snmpuser2

snmp-server user snmpuser3

snmp-server v3host 192.0.2.2 snmpadmin1

udp-port 4425

notifytype informs

engineid 80:00:05:23:01:AC:1A:01:79

severity-level Info

!

Commands for displaying, clearing, and configuring the message logs

Table 5

describes commands that you can use to view or configure various message logs. Most

commands require the admin access level. For detailed information on required access levels and
commands, refer to the Network OS Command Reference.

TABLE 5

Commands for viewing or configuring the message logs

Command

Description

clear logging auditlog

This command clears the Audit log messages from the local switch or the specified
switches.

clear logging raslog

This command clears the error log messages from the local switch or the specified
switches.