SNMP Configuration
Example
SNMP Configuration
Example
Table 598 Display SNMP
Operation
Display system information of the current
SNMP device
Display SNMP packet statistics information
Display the switch fabric ID of the current
device
Display group information about the device
Display SNMP user information
Display the currently configured community
name
Display the currently configured MIB view
Network requirements
An NMS and Switch A 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 authority, administrator ID, contact and switch location, and
enabling the switch to sent trap packet.
Network diagram
Figure 190 Network diagram for SNMP
10.10.10.1
NMS
Ethernet
Network procedure
# Set the community name, group name and user.
SNMP Configuration Example
Command
display snmp-agent
sys-info [ contact |
location | version ]*
display snmp-agent
statistics
display
snmp-agent { local-switch
fabricid | remote-switch
fabricid }
display snmp-agent group
[ group-name ]
display snmp-agent
usm-user [ switch fabricid
switch fabricid | username
user-name | group
group-name ]
display snmp-agent
community [ read | write ]
display snmp-agent
mib-view [ exclude |
include | viewname
view-name ]
10.10.10.2
Switch A
745
Description
The display
command can
be executed in
any view