Enabling Logging for Network Management

 

 

 

 

Follow these steps to enable logging for network management:

 

 

 

 

 

 

 

 

 

 

To do…

Use the command…

Remarks

 

 

 

Enter system view

system-view

 

 

 

 

 

 

 

 

 

Enable logging for network

snmp-agent log { set-operation

Optional

 

 

 

management

get-operation all }

Disabled by default.

 

 

 

 

 

 

 

 

 

 

 

 

 

Use the display logbuffer command to view the log of the get and set operations requested by the NMS.

Displaying and Maintaining SNMP

 

To do…

Use the command…

Remarks

 

Display the SNMP information

display snmp-agent sys-info [ contact

 

 

about the current device

location version ]*

 

 

 

 

 

 

Display SNMP packet statistics

display snmp-agent statistics

 

 

 

 

 

 

Display the engine ID of the

display snmp-agent { local-engineid

 

 

current device

remote-engineid }

 

 

 

 

 

 

Display group information

display snmp-agent group

 

 

about the device

[ group-name ]

 

 

 

 

 

 

Display SNMP user information

display snmp-agent usm-user

Available in any view

 

[ engineid engineid username

 

 

 

user-name group group-name ]

 

 

 

 

 

 

Display Trap list information

display snmp-agent trap-list

 

 

 

 

 

 

Display the currently configured

display snmp-agent community [ read

 

 

community name

write ]

 

 

 

 

 

 

Display the currently configured

display snmp-agent mib-view

 

 

MIB view

[ exclude include viewname

 

 

view-name ]

 

 

 

 

 

 

 

 

SNMP Configuration Examples

SNMP Configuration Examples

Network requirements

zAs shown in Figure 1-2, an NMS and Switch A (SNMP agent) are connected through the Ethernet. The IP address of the NMS is 10.10.10.1 and that of the VLAN interface on Switch A is 10.10.10.2.

1-7

Page 432
Image 432
3Com WX3000 Enabling Logging for Network Management, Displaying and Maintaining Snmp, Snmp Configuration Examples