This repository is deprecated; please follow the main search page or use the ‘Related code repos’ widget on the right side of the current page.

published

CCIE-RS-Lab

Introduction

A utility to help practice and study for CCIE-RS-Lab in a GNS3 environment.

Topology

GNS3 physical topology

alt text

Logical Topology

alt text

OSPF Topology

alt text

BGP Topology

alt text

More details follow the INE workbooks from the below link

https://ine.com/products/ccie-routing-switching-workbook

Setup

  1. Install GNS3 in a Windows machine - https://www.gns3.com/software/download
  2. Install GNS3 VM in an ESXI - https://docs.gns3.com/1hEoK0rmtdBRnMaUaVoMHUbYwtDAltXYShiMJUp1GMxk/index.html
  3. Install this utility in a linux or mac machine using git pull https://github.com/packetscaper/CCIE-RS-Lab.git
  4. Validate that there is connectivity between the linux or mac machine running this utility to the host running GNS3 as well as the GNS3 VM
  5. Download the topology.gns3 file and open it in GNS3. If this does't work then rebuild the lab in gns3, save the topology as topology.gns3 and replace this topology.gns3
  6. Initialize yamlfilefiles/console.yaml based on your environment

    i. gns3_vmware_ip is the ip over which the GNS3 VM can be accessed

    ii. gns3_host_ip is the ip over which gns3 utility runs. Generally a windows machine

    iii. map the ports of the various routers as seen on your gns3 environment after opening the topology.gns3
  7. Download topology.gns3 file and open it in GNS3.
  8. Copy INE R&S v5 labs in the config folder.
  9. Install Netmiko python library
    pip install netmiko
    
    

For more details on setting up GNS3, the below links can be referred

https://davidbombal.com/gns3-download-install-getting-working/

https://docs.gns3.com/1wdfvS-OlFfOf7HWZoSXMbG58C4pMSy7vKJFiKKVResc/index.html

Usage

Initialize the lab

Eg.

 #ipython
 : from init import *
 
 : start_all()
 
 : init_lab()
 
 : stop('R3')
 
 : stop('R3')

alt-text

Send and verify commands

Eg.

 :send('all','show ip int br')
 
 :send(['R1','R2','R5'],'show cdp neighbor')
 
 :send(['R1','R5'],['router eigrp 1,'network 155.1.0.0 0.0.255.255'])
 
 :send('R1','show ip eigrp neighbor')
 

Initialize routing labs

Eg.

 :init_eigrp()
 
 :remove_eigrp()
 
 :init_ospf()
 
 :remove_ospf()
 
 :init_bgp()
 
 :reset_lab()
 

alt-text

Load INE labs

Eg.

 :lslab() # displays all the labs
 
 :lslab(ospf) # displays all the OSPF labs
 
 :load('bgp.full','all')  # loads the bgp.full lab. 
 
 

alt-text

Help

 :help() # displays all the features
 
 
 
View code on GitHub
  • Owner

  • Contributors

    +1Github contributor
  • Categories

  • Programming Languages

    Python
  • License

    MIT License

Code Exchange Community

Get help, share code, and collaborate with other developers in the Code Exchange community.View Community
Disclaimer:
Cisco provides Code Exchange for convenience and informational purposes only, with no support of any kind. This page contains information and links from third-party websites that are governed by their own separate terms. Reference to a project or contributor on this page does not imply any affiliation with or endorsement by Cisco.