College of Computing and Informatics
Lab 6: SNMP (Simple Network Management Protocols)
Course IT340 NETWORK MANAGEMENT
Dr. ABDUL WAHAB MUZAFFAR
Instructors LA. AHLAM Ax`LREHILI
LA. HAMAD ALISMAIL
1. Configuring SNMP agent on Router in CISCO Packet Tracer.
Objectives 2. Configuring SNMP on Computer
3. Understanding SNMP v2 traps.
References
1. Cisco Networking Academy
Instructions 1. Read the lab instructions.
2. After finishing the lab, keep your files saved with you for Lab Exam Preparation.
IT340 Page 1 of 8
College of Computing and Informatics
In this Lab we required the Cisco Packet Tracer which you can install on your computer or Virtual Machine.
Step 1: Create Lab Setup
Now, try to configure SNMP Protocol on Cisco router and using a PC as Management Information Base
MIB. So create your own lab within Cisco Packet Tracer as provided in the picture below:
Add simple PDUs from:
PC0 PC1
PC1 PC2
PC0 Router
IT340 Page 2 of 8
College of Computing and Informatics
Step 2: Add IP addresses to Router and PCs as given in below mentioned Table.
Device IP Address
Router 192.168.2.1
PC0 192.168.2.2
PC1 192.168.2.3
PC2 192.168.2.4
Step 2.1: Enable SNMP on Router (R1)
1. Click on Router
2. Below window will be opened
IT340 Page 3 of 8
College of Computing and Informatics
Add the router IP by clicking onGigabitEthernet0/0 as highlighted in above diagram.
3. Click on CLI and press enter to use the following commands to configure the router.
IT340 Page 4 of 8
College of Computing and Informatics
4. Enter these commands in router CLI.
1. Router>enable
2. Router#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
3. Router(config)#snmp-server community nsm ro
%SNMP-5-WARMSTART: SNMP agent on host Router is undergoing a warm start
nsm is the password for SNMP-server community read only (ro)
4. Router(config)#snmp-server community nsm rw
nsm is the password for SNMP-server community read only (ro)
Step 3: Test SNMP from PC
OK, the SNMP has been configured on R1 router. Now try to test it from the PC1 using MIB Browser.
This is a step wise process:
1. Click on PC1 and click Desktop tab, then open MIB Browser.
2. Click on MIB browser and Click on Desktop
IT340 Page 5 of 8
College of Computing and Informatics
3. Following window will be opened
4. Add the following in the three highlighted fileds.
(a) Address: 192.168.2.1
(b) Read Community: nsm
(c) Write Community: nsm
IT340 Page 6 of 8
College of Computing and Informatics
5. Now on the MIB browser page expend MIB tree to system and select each value then hit
the GO button to display the exact information on Router1
6. Now on the MIB browser page expend MIB tree to system and select each value then hit
the GO button to display the exact information on Router1
IT340 Page 7 of 8
College of Computing and Informatics
This is the information from router
IT340 Page 8 of 8