Snmp Configuration Example - Huawei Quidway S3100 Series Operation Manual

Table of Contents

Advertisement

Operation Manual – SNMP
Quidway S3100 Series Ethernet Switches

1.5 SNMP Configuration Example

1.5.1 SNMP Configuration Example
I. Network requirements
An NMS and an Ethernet switch are connected through the Ethernet. The IP
address of the NMS is 10.10.10.1 and that of the VLAN interface on the switch is
10.10.10.2.
Perform the following configuration on the switch: setting the community name
and access authority, administrator ID, contact and switch location, and enabling
the switch to sent trap packet.
II. Network diagram
10.10.10.1
10.10.10.1
NMS
NMS
Figure 1-2 Network diagram for SNMP
III. Network procedure
# Set the community name, group name and user.
<Quidway> system-view
[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 network management. Add port
Ethernet1/0/2 to the 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 ethernet 1/0/2
[Quidway-vlan2] quit
[Quidway] interface Vlan-interface 2
[Quidway-Vlan-interface2] ip address 10.10.10.2 255.255.255.0
10.10.10 .2
10.10.10 .2
Ethernet
Ethernet
Huawei Technologies Proprietary
1-8
Chapter 1 SNMP Configuration

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents