Enabling Logging for Network Management
357
Enabling Logging for
Network Management
n
IUse the
display logbuffer
command to view the log of the get and set
operations requested by the NMS.
Displaying SNMP
After the above configuration, you can execute the
display
command in any view
to view the running status of SNMP, and to verify the configuration.
SNMP Configuration
Examples
SNMP Configuration
Examples
Network requirements
■
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.
■
Perform the following configuration on Switch A: setting the community name
and access permission, administrator ID, contact and switch location, and
enabling the switch to sent trap messages.
Table 277
Enable logging for network management
Operation
Command
Description
Enter system view
system-view
-
Enable logging for network
management
snmp-agent log
{
set-operation
|
get-operation
|
all
}
Optional
Disabled by default.
Table 278
Display SNMP
Operation
Command
Description
Display the SNMP information
about the current device
display snmp-agent
sys-info
[
contact
|
location
|
version
]*
Available in any view.
Display SNMP packet statistics
display snmp-agent
statistics
Display the switch fabric ID of
the current device
display snmp-agent
{
local-switch fabricid
|
remote-switch fabricid
}
Display group information
about the device
display snmp-agent group
[
group-name
]
Display SNMP user
information
display snmp-agent
usm-user
[
switch fabricid
switch fabricid
|
username
user-name
|
group
group-name
]
Display Trap list information
display snmp-agent
trap-list
Display the currently
configured community name
display snmp-agent
community
[
read
|
write
]
Display the currently
configured MIB view
display snmp-agent
mib-view
[
exclude
|
include
|
viewname
view-name
]
Summary of Contents for Switch 4210 9-Port
Page 22: ...20 CHAPTER 1 CLI CONFIGURATION ...
Page 74: ...72 CHAPTER 3 CONFIGURATION FILE MANAGEMENT ...
Page 84: ...82 CHAPTER 5 VLAN CONFIGURATION ...
Page 96: ...94 CHAPTER 8 IP PERFORMANCE CONFIGURATION ...
Page 108: ...106 CHAPTER 9 PORT BASIC CONFIGURATION ...
Page 122: ...120 CHAPTER 11 PORT ISOLATION CONFIGURATION ...
Page 140: ...138 CHAPTER 13 MAC ADDRESS TABLE MANAGEMENT ...
Page 234: ...232 CHAPTER 17 802 1X CONFIGURATION ...
Page 246: ...244 CHAPTER 20 AAA OVERVIEW ...
Page 270: ...268 CHAPTER 21 AAA CONFIGURATION ...
Page 292: ...290 CHAPTER 26 DHCP BOOTP CLIENT CONFIGURATION ...
Page 318: ...316 CHAPTER 29 MIRRORING CONFIGURATION ...
Page 340: ...338 CHAPTER 30 CLUSTER ...
Page 362: ...360 CHAPTER 33 SNMP CONFIGURATION ...
Page 368: ...366 CHAPTER 34 RMON CONFIGURATION ...
Page 450: ...448 CHAPTER 39 TFTP CONFIGURATION ...
Page 451: ......
Page 452: ...450 CHAPTER 39 TFTP CONFIGURATION ...
Page 470: ...468 CHAPTER 40 INFORMATION CENTER ...
Page 496: ...494 CHAPTER 44 DEVICE MANAGEMENT ...