Advertisement
Guest User

bgplab

a guest
Dec 14th, 2017
557
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 22.73 KB | None | 0 0
  1. R1#sh run
  2. Building configuration...
  3.  
  4. Current configuration : 3663 bytes
  5. !
  6. ! Last configuration change at 14:18:24 UTC Thu Dec 14 2017
  7. !
  8. version 15.6
  9. service timestamps debug datetime msec
  10. service timestamps log datetime msec
  11. service password-encryption
  12. !
  13. hostname R1
  14. !
  15. boot-start-marker
  16. boot-end-marker
  17. !
  18. shell processing full
  19. !
  20. no logging console
  21. enable secret 5 $1$xYtX$.0MVrRfmWk1403ESjCZgl0
  22. !
  23. no aaa new-model
  24. ethernet lmi ce
  25. !
  26. !
  27. !
  28. mmi polling-interval 60
  29. no mmi auto-configure
  30. no mmi pvc
  31. mmi snmp-timeout 180
  32. !
  33. !
  34. !
  35. !
  36. !
  37. !
  38. !
  39. !
  40. !
  41. !
  42. !
  43. ip domain lookup source-interface Loopback0
  44. ip domain name bgp.lab
  45. ip name-server 6.6.6.6
  46. ip cef
  47. no ipv6 cef
  48. !
  49. multilink bundle-name authenticated
  50. !
  51. !
  52. password encryption aes
  53. !
  54. !
  55. username cisco privilege 15 nohangup password 7 121A0C041104
  56. !
  57. redundancy
  58. !
  59. !
  60. track 55 ip route 55.55.55.55 255.255.255.255 reachability
  61. delay down 3 up 80
  62. !
  63. !
  64. !
  65. !
  66. !
  67. !
  68. !
  69. !
  70. !
  71. !
  72. !
  73. !
  74. !
  75. !
  76. interface Loopback0
  77. ip address 11.11.11.11 255.255.255.0
  78. !
  79. interface GigabitEthernet0/0
  80. description ### MANAGEMENT ###
  81. ip address 10.255.0.65 255.255.0.0
  82. duplex auto
  83. speed auto
  84. media-type rj45
  85. no cdp enable
  86. !
  87. interface GigabitEthernet0/1
  88. description *** LINK to R2 ***
  89. ip address 192.168.12.1 255.255.255.0
  90. ip access-group 101 in
  91. ip access-group 101 out
  92. duplex auto
  93. speed auto
  94. media-type rj45
  95. !
  96. interface GigabitEthernet0/2
  97. no ip address
  98. shutdown
  99. duplex auto
  100. speed auto
  101. media-type rj45
  102. !
  103. router bgp 1
  104. bgp log-neighbor-changes
  105. network 11.11.11.11 mask 255.255.255.255
  106. neighbor 192.168.12.2 remote-as 237
  107. !
  108. ip forward-protocol nd
  109. !
  110. !
  111. no ip http server
  112. no ip http secure-server
  113. !
  114. !
  115. !
  116. access-list 101 deny tcp any any eq bgp
  117. access-list 101 permit ip any any
  118. !
  119. control-plane
  120. !
  121. banner exec ^C
  122. +++++ TICKET 1 +++++
  123.  
  124. Fix the issues to be able to telnet into R2s loopback address from R1s loopback address
  125. R1 Lo0: 11.11.11.11
  126. R2 Lo0: 22.22.22.22
  127.  
  128. +++++ EOF +++++
  129. ^C
  130. banner login ^C
  131.  
  132. ................................................................................
  133. .%%%%%....%%%%...%%%%%...........%%%%%%...%%%%...%%..%%...%%%%....%%%%...%%%%%%.
  134. .%%..%%..%%......%%..%%............%%....%%......%%..%%..%%..%%..%%..%%....%%...
  135. .%%%%%...%%.%%%..%%%%%.............%%.....%%%%...%%%%%%..%%..%%..%%..%%....%%...
  136. .%%..%%..%%..%%..%%................%%........%%..%%..%%..%%..%%..%%..%%....%%...
  137. .%%%%%....%%%%...%%................%%.....%%%%...%%..%%...%%%%....%%%%.....%%...
  138. ................................................................................
  139. .....%%%%...%%..%%...%%%%...%%......%%......%%%%%%..%%..%%...%%%%...%%%%%%......
  140. ....%%..%%..%%..%%..%%..%%..%%......%%......%%......%%%.%%..%%......%%..........
  141. ....%%......%%%%%%..%%%%%%..%%......%%......%%%%....%%.%%%..%%.%%%..%%%%........
  142. ....%%..%%..%%..%%..%%..%%..%%......%%......%%......%%..%%..%%..%%..%%..........
  143. .....%%%%...%%..%%..%%..%%..%%%%%%..%%%%%%..%%%%%%..%%..%%...%%%%...%%%%%%......
  144. ................................................................................
  145.  
  146. Username / Password : cisco
  147. GOOD LUCK :)
  148. ^C
  149. !
  150. line con 0
  151. line aux 0
  152. line vty 0 4
  153. exec-timeout 0 0
  154. login local
  155. transport input all
  156. line vty 5 924
  157. login
  158. transport input all
  159. !
  160. no scheduler allocate
  161. event manager session cli username "cisco" privilege 15
  162. event manager applet SUCCESSFUL
  163. event track 55 state up
  164. action 10 syslog msg " BGP FLAPPING ISSUE SOLVED - Next task can be found in Ticket5.txt file stored on NVRAM of R1"
  165. action 20 puts nonewline "BGP FLAPPING ISSUE SOLVED - Next task can be found in Ticket5.txt stored on NVRAM of R1"
  166. action 60 cli command "send *" pattern "CTRL/C:"
  167. action 70 cli command "BGP FLAPPING ISSUE SOLVED - Next task can be found in Ticket5.txt stored on NVRAM of R1^Z"
  168. action 80 cli command "end"
  169. !
  170. end
  171.  
  172.  
  173. User Access Verification
  174.  
  175. Username: cisco
  176. Password:
  177. +++++ TICKET 2 +++++
  178.  
  179. R3 is not forming BGP neighborship with any of the routers within the R2-R3-R7 triangular.
  180. Fix the issue to make the network stable within AS237
  181.  
  182. NOTE: As soon as the issue resolved, a script will run and generate a vty message which will be sent your line with the details of Ticket3
  183.  
  184. +++++ EOF +++++
  185.  
  186. R2#
  187. R2#
  188. R2#
  189. R2#
  190. R2#
  191. R2#
  192. R2#
  193. R2#
  194. R2#
  195. R2#sh run
  196. Building configuration...
  197.  
  198. Current configuration : 3270 bytes
  199. !
  200. ! Last configuration change at 14:19:01 UTC Thu Dec 14 2017
  201. !
  202. version 15.6
  203. service timestamps debug datetime msec
  204. service timestamps log datetime msec
  205. service password-encryption
  206. !
  207. hostname R2
  208. !
  209. boot-start-marker
  210. boot-end-marker
  211. !
  212. !
  213. no logging console
  214. enable secret 5 $1$jHc2$.Uv/LL.tAzF8PTDeKPZ2P1
  215. !
  216. no aaa new-model
  217. ethernet lmi ce
  218. !
  219. !
  220. !
  221. mmi polling-interval 60
  222. no mmi auto-configure
  223. no mmi pvc
  224. mmi snmp-timeout 180
  225. !
  226. !
  227. !
  228. !
  229. !
  230. !
  231. !
  232. !
  233. !
  234. !
  235. !
  236. no ip domain lookup
  237. ip domain name bgp.lab
  238. ip cef
  239. no ipv6 cef
  240. !
  241. multilink bundle-name authenticated
  242. !
  243. !
  244. password encryption aes
  245. !
  246. !
  247. username cisco privilege 15 password 7 121A0C041104
  248. !
  249. redundancy
  250. !
  251. !
  252. !
  253. !
  254. !
  255. !
  256. !
  257. !
  258. !
  259. !
  260. !
  261. !
  262. !
  263. !
  264. !
  265. interface Loopback0
  266. ip address 22.22.22.22 255.255.255.255
  267. !
  268. interface GigabitEthernet0/0
  269. description ### MANAGEMENT ###
  270. ip address 10.255.1.98 255.255.0.0
  271. shutdown
  272. duplex auto
  273. speed auto
  274. media-type rj45
  275. !
  276. interface GigabitEthernet0/1
  277. description *** LINK to R1 ***
  278. ip address 192.168.12.2 255.255.255.0
  279. ip access-group 101 in
  280. duplex auto
  281. speed auto
  282. media-type rj45
  283. !
  284. interface GigabitEthernet0/2
  285. description *** LINK to R3 ***
  286. ip address 192.168.23.2 255.255.255.0
  287. duplex auto
  288. speed auto
  289. media-type rj45
  290. !
  291. interface GigabitEthernet0/3
  292. description *** LINK to R7 ***
  293. ip address 192.168.27.2 255.255.255.0
  294. duplex auto
  295. speed auto
  296. media-type rj45
  297. !
  298. router ospf 237
  299. network 22.22.22.22 0.0.0.0 area 0
  300. network 192.168.23.0 0.0.0.255 area 0
  301. network 192.168.27.0 0.0.0.255 area 0
  302. !
  303. router bgp 237
  304. bgp log-neighbor-changes
  305. network 22.22.22.22 mask 255.255.255.255
  306. neighbor INTERNAL peer-group
  307. neighbor INTERNAL password 7 121A0C041104
  308. neighbor INTERNAL update-source Loopback0
  309. neighbor 33.33.33.33 remote-as 237
  310. neighbor 33.33.33.33 peer-group INTERNAL
  311. neighbor 77.77.77.77 remote-as 237
  312. neighbor 77.77.77.77 peer-group INTERNAL
  313. neighbor 192.168.12.1 remote-as 1
  314. !
  315. ip forward-protocol nd
  316. !
  317. !
  318. no ip http server
  319. no ip http secure-server
  320. !
  321. !
  322. !
  323. access-list 1 permit 11.11.11.11
  324. access-list 1 permit 44.44.44.44
  325. access-list 1 deny 192.168.12.1
  326. access-list 1 permit any
  327. access-list 101 deny tcp any any eq bgp
  328. access-list 101 permit ip any any
  329. !
  330. control-plane
  331. !
  332. banner exec ^C
  333. +++++ TICKET 2 +++++
  334.  
  335. R3 is not forming BGP neighborship with any of the routers within the R2-R3-R7 triangular.
  336. Fix the issue to make the network stable within AS237
  337.  
  338. NOTE: As soon as the issue resolved, a script will run and generate a vty message which will be sent your line with the details of Ticket3
  339.  
  340. +++++ EOF +++++
  341. ^C
  342. banner motd ^C
  343.  
  344. ##### ####### # # # ####### # # # # ####### ######
  345. # # # # # # # # # # ## # # # #
  346. # # # # # # # # # # # # # # #
  347. ##### # # # # # # # # # # ##### # #
  348. # # ####### # # # # # # # # # #
  349. # # # # # # # # # # ## # # #
  350. ##### # # # # # ##### # # ####### ######
  351.  
  352. ^C
  353. !
  354. line con 0
  355. line aux 0
  356. line vty 0 4
  357. access-class 1 in
  358. exec-timeout 0 0
  359. login local
  360. transport input all
  361. line vty 5 924
  362. access-class 1 in
  363. exec-timeout 0 0
  364. login local
  365. transport input all
  366. !
  367. no scheduler allocate
  368. !
  369. end
  370.  
  371. R2#
  372.  
  373.  
  374. R3#sh run
  375. Building configuration...
  376.  
  377. Current configuration : 4179 bytes
  378. !
  379. ! Last configuration change at 14:16:54 UTC Thu Dec 14 2017
  380. !
  381. version 15.6
  382. service timestamps debug datetime msec
  383. service timestamps log datetime msec
  384. service password-encryption
  385. !
  386. hostname R3
  387. !
  388. boot-start-marker
  389. boot-end-marker
  390. !
  391. !
  392. no logging console
  393. enable password 7 1511021F0725
  394. !
  395. no aaa new-model
  396. ethernet lmi ce
  397. !
  398. !
  399. !
  400. mmi polling-interval 60
  401. no mmi auto-configure
  402. no mmi pvc
  403. mmi snmp-timeout 180
  404. !
  405. !
  406. !
  407. !
  408. !
  409. !
  410. !
  411. !
  412. !
  413. !
  414. !
  415. no ip domain lookup
  416. ip domain name bgp.lab
  417. ip cef
  418. no ipv6 cef
  419. !
  420. multilink bundle-name authenticated
  421. !
  422. !
  423. password encryption aes
  424. !
  425. !
  426. username cisco privilege 15 password 7 02050D480809
  427. !
  428. redundancy
  429. !
  430. !
  431. !
  432. !
  433. !
  434. !
  435. !
  436. !
  437. !
  438. !
  439. !
  440. !
  441. !
  442. !
  443. !
  444. interface Loopback0
  445. ip address 33.33.33.33 255.255.255.255
  446. !
  447. interface GigabitEthernet0/0
  448. description ### MANAGEMENT ###
  449. ip address 10.255.1.99 255.255.0.0
  450. duplex auto
  451. speed auto
  452. media-type rj45
  453. !
  454. interface GigabitEthernet0/1
  455. description *** LINK to R7 ***
  456. ip address 192.168.37.3 255.255.255.0
  457. duplex auto
  458. speed auto
  459. media-type rj45
  460. !
  461. interface GigabitEthernet0/2
  462. description *** LINK to R2 ***
  463. ip address 192.168.23.3 255.255.255.0
  464. duplex auto
  465. speed auto
  466. media-type rj45
  467. !
  468. interface GigabitEthernet0/3
  469. description *** LINK to R4 ***
  470. ip address 192.168.34.3 255.255.255.0
  471. duplex auto
  472. speed auto
  473. media-type rj45
  474. !
  475. router ospf 237
  476. network 33.33.33.33 0.0.0.0 area 0
  477. network 192.168.23.0 0.0.0.255 area 0
  478. network 192.168.37.0 0.0.0.255 area 0
  479. !
  480. router bgp 237
  481. bgp log-neighbor-changes
  482. network 33.33.33.33 mask 255.255.255.255
  483. neighbor INTERNAL peer-group
  484. neighbor INTERNAL password 7 0822455D0A1645
  485. neighbor INTERNAL update-source Loopback0
  486. neighbor 22.22.22.22 remote-as 237
  487. neighbor 77.77.77.77 remote-as 237
  488. neighbor 192.168.34.4 remote-as 45
  489. neighbor 192.168.34.4 route-map TEST out
  490. !
  491. ip forward-protocol nd
  492. !
  493. !
  494. no ip http server
  495. no ip http secure-server
  496. !
  497. !
  498. ip prefix-list SUBNETS seq 5 permit 22.22.22.22/32
  499. ip prefix-list SUBNETS seq 10 permit 33.33.33.33/32
  500. ip prefix-list SUBNETS seq 15 permit 77.77.77.77/32
  501. ip prefix-list SUBNETS seq 20 permit 11.11.11.11/32
  502. !
  503. route-map TEST permit 10
  504. match ip address prefix-list SUBNETS
  505. !
  506. !
  507. !
  508. control-plane
  509. !
  510. banner exec ^C
  511. **************************************************************************
  512. * IOSv is strictly limited to use for evaluation, demonstration and IOS *
  513. * education. IOSv is provided as-is and is not supported by Cisco's *
  514. * Technical Advisory Center. Any use or disclosure, in whole or in part, *
  515. * of the IOSv Software or Documentation to any third party for any *
  516. * purposes is expressly prohibited except as otherwise authorized by *
  517. * Cisco in writing. *
  518. **************************************************************************^C
  519. banner incoming ^C
  520. **************************************************************************
  521. * IOSv is strictly limited to use for evaluation, demonstration and IOS *
  522. * education. IOSv is provided as-is and is not supported by Cisco's *
  523. * Technical Advisory Center. Any use or disclosure, in whole or in part, *
  524. * of the IOSv Software or Documentation to any third party for any *
  525. * purposes is expressly prohibited except as otherwise authorized by *
  526. * Cisco in writing. *
  527. **************************************************************************^C
  528. banner login ^C
  529. **************************************************************************
  530. * IOSv is strictly limited to use for evaluation, demonstration and IOS *
  531. * education. IOSv is provided as-is and is not supported by Cisco's *
  532. * Technical Advisory Center. Any use or disclosure, in whole or in part, *
  533. * of the IOSv Software or Documentation to any third party for any *
  534. * purposes is expressly prohibited except as otherwise authorized by *
  535. * Cisco in writing. *
  536. **************************************************************************^C
  537. !
  538. line con 0
  539. line aux 0
  540. line vty 0 4
  541. exec-timeout 0 0
  542. login local
  543. transport input all
  544. line vty 5 924
  545. exec-timeout 0 0
  546. login local
  547. transport input all
  548. !
  549. no scheduler allocate
  550. !
  551. end
  552.  
  553. R3#
  554.  
  555. R7#sh run
  556. Building configuration...
  557.  
  558. Current configuration : 4207 bytes
  559. !
  560. ! Last configuration change at 14:17:50 UTC Thu Dec 14 2017
  561. !
  562. version 15.6
  563. service timestamps debug datetime msec
  564. service timestamps log datetime msec
  565. service password-encryption
  566. !
  567. hostname R7
  568. !
  569. boot-start-marker
  570. boot-end-marker
  571. !
  572. !
  573. no logging console
  574. enable secret 5 $1$R24z$bZvB0HxVDNxZpZsBsAYmT0
  575. !
  576. no aaa new-model
  577. ethernet lmi ce
  578. !
  579. !
  580. !
  581. mmi polling-interval 60
  582. no mmi auto-configure
  583. no mmi pvc
  584. mmi snmp-timeout 180
  585. !
  586. !
  587. !
  588. !
  589. !
  590. !
  591. !
  592. !
  593. !
  594. !
  595. !
  596. no ip domain lookup
  597. ip domain name bgp.lab
  598. ip cef
  599. no ipv6 cef
  600. !
  601. multilink bundle-name authenticated
  602. !
  603. !
  604. password encryption aes
  605. !
  606. !
  607. username cisco privilege 15 password 7 121A0C041104
  608. !
  609. redundancy
  610. !
  611. !
  612. !
  613. !
  614. !
  615. !
  616. !
  617. !
  618. !
  619. !
  620. !
  621. !
  622. !
  623. !
  624. !
  625. interface Loopback0
  626. ip address 77.77.77.77 255.255.255.255
  627. !
  628. interface GigabitEthernet0/0
  629. ip address 10.255.1.103 255.255.0.0
  630. shutdown
  631. duplex auto
  632. speed auto
  633. media-type rj45
  634. !
  635. interface GigabitEthernet0/1
  636. description *** LINK to R2 ***
  637. ip address 192.168.27.7 255.255.255.0
  638. duplex auto
  639. speed auto
  640. media-type rj45
  641. !
  642. interface GigabitEthernet0/2
  643. description *** LINK to R3 ***
  644. ip address 192.168.37.7 255.255.255.0
  645. duplex auto
  646. speed auto
  647. media-type rj45
  648. !
  649. interface GigabitEthernet0/3
  650. description *** LINK to R4 ***
  651. ip address 192.168.47.7 255.255.255.0
  652. duplex auto
  653. speed auto
  654. media-type rj45
  655. !
  656. router ospf 237
  657. network 77.77.77.77 0.0.0.0 area 0
  658. network 192.168.27.0 0.0.0.255 area 0
  659. network 192.168.37.0 0.0.0.255 area 0
  660. !
  661. router bgp 237
  662. bgp log-neighbor-changes
  663. network 77.77.77.77 mask 255.255.255.255
  664. neighbor INTERNAL peer-group
  665. neighbor INTERNAL password 7 045802150C2E
  666. neighbor INTERNAL update-source Loopback0
  667. neighbor 22.22.22.22 remote-as 237
  668. neighbor 22.22.22.22 peer-group INTERNAL
  669. neighbor 33.33.33.33 remote-as 237
  670. neighbor 33.33.33.33 peer-group INTERNAL
  671. neighbor 192.168.47.4 remote-as 45
  672. neighbor 192.168.47.4 route-map TEST out
  673. !
  674. ip forward-protocol nd
  675. !
  676. !
  677. no ip http server
  678. no ip http secure-server
  679. !
  680. !
  681. ip prefix-list SUBNETS seq 5 permit 22.22.22.22/32
  682. ip prefix-list SUBNETS seq 10 permit 33.33.33.33/32
  683. ip prefix-list SUBNETS seq 15 permit 77.77.77.77/32
  684. !
  685. route-map TEST permit 10
  686. match ip address prefix-list SUBNETS
  687. !
  688. !
  689. !
  690. control-plane
  691. !
  692. banner exec ^CC
  693. **************************************************************************
  694. * IOSv is strictly limited to use for evaluation, demonstration and IOS *
  695. * education. IOSv is provided as-is and is not supported by Cisco's *
  696. * Technical Advisory Center. Any use or disclosure, in whole or in part, *
  697. * of the IOSv Software or Documentation to any third party for any *
  698. * purposes is expressly prohibited except as otherwise authorized by *
  699. * Cisco in writing. *
  700. **************************************************************************^C
  701. banner incoming ^CC
  702. **************************************************************************
  703. * IOSv is strictly limited to use for evaluation, demonstration and IOS *
  704. * education. IOSv is provided as-is and is not supported by Cisco's *
  705. * Technical Advisory Center. Any use or disclosure, in whole or in part, *
  706. * of the IOSv Software or Documentation to any third party for any *
  707. * purposes is expressly prohibited except as otherwise authorized by *
  708. * Cisco in writing. *
  709. **************************************************************************^C
  710. banner login ^CC
  711. **************************************************************************
  712. * IOSv is strictly limited to use for evaluation, demonstration and IOS *
  713. * education. IOSv is provided as-is and is not supported by Cisco's *
  714. * Technical Advisory Center. Any use or disclosure, in whole or in part, *
  715. * of the IOSv Software or Documentation to any third party for any *
  716. * purposes is expressly prohibited except as otherwise authorized by *
  717. * Cisco in writing. *
  718. **************************************************************************^C
  719. !
  720. line con 0
  721. line aux 0
  722. line vty 0 4
  723. exec-timeout 0 0
  724. login local
  725. transport input all
  726. line vty 5 924
  727. exec-timeout 0 0
  728. login local
  729. transport input all
  730. !
  731. no scheduler allocate
  732. !
  733. end
  734.  
  735. R7#
  736.  
  737. R4#sh run
  738. Building configuration...
  739.  
  740. Current configuration : 6170 bytes
  741. !
  742. ! Last configuration change at 14:20:25 UTC Thu Dec 14 2017
  743. !
  744. version 15.6
  745. service timestamps debug datetime msec
  746. service timestamps log datetime msec
  747. service password-encryption
  748. !
  749. hostname R4
  750. !
  751. boot-start-marker
  752. boot-end-marker
  753. !
  754. !
  755. no logging console
  756. enable secret 5 $1$whea$ImQLNKpDiiKop58l.QP6B.
  757. !
  758. no aaa new-model
  759. ethernet lmi ce
  760. !
  761. !
  762. !
  763. mmi polling-interval 60
  764. no mmi auto-configure
  765. no mmi pvc
  766. mmi snmp-timeout 180
  767. !
  768. !
  769. !
  770. !
  771. !
  772. !
  773. !
  774. !
  775. !
  776. !
  777. !
  778. no ip domain lookup
  779. ip domain name bgp.lab
  780. ip cef
  781. no ipv6 cef
  782. !
  783. multilink bundle-name authenticated
  784. !
  785. !
  786. password encryption aes
  787. !
  788. !
  789. username cisco privilege 15 password 7 030752180500
  790. !
  791. redundancy
  792. !
  793. !
  794. track 22 ip route 22.22.22.22 255.255.255.255 reachability
  795. delay down 2 up 2
  796. !
  797. track 27 list boolean and
  798. object 22
  799. object 77
  800. !
  801. track 33 ip route 33.33.33.33 255.255.255.255 reachability
  802. !
  803. track 55 ip route 55.55.55.55 255.255.255.255 reachability
  804. delay down 2 up 50
  805. !
  806. track 77 ip route 77.77.77.77 255.255.255.255 reachability
  807. delay down 2 up 2
  808. !
  809. track 237 list boolean and
  810. object 22
  811. object 33
  812. !
  813. !
  814. !
  815. !
  816. !
  817. !
  818. !
  819. !
  820. !
  821. !
  822. !
  823. !
  824. !
  825. !
  826. interface Loopback0
  827. ip address 44.44.44.44 255.255.255.255
  828. !
  829. interface GigabitEthernet0/0
  830. description ### MANAGEMENT ###
  831. ip address 10.255.1.100 255.255.0.0
  832. shutdown
  833. duplex auto
  834. speed auto
  835. media-type rj45
  836. !
  837. interface GigabitEthernet0/1
  838. description *** LINK to R3 ***
  839. ip address 192.168.34.4 255.255.255.0
  840. duplex auto
  841. speed auto
  842. media-type rj45
  843. !
  844. interface GigabitEthernet0/2
  845. description *** LINK to R7 ***
  846. ip address 192.168.47.4 255.255.255.0
  847. duplex auto
  848. speed auto
  849. media-type rj45
  850. !
  851. interface GigabitEthernet0/3
  852. description *** LINK to R5 ***
  853. ip address 192.168.45.4 255.255.255.0
  854. duplex auto
  855. speed auto
  856. media-type rj45
  857. !
  858. router ospf 45
  859. network 44.44.44.44 0.0.0.0 area 0
  860. network 192.168.45.0 0.0.0.255 area 0
  861. distance 210
  862. !
  863. router bgp 45
  864. bgp router-id 44.44.44.44
  865. bgp log-neighbor-changes
  866. network 44.44.44.44 mask 255.255.255.255
  867. timers bgp 1 3
  868. neighbor 55.55.55.55 remote-as 45
  869. neighbor 55.55.55.55 update-source Loopback0
  870. neighbor 55.55.55.55 next-hop-self
  871. neighbor 192.168.34.3 remote-as 237
  872. neighbor 192.168.34.3 weight 100
  873. neighbor 192.168.47.7 remote-as 237
  874. neighbor 192.168.47.7 weight 50
  875. neighbor 192.168.47.7 route-map temp in
  876. !
  877. ip forward-protocol nd
  878. !
  879. !
  880. no ip http server
  881. no ip http secure-server
  882. !
  883. !
  884. ip prefix-list temp22 seq 5 permit 22.22.22.22/32
  885. ip prefix-list temp22 seq 10 permit 77.77.77.77/32
  886. !
  887. route-map temp deny 10
  888. match ip address prefix-list temp22
  889. !
  890. route-map temp permit 20
  891. !
  892. !
  893. access-list 1 permit 11.11.11.11
  894. !
  895. control-plane
  896. !
  897. banner exec ^C
  898. +++++ TICKET 4 +++++
  899.  
  900. BGP is flapping between R4 and R5. Due to this issue the network is not in a converged state.
  901. Fix the issue to make the network stable, and get 55.55.55.55/32 installed in R1s RIB properly
  902. NOTE: In some cases, you need to wait up to 90 sec to confirm the correct solution.
  903. A syslog message will be generated on R1,R4 as soon as the problem solved.
  904.  
  905. R1 Lo0: 11.11.11.11
  906. R5 Lo0: 55.55,.55.55
  907.  
  908. +++++ EOF +++++
  909. ^C
  910. !
  911. line con 0
  912. line aux 0
  913. line vty 0 4
  914. access-class 1 in
  915. exec-timeout 0 0
  916. login local
  917. transport input all
  918. line vty 5 924
  919. access-class 1 in
  920. exec-timeout 0 0
  921. login local
  922. transport input all
  923. !
  924. no scheduler allocate
  925. event manager session cli username "cisco" privilege 15
  926. event manager applet SENDMSG
  927. event none
  928. action 10 handle-error type ignore
  929. action 20 cli command "telnet 192.168.47.7" pattern "name:"
  930. action 25 cli command "cisco" pattern "assword:"
  931. action 30 cli command "cisco" pattern "#"
  932. action 35 cli command "telnet 192.168.23.2" pattern "name:"
  933. action 36 cli command "cisco" pattern "assword:"
  934. action 37 cli command "cisco" pattern "#"
  935. action 40 cli command "telnet 192.168.12.1" pattern "name:"
  936. action 42 cli command "cisco" pattern "assword:"
  937. action 44 cli command "cisco" pattern "#"
  938. action 55 cli command "send log TICKET3: iBGP session are UP - Need to find the next issue to be able to login from R1s Lo0 to R4s lo0 (44.44.44.44)" pattern "#"
  939. action 60 cli command "send *" pattern "CTRL/C:"
  940. action 70 cli command "+++++ TICKET 3 +++++
  941. GREAT WORK - Please login into R4s loopback address from R1s loopback address
  942. R4 Loopback is 44.44.44.44
  943.  
  944. +++++ END ++++^Z" pattern "[confirm]"
  945. action 80 cli command "
  946. " pattern "#"
  947. action 90 cli command "end"
  948. action 95 cli command "exit"
  949. action 99 syslog msg "MSG SENT TO ALL"
  950. event manager applet SENDMSG2
  951. event none maxrun 60
  952. action 20 cli command "telnet 192.168.47.7" pattern "name:"
  953. action 22 cli command "cisco" pattern "assword:"
  954. action 24 cli command "cisco" pattern "#"
  955. action 28 cli command "send log 1 "TICKET3: iBGP session are UP - Need to find the next issue to be able to login from R1s Lo0 to R4s lo0 (44.44.44.44)"" pattern "#"
  956. action 30 cli command "telnet 192.168.37.3" pattern "name:"
  957. action 32 cli command "cisco" pattern "assword:"
  958. action 34 cli command "cisco" pattern "#"
  959. action 40 cli command "telnet 192.168.23.2" pattern "name:"
  960. action 42 cli command "cisco" pattern "assword:"
  961. action 44 cli command "cisco" pattern "#"
  962. action 48 cli command "send log 1 "TICKET3: iBGP session are UP - Need to find the next issue to be able to login from R1s Lo0 to R4s lo0 (44.44.44.44)"" pattern "#"
  963. action 50 cli command "telnet 192.168.12.1" pattern "name:"
  964. action 52 cli command "cisco" pattern "assword:"
  965. action 54 cli command "cisco" pattern "#"
  966. action 58 cli command "send log 1 "TICKET3: iBGP session are UP - Need to find the next issue to be able to login from R1s Lo0 to R4s lo0 (44.44.44.44)"" pattern "#"
  967. action 60 cli command "send *" pattern "CTRL/C:"
  968. action 70 cli command "+++++ TICKET 3 +++++
  969. GREAT WORK - Please login into R4s loopback address from R1s loopback address
  970. R4 Loopback is 44.44.44.44"
  971. action 91 cli command "quit"
  972. action 92 cli command "quit"
  973. action 93 cli command "quit"
  974. action 94 cli command "quit"
  975. action 99 syslog msg "MSG SENT TO ALL"
  976. event manager applet TICKET3-1
  977. event track 27 state up maxrun 3
  978. action 10 cli command "event manager run SENDMSG" pattern "#"
  979. event manager applet TICKET3-2
  980. event track 27 state up maxrun 3
  981. action 10 cli command "event manager run SENDMSG2" pattern "#"
  982. !
  983. end
  984.  
  985. R4#
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement