
Operation Manual – SNMP-RMON
H3C S3610&S5510 Series Ethernet Switches
Chapter 1 SNMP Configuration
1-9
1.6 SNMP Configuration Example
I. Network requirements
z
The NMS connects to the agent, a switch, through an Ethernet.
z
The IP address of the NMS is 1.1.1.2/24.
z
The IP address of VLAN interface on the switch is 1.1.1.1/24.
z
On the switch, configure the following: community name, access right,
administrator ID, contact, location, enabling sending of Traps.
II. Network diagram
Figure 1-2
Network diagram for SNMP (on a switch)
III. Configuration procedure
1)
Configuring SNMP Agent
# Configure the community name, the SNMP agent group, and SNMP agent user.
<Sysname> system-view
[Sysname] snmp-agent community read public
[Sysname] snmp-agent community write private
[Sysname] snmp-agent mib-view included internet 1.3.6.1
[Sysname] snmp-agent group v3 managev3group write-view internet
[Sysname] snmp-agent usm-user v3 managev3user managev3group
# Configure VLAN-interface 2 (with the IP address of 1.1.1.1/24). Add the port Ethernet
1/0/1 to VLAN 2.
[Sysname] vlan 2
[Sysname-vlan2] port ethernet 1/0/1
[Sysname-vlan2] interface vlan-interface 2
[Sysname-Vlan-interface2] ip address 1.1.1.1 255.255.255.0
[Sysname-Vlan-interface2] quit
# Configure the system information of the switch.
[Sysname] snmp-agent sys-info version all
[Sysname] snmp-agent sys-info contact Mr.Wang-Tel:3306
[Sysname] snmp-agent sys-info location telephone-closet,3rd-floor