Skip to content

roshankumar0036singh/CISCO-VIP-NETWORKING-2025

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

9 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

CISCO-VIP-NETWORKING-INTERNSHIP-2025

πŸ›°οΈ Auto Topology Generation & Network Simulation Tool

Cisco Virtual Internship Program 2025 – Networking Problem Statement
A powerful automation tool to parse network configurations, generate topologies, validate setups, and simulate network performance & failures.


πŸ“– Overview

This project automates the end-to-end process of network topology creation and simulation.
It parses router, switch, and endpoint configurations, constructs a hierarchical topology, validates configuration compliance with industry best practices, and tests performance through detailed simulations.

The solution is designed to meet all Cisco Internship Tool Requirements and provides an optimized framework for modern network design, troubleshooting, and scalability analysis.


✨ Key Features

πŸ”Ή Auto Topology Generation

  • Parses .txt configuration files for routers, switches, and PCs.
  • Extracts:
    • Interface details (IPv4 addressing, MTU, bandwidth)
    • Routing protocols (OSPF, BGP)
    • VLAN configurations
    • Link relationships
  • Builds an accurate hierarchical network topology.
  • Generates visual layout from extracted data.

πŸ”Ή Configuration Validation & Optimization

  • Detects:
    • Missing configuration components
    • Duplicate IP addresses in subnet
    • VLAN inconsistencies
    • Incorrect gateway assignments
    • MTU mismatches
    • Network loops
  • Suggests:
    • Routing protocol changes (e.g., OSPF β†’ BGP for scalability)
    • Node aggregation opportunities

πŸ”Ή Load Management & Traffic Awareness

  • Analyzes bandwidth usage from configs.
  • Estimates traffic loads per application type.
  • Flags overloaded links & suggests balancing.
  • Provides fallback paths for low-priority traffic.

πŸ”Ή Simulation & Fault Injection

Day-1 Simulation Includes:

  • Device bring-up
  • ARP table population
  • OSPF/BGP neighbor discovery
  • MTU mismatch impact testing

Day-2 Simulation Includes:

  • Link failure injection & recovery
  • Routing table reconvergence
  • Compliance checks (31 tests in current run)
  • Performance degradation analysis

πŸ”Ή Advanced Simulation Engine

  • Multithreaded architecture (each network element runs in parallel).
  • IPC communication using TCP/FIFO sockets.
  • Pause and Resume simulation on demand.
  • Per-node logging for complete visibility.

πŸ“ Repository Structure

πŸ“¦ AutoTopology-Network-Sim ┣ πŸ“‚ Config/ # Input configuration files ┃ ┣ R1.txt ┃ ┣ S1.txt ┃ β”— ... ┣ πŸ“‚ simulation_engine/ # Simulation core logic ┣ πŸ“‚ topology_generator/ # Parser and graph builder ┣ πŸ“‚ validation_module/ # Rules and optimization checks ┣ πŸ“‚ reports/ # Generated analysis & results ┣ main.py # Entry point ┣ requirements.txt # Python dependencies β”— README.md # Documentation

text


πŸ”§ Installation

Requirements:

  • Python 3.9+
  • pip package manager

Clone Repository: git clone https://github.comroshankumar0036singh/CISCO-VIP-NETWORKING-2025.git cd AutoTopology-Network-Sim text

Install Dependencies: pip install -r requirements.txt

text


πŸš€ Usage

1️⃣ Prepare Configuration Files

Place device configs in the Config/ directory.
Sample configs are available here:
Google Drive - Input Configs


2️⃣ Generate Network Topology

python main.py --generate-topology Screenshot 2025-08-15 191126

text Outputs:

  • reports/network_topology_<timestamp>.html (Interactive Graph)
  • JSON topology data
Screenshot 2025-08-15 191304

3️⃣ Validate Configurations

python main.py --validate-config Screenshot 2025-08-15 191607

4️⃣ Run Simulations

Day-1 Simulation: python main.py --simulate --day 1

Screenshot 2025-08-15 192035

Day-2 Simulation (Fault Tests): python main.py --simulate --day 2

Screenshot 2025-08-15 192113

5️⃣ Pause / Resume Simulation

python main.py --pause python main.py --resume

Screenshot 2025-08-15 192152

πŸ“Š Example Output

Screenshot 2025-08-15 191304
  • Network Bring-Up

    • βœ” All devices up and stable
    • βœ” ARP tables populated
    • βœ” OSPF/BGP neighbors formed
  • Day-2 Tests

    • Total tests: 31
    • Pass: 85
    • Fail: 10
    • Warnings: 5
    • Example Fault Injection:
      • Broken link R1 ↔ R2 β†’ Network uptime maintained
      • Broken link R1 ↔ S1 β†’ Automatic path adaptation
  • Reports Generated:

    • JSON detailed analysis
    • Interactive HTML topology
    • Per-node simulation logs

βœ… Cisco Internship Compliance

βœ” Hierarchical topology creation
βœ” Bandwidth analysis/capacity verification
βœ” Load-balancing strategy recommendation
βœ” Missing component detection
βœ” Configuration checks & duplicate IP detection
βœ” VLAN & gateway validation
βœ” Routing protocol recommendations
βœ” MTU mismatch and network loop detection
βœ” Day-1 & Day-2 scenario execution
βœ” Fault injection testing & recovery analysis
βœ” Pause/Resume live simulation
βœ” Multithreaded architecture with IPC



πŸš€ Usage

1️⃣ Prepare Configuration Files

Place device configs in the Config/ directory.
Sample configs are available here:
Google Drive - Input Configs


2️⃣ Generate Network Topology

Outputs:

  • reports/network_topology_<timestamp>.html (Interactive Graph)
  • JSON topology data

3️⃣ Validate Configurations


4️⃣ Run Simulations

Day-1 Simulation:

Day-2 Simulation (Fault Tests):


5️⃣ Pause / Resume Simulation


πŸ“Š Example Output

  • Network Bring-Up

    • βœ” All devices up and stable
    • βœ” ARP tables populated
    • βœ” OSPF/BGP neighbors formed
  • Day-2 Tests

    • Total tests: 31
    • Pass: 85
    • Fail: 10
    • Warnings: 5
    • Example Fault Injection:
      • Broken link R1 ↔ R2 β†’ Network uptime maintained
      • Broken link R1 ↔ S1 β†’ Automatic path adaptation
  • Reports Generated:

    • JSON detailed analysis
    • Interactive HTML topology
    • Per-node simulation logs

🀝 Contributing

  1. Fork the repository
  2. Create a feature branch: git checkout -b feature-name
  3. Commit changes: git commit -m "Description"
  4. Push branch: git push origin feature-name
  5. Create a Pull Request

πŸ“œ License

This project is licensed under the MIT License - see LICENSE file for details.


πŸ“¬ Contact

Developer: Roshan Singh Email: roshankumar00036@gmail.com


About

This project automates the end-to-end process of **network topology creation and simulation**. It parses router, switch, and endpoint configurations, constructs a hierarchical topology, validates configuration compliance with industry best practices, and tests performance through detailed simulations. The solution is designed to meet all **Cisco

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors