-
Notifications
You must be signed in to change notification settings - Fork 0
Home
Neilda Franklin edited this page Apr 20, 2017
·
3 revisions
You will share a testbed with a group member as in a prior assignment. Complete as a group the SNMP configuration part (steps 1-2 in the list below). The rest of steps are to be completed individually. Server xx.xx.xx.xx will be used to access the private network that you will use. Procedure
- Enable SNMP in all switches and routers. Use community “public” as RO.
- Each group member will use a different Linux PC, so decide who will use which PC (from the first 2 PCs connected to the testbed–the rest will be down for this assignment).
- Make sure that you can ping all network devices (routers/switches) from the PC. No need to enable SNMP server in this machine.
- Change the admin and root passwords of your selected PC.
- Write a bash script (in your home folder) that runs every 30 seconds (use a loop and “sleep”, do not use the crontab) and retrieve the following information from every network device in the testbed. Make a sensible decision between the use of SNMP Get and BulkGet: a. Device serial number b. Device name c. Then for each of the interfaces, display (using one line per interface): i. Name of the interface ii. Type of interface iii. MAC address iv. Operative status v. Total number of packets in vi. Total number of packets out vii. IP address d. After printing this per-interface information, calculate and print the total number of packets entering the device and leaving the device (so, print 2 values per device). e. Routing table per device f. Print the total number of SNMP Get, Set and Trap requests received/sent by each device (so, print 6 values per device).
- Submit your script to BB before the deadline. No late submissions