![Huawei Quidway S5600 Operation Manual Download Page 821](http://html.mh-extra.com/html/huawei/quidway-s5600/quidway-s5600_operation-manual_169841821.webp)
Operation Manual – SNMP and RMON
Quidway S5600 Series Ethernet Switches-Release 1510
Chapter 1 SNMP Configuration
Huawei Technologies Proprietary
1-9
1.6 SNMP Configuration Example
1.6.1 SNMP Configuration Example
I. Network requirements
z
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.
z
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.
II. Network diagram
Ethernet
NMS
10.10.10.1
10.10.10 .2
Ethernet
NMS
10.10.10.1
10.10.10 .2
Figure 1-2
Network diagram for SNMP
III. Network procedure
# Set the community name, group name and user.
<Quidway> system-view
[Quidway] snmp-agent
[Quidway] snmp-agent sys-info version all
[Quidway] snmp-agent community write public
[Quidway] snmp-agent mib-view include internet 1.3.6.1
[Quidway] snmp-agent group v3 managev3group write-view internet
[Quidway] snmp-agent usm-user v3 managev3user managev3group
# Set the VLAN interface 2 as the interface used by NMS. Add port GigabitEthernet
1/0/2 to VLAN 2. This port will be used for network management. Set the IP address of
VLAN interface 2 as 10.10.10.2.
[Quidway] vlan 2
[Quidway-vlan2] port GigabitEthernet 1/0/2
[Quidway-vlan2] quit
[Quidway] interface Vlan-interface 2
[Quidway-Vlan-interface2] ip address 10.10.10.2 255.255.255.0