Question: Write a python script to configure 2 routers, use interface commands: interface FastEthernet0/0 no shutdown media-type 100BaseX full-duplex ip address 10.1.1.1 255.255.255.0 ! Next router

Write a python script to configure 2 routers, use interface commands:

interface FastEthernet0/0 
no shutdown 
media-type 100BaseX 
full-duplex 
ip address 10.1.1.1 255.255.255.0 

! Next router 
interface FastEthernet0/0 
no shutdown 
media-type 100BaseX 
full-duplex 
ip address 10.1.1.2 255.255.255.0 
! Remember to use enable Conf t Before putting in the above script > In gns configure 2 routers for snmp. Example : Router#configure terminal Enter configuration commands, one per line. End with CNTL/Z.Router(config)# Router(config)#snmp-server community public RO  Router(config)#snmp-server community cisco@123 RW Router(config)#snmp-server host 172.18.42.10 public Router(config)#snmp-server enable traps Router(config)#exit Router#Router#write memory > Import the 2 routers in Netbrain with SNMP > Use Qmap in netbrain to either pull diagnostics or do show commands that will output data such as cpu, bandwidth etc. DO BELOW ONLY IF YOU ARE NOT GOING TO DO THE ABOVE NETBRAIN Questions Alternative to the NetBrain portion you can write a python script using the appropriate library to pull snmp information and print data such as cpu, bandwidth etc. 

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!