Network diagram There are two vIOS which are R1 and R2, they have their gi0/2 and gi0/3 connected to the R5 switch, the configuration is pushed from the cloud through their gi0/2 and gi0/3 to configure their gi0/0 to become OSPF neighbours. Objective To configure the two routers to become ospf neighbors, the OSPF configuration … Continue reading [python]Automating OSPF configuration of two routers
This is an example script based on this https://github.com/davidbombal/pythonvideos/blob/master/paramiko-pythonssh1.py It works almost like pexpect, however need to have a privilege 15 account to make the SSHClient work, as there is no input to accept enable secret. I was trying to figure out the feasibility of using API to push the configuration, I find the send … Continue reading [python]Example script on Cisco router
Previously I have successfully download the configuration from the netconf enabled router, now i have extended support to configure ospf. This is a simple lab to further extend and get myself familiarize and comfortable with netconf. During the lab I was careless, I inadvertently left a space on my netconf snippet that breaks my script … Continue reading Extending the python script to configure OSPF with ncclient
Facts about BGP weight attribute Cisco proprietary. Only available for Cisco routers, this attribute is not included in BGP update message. Because it is not included in update message, this attribute is only locally significant to one router. Because it is locally significant and only the configured router knows the weight, it is only viable … Continue reading BGP attributes: Weight
Revisit the configuration of the iBGP routers R2#sh run | s r b router bgp 2 bgp log-neighbor-changes neighbor 188.8.131.52 remote-as 2 neighbor 184.108.40.206 update-source Loopback2 neighbor 220.127.116.11 next-hop-self neighbor 18.104.22.168 remote-as 2 neighbor 22.214.171.124 update-source Loopback2 neighbor 126.96.36.199 next-hop-self neighbor 192.168.12.1 remote-as 1 R2# R3#sh run | s r b router bgp 2 bgp … Continue reading Is full meshed iBGP necessary?
Problem 1: Did not receive prefix advertised by BGP peer. R2#sh ip bgp summary BGP router identifier 188.8.131.52, local AS number 2 BGP table version is 1, main routing table version 1 Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd 192.168.12.1 4 1 44 43 1 0 0 00:36:08 0 R2 did not … Continue reading IP routing with BGP
The diagram Routing loop when vIOS2 (R2) is trying to reach 184.108.40.206 in vIOS1 (R1) R2#traceroute 220.127.116.11 numeric Type escape sequence to abort. Tracing the route to 18.104.22.168 VRF info: (vrf in name/id, vrf out name/id) 1 192.168.23.3 4 msec 4 msec 5 msec 2 192.168.34.4 4 msec 8 msec 5 msec 3 192.168.24.2 2 msec … Continue reading Solving routing loop problem due to poorly configured redistribution