EasyManua.ls Logo

3Com 4200G 12-Port - SNMP Configuration Example

3Com 4200G 12-Port
730 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
1-7
To do… Use the command… Remarks
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 ]
SNMP Configuration Example
SNMP Configuration Example
Network requirements
z 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.
z 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 traps.
Thus, the NMS is able to access Switch A and receive the traps sent by Switch A.
Network diagram
Figure 1-2 Network diagram for SNMP configuration
10.10.10.2/16
NMS
10.10.10.1/16
Switch A
Network procedure
# Enable SNMP agent, and set the SNMPv1 and SNMPv2c community names.
<Sysname> system-view
[Sysname] snmp-agent
[Sysname] snmp-agent sys-info version all
[Sysname] snmp-agent community read public
[Sysname] snmp-agent community write private
# Set the access right of the NMS to the MIB of the SNMP agent.
[Sysname] snmp-agent mib-view include internet 1.3.6.1
# For SNMPv3, set:
z SNMPv3 group and user
z security to the level of needing authentication and encryption
z authentication protocol to HMAC-MD5
z authentication password to passmd5
z encryption protocol to DES
z encryption password to cfb128cfb128
[Sysname] snmp-agent group v3 managev3group privacy write-view internet

Table of Contents

Related product manuals