A network management tool is a software tool that allow a network administrator to supervise individual devices a network, whether it is a switch, a router, or any SNMP enabled device. Your objective in this final Assignment is write a tool that allows for the management of a network that may have up to 10 switches and 5 routers.

For each switch, you need to keep the following information: Vendor, Model number, SVI support (yes/No), # of Ethernet ports (up to a max of 24 ports), which port is up or down, and used switching protocol. A network administrator should be able to switch on/off any port on any switch, turn off a switch (requiring switching off all ports first) and printing information about one or all switches.

For each router, you need to keep the following information: Vendor, Model number, # of serial ports (up to 16 ports), used routing protocol. A network administrator should be able to switch on/off any port on any router, turn off a router (requiring switching off all ports first) and printing information about one or all router.

Write a program that:

  • Initializes the random access file switches.dat to 10 empty records
  • Initializes the random access file routers.dat to 5 empty records
  • Allows you to input the data concerning each switch or router
  • Allows you to list all your switches or routers and their port states
  • Allows you to delete a record for a switch or a router that you no longer have on the network
  • Allows you update any information in either file

The device identification number should be the record number. Your program should have a base class Device, and derive two classes from it: Switch and Router. Your program should include polymorphic functionality when possible. Your program should include exception handling when possible (ex. Trying to switch off a port that is already switched off).

Academic Honesty!
It is not our intention to break the school's academic policy. Posted solutions are meant to be used as a reference and should not be submitted as is. We are not held liable for any misuse of the solutions. Please see the frequently asked questions page for further questions and inquiries.
Kindly complete the form. Please provide a valid email address and we will get back to you within 24 hours. Payment is through PayPal, Buy me a Coffee or Cryptocurrency. We are a nonprofit organization however we need funds to keep this organization operating and to be able to complete our research and development projects.