Advertisement
Krakozaber

Untitled

Dec 29th, 2015
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 38.34 KB | None | 0 0
  1. ./noc debug-script get_lldp_neighbors switch9 > /tmp/123
  2. 2015-12-29 17:49:45,693 Using JSON library: cjson
  3. 2015-12-29 17:49:45,717 SSH: Using gmpy
  4. 2015-12-29 17:49:45,935 Connecting to MongoDB {'username': 'noc', 'password': '********', 'db': 'noc'}
  5. 2015-12-29 17:49:46,025 Connecting to MongoDB {'username': 'noc', 'password': '********', 'db': 'noc'}
  6. 2015-12-29 17:49:46,031 Loading PeriodicRegistry
  7. 2015-12-29 17:49:46,039 Registering MetricType
  8. 2015-12-29 17:49:46,043 Loading compiled MIBs
  9. 2015-12-29 17:49:46,043 Loading compiled MIBs from 'cmibs'
  10. 2015-12-29 17:49:46,044 Loading MIB: SNMPv2-MIB
  11. 2015-12-29 17:49:46,044 Loading MIB: RFC1213-MIB
  12. 2015-12-29 17:49:46,044 Loading MIB: IF-MIB
  13. 2015-12-29 17:49:46,045 Loading MIB: CISCO-PPPOE-MIB
  14. 2015-12-29 17:49:46,045 Loading MIB: CISCO-VPDN-MGMT-MIB
  15. 2015-12-29 17:49:46,045 Loading MIB: IP-MIB
  16. 2015-12-29 17:49:46,050 Configuring metric mappings sa.managedobject -> object.{{object.name|qm}}.{{metric_type|qm}}
  17. 2015-12-29 17:49:46,050 Configuring metric mappings inv.interface -> object.{{object.managed_object.name|qm}}.interface.{{object.name|qm}}.{{metric_type|qm}}
  18. 2015-12-29 17:49:46,052 Loading DownloaderRegistry
  19. 2015-12-29 17:49:46,078 Loading ProfileRegistry
  20. 2015-12-29 17:49:47,389 Loading ScriptRegistry
  21. 2015-12-29 17:49:47,471 Adding FTS index for sa.managedobject
  22. 2015-12-29 17:49:47,480 Registering ConnectionType
  23. 2015-12-29 17:49:47,484 Registering ObjectModel
  24. 2015-12-29 17:49:47,486 Registering Capability
  25. 2015-12-29 17:49:47,490 Adding FTS index for vc.vc
  26. 2015-12-29 17:49:47,501 Adding FTS index for ip.vrf
  27. 2015-12-29 17:49:47,502 Adding FTS index for ip.prefix
  28. 2015-12-29 17:49:47,504 Adding FTS index for ip.address
  29. 2015-12-29 17:49:47,654 Setting up 'select' polling method
  30. 2015-12-29 17:49:47,654 Activating 'select' poller
  31. 2015-12-29 17:49:47,655 Loading private ssh key from 'etc/ssh/id_rsa'
  32. 2015-12-29 17:49:47,655 Loading public ssh key from 'etc/ssh/id_rsa.pub'
  33. 2015-12-29 17:49:47,657 Running socket factory (SelectPoller)
  34. 2015-12-29 17:49:47,657 Running script thread
  35. 2015-12-29 17:49:47,658 Creating transaction id=1827393724 method=None callback=None
  36. 2015-12-29 17:49:47,658 Capabilities: {u'SNMP | IF-MIB': True, u'SNMP | Bulk': True, u'SNMP': True, u'SNMP | IF-MIB | HC': True}
  37. 2015-12-29 17:49:47,659 Running
  38. 2015-12-29 17:49:47,659 Running script: Cisco.IOS.get_lldp_neighbors ({}), timeout 120s
  39. 2015-12-29 17:49:47,659 cli(show lldp neighbors)
  40. 2015-12-29 17:49:47,659 Running new provider
  41. 2015-12-29 17:49:47,660 [TELNET: 10.1.4.25] ==> START
  42. 2015-12-29 17:49:47,660 [TELNET: 10.1.4.25] set_patterns([('([Uu]sername|[Ll]ogin):', 'USERNAME'), ('[Pp]assword:', 'PASSWORD'), ('^\\S+?>', 'UNPRIVELEGED_PROMPT'), ('^(?P<hostname>[a-zA-Z0-9]\\S{0,19})(?:[-_\\d\\w]+)?(?:\\(config[^\\)]*\\))?#', 'PROMPT'), ('(^ --More--)|((?:\\?|interfaces)\\s*\\[confirm\\])', 'PAGER')])
  43. 2015-12-29 17:49:47,661 [TELNET: 10.1.4.25] Set FSM timeout to 30
  44. 2015-12-29 17:49:47,662 Register socket CLITelnetSocket 10.1.4.25:23 (None)
  45. 2015-12-29 17:49:48,658 Tick
  46. 2015-12-29 17:49:48,658 3 TICKS TO EXIT
  47. 2015-12-29 17:49:48,658 [TELNET: 10.1.4.25] Initializing socket
  48. 2015-12-29 17:49:48,659 [CLITelnetSocket 10.1.4.25:23] Connecting 10.1.4.25:23
  49. 2015-12-29 17:49:48,662 [CLITelnetSocket 10.1.4.25:23] create_socket returns non-zero code 115[EINPROGRESS]
  50. 2015-12-29 17:49:48,663 [CLITelnetSocket 10.1.4.25:23] Connected
  51. 2015-12-29 17:49:48,664 [TELNET: 10.1.4.25] Received IAC WILL ECHO (251 1)
  52. 2015-12-29 17:49:48,665 [TELNET: 10.1.4.25] Sending IAC DO ECHO (253 1)
  53. 2015-12-29 17:49:48,666 [TELNET: 10.1.4.25] Received IAC WILL SGA (251 3)
  54. 2015-12-29 17:49:48,667 [TELNET: 10.1.4.25] Sending IAC DO SGA (253 3)
  55. 2015-12-29 17:49:48,668 [TELNET: 10.1.4.25] Received IAC DO TTYPE (253 24)
  56. 2015-12-29 17:49:48,668 [TELNET: 10.1.4.25] Sending IAC WILL TTYPE (251 24)
  57. 2015-12-29 17:49:48,669 [TELNET: 10.1.4.25] Received IAC DO NAWS (253 31)
  58. 2015-12-29 17:49:48,670 [TELNET: 10.1.4.25] Sending IAC WILL NAWS (251 31)
  59. 2015-12-29 17:49:48,670 [TELNET: 10.1.4.25] Sending SB '\xff\xfa\x1f\xff\xff\xff\xff\xff\xf0'
  60. 2015-12-29 17:49:48,671 [TELNET: 10.1.4.25] on_read: '\r\nUser Access Verification\r\n\r\nPassword: '
  61. 2015-12-29 17:49:48,672 [TELNET: 10.1.4.25] Starting synchronous FSM check
  62. 2015-12-29 17:49:48,673 [TELNET: 10.1.4.25] match '[Pp]assword:'
  63. 2015-12-29 17:49:48,673 [TELNET: 10.1.4.25] event(PASSWORD)
  64. 2015-12-29 17:49:48,674 [TELNET: 10.1.4.25] ==> PASSWORD
  65. 2015-12-29 17:49:48,675 [TELNET: 10.1.4.25] set_patterns([('^\\S+?>', 'UNPRIVELEGED_PROMPT'), ('^(?P<hostname>[a-zA-Z0-9]\\S{0,19})(?:[-_\\d\\w]+)?(?:\\(config[^\\)]*\\))?#', 'PROMPT'), ('([Uu]sername|[Ll]ogin):', 'USERNAME'), ('[Pp]assword:', 'PASSWORD'), ('(^ --More--)|((?:\\?|interfaces)\\s*\\[confirm\\])', 'PAGER')])
  66. 2015-12-29 17:49:48,676 [TELNET: 10.1.4.25] submit(u'mozilla', bulk_lines=None, streaming=False)
  67. 2015-12-29 17:49:48,677 [TELNET: 10.1.4.25] Received SB '\x18\x01'
  68. 2015-12-29 17:49:48,678 [TELNET: 10.1.4.25] Sending SB '\xff\xfa\x18\x00XTERM\xff\xf0'
  69. 2015-12-29 17:49:48,680 [TELNET: 10.1.4.25] on_read: '\r\nswitch9>'
  70. 2015-12-29 17:49:48,680 [TELNET: 10.1.4.25] Starting synchronous FSM check
  71. 2015-12-29 17:49:48,681 [TELNET: 10.1.4.25] match '^\S+?>'
  72. 2015-12-29 17:49:48,682 [TELNET: 10.1.4.25] event(UNPRIVELEGED_PROMPT)
  73. 2015-12-29 17:49:48,683 [TELNET: 10.1.4.25] ==> UNPRIVELEGED_PROMPT
  74. 2015-12-29 17:49:48,683 [TELNET: 10.1.4.25] set_patterns([('([Uu]sername|[Ll]ogin):', 'USERNAME'), ('^(?P<hostname>[a-zA-Z0-9]\\S{0,19})(?:[-_\\d\\w]+)?(?:\\(config[^\\)]*\\))?#', 'PROMPT'), ('[Pp]assword:', 'PASSWORD')])
  75. 2015-12-29 17:49:48,684 [TELNET: 10.1.4.25] submit('enable', bulk_lines=None, streaming=False)
  76. 2015-12-29 17:49:48,880 [TELNET: 10.1.4.25] on_read: 'e'
  77. 2015-12-29 17:49:48,882 [TELNET: 10.1.4.25] on_read: 'nable\r\n'
  78. 2015-12-29 17:49:48,882 [TELNET: 10.1.4.25] on_read: 'Password: '
  79. 2015-12-29 17:49:48,883 [TELNET: 10.1.4.25] Starting synchronous FSM check
  80. 2015-12-29 17:49:48,884 [TELNET: 10.1.4.25] match '[Pp]assword:'
  81. 2015-12-29 17:49:48,884 [TELNET: 10.1.4.25] event(PASSWORD)
  82. 2015-12-29 17:49:48,885 [TELNET: 10.1.4.25] ==> SUPER_PASSWORD
  83. 2015-12-29 17:49:48,885 [TELNET: 10.1.4.25] set_patterns([('^\\S+?>', 'UNPRIVELEGED_PROMPT'), ('^(?P<hostname>[a-zA-Z0-9]\\S{0,19})(?:[-_\\d\\w]+)?(?:\\(config[^\\)]*\\))?#', 'PROMPT'), ('[Pp]assword:', 'PASSWORD'), ('(^ --More--)|((?:\\?|interfaces)\\s*\\[confirm\\])', 'PAGER')])
  84. 2015-12-29 17:49:48,886 [TELNET: 10.1.4.25] submit(u'perspic', bulk_lines=None, streaming=False)
  85. 2015-12-29 17:49:48,892 [TELNET: 10.1.4.25] on_read: '\r\nswitch9#'
  86. 2015-12-29 17:49:48,893 [TELNET: 10.1.4.25] Starting synchronous FSM check
  87. 2015-12-29 17:49:48,893 [TELNET: 10.1.4.25] match '^(?P<hostname>[a-zA-Z0-9]\S{0,19})(?:[-_\d\w]+)?(?:\(config[^\)]*\))?#'
  88. 2015-12-29 17:49:48,894 [TELNET: 10.1.4.25] event(PROMPT)
  89. 2015-12-29 17:49:48,895 [TELNET: 10.1.4.25] ==> PROMPT
  90. 2015-12-29 17:49:48,896 [TELNET: 10.1.4.25] on_PROMPT_enter
  91. 2015-12-29 17:49:48,896 [TELNET: 10.1.4.25] Using prompt pattern: ^switch9(?:[-_\d\w]+)?(?:\(config[^\)]*\))?#
  92. 2015-12-29 17:49:48,897 [TELNET: 10.1.4.25] set_patterns([('^switch9(?:[-_\\d\\w]+)?(?:\\(config[^\\)]*\\))?#', 'PROMPT'), ('(^ --More--)|((?:\\?|interfaces)\\s*\\[confirm\\])', 'PAGER')])
  93. 2015-12-29 17:49:48,927 CLI Provider is ready
  94. 2015-12-29 17:49:48,927 Setting up session
  95. 2015-12-29 17:49:48,927 Disable paging
  96. 2015-12-29 17:49:48,927 cli(terminal length 0)
  97. 2015-12-29 17:49:48,927 [TELNET: 10.1.4.25] submit('terminal length 0', bulk_lines=None, streaming=False)
  98. 2015-12-29 17:49:48,928 [TELNET: 10.1.4.25] on_read: 't'
  99. 2015-12-29 17:49:48,930 [TELNET: 10.1.4.25] on_read: 'ermin'
  100. 2015-12-29 17:49:48,931 [TELNET: 10.1.4.25] on_read: 'al le'
  101. 2015-12-29 17:49:48,932 [TELNET: 10.1.4.25] on_read: 'ngth'
  102. 2015-12-29 17:49:48,933 [TELNET: 10.1.4.25] on_read: ' 0\r\n'
  103. 2015-12-29 17:49:48,934 [TELNET: 10.1.4.25] on_read: 'switch9#'
  104. 2015-12-29 17:49:48,935 [TELNET: 10.1.4.25] Starting synchronous FSM check
  105. 2015-12-29 17:49:48,936 [TELNET: 10.1.4.25] match '^switch9(?:[-_\d\w]+)?(?:\(config[^\)]*\))?#'
  106. 2015-12-29 17:49:48,937 [TELNET: 10.1.4.25] Starting synchronous FSM check
  107. 2015-12-29 17:49:48,937 [TELNET: 10.1.4.25] event(PROMPT)
  108. 2015-12-29 17:49:48,943 cli(terminal length 0) returns:
  109. ===[ terminal length 0 ]================================================
  110. ''
  111. ========================================================================
  112. 2015-12-29 17:49:48,943 [TELNET: 10.1.4.25] submit('show lldp neighbors', bulk_lines=None, streaming=False)
  113. 2015-12-29 17:49:48,946 [TELNET: 10.1.4.25] on_read: 's'
  114. 2015-12-29 17:49:48,947 [TELNET: 10.1.4.25] on_read: 'ho'
  115. 2015-12-29 17:49:48,948 [TELNET: 10.1.4.25] on_read: 'w ll'
  116. 2015-12-29 17:49:48,949 [TELNET: 10.1.4.25] on_read: 'dp'
  117. 2015-12-29 17:49:48,955 [TELNET: 10.1.4.25] on_read: ' '
  118. 2015-12-29 17:49:48,956 [TELNET: 10.1.4.25] on_read: 'neig'
  119. 2015-12-29 17:49:48,958 [TELNET: 10.1.4.25] on_read: 'hbors\r\n'
  120. 2015-12-29 17:49:48,961 [TELNET: 10.1.4.25] on_read: 'Capability codes:\r\n (R) Router, (B) Bridge, (T) Telephone, (C) DOCSIS Cable Device\r\n (W) WLAN Access Point, (P) Repeater, (S) Station, (O) Other\r\n\r\nDevice ID Local Intf Hold-time Capability Port ID\r\nb24r506 Gi0/2 93 B 26\r\nb24r806 Gi0/16 115 B 52\r\nb24r903 Gi0/17 105 B 51\r\nb24r905-2 Gi0/19 93 B 26\r\nb24r602 Gi0/5 98 B 52\r\nb24r8'
  121. 2015-12-29 17:49:48,962 [TELNET: 10.1.4.25] on_read: '02 Gi0/12 101 P,B 1/28\r\nb24r604 Gi0/7 94 B 51\r\nswitch12 Gi0/24 117 B Gi0/23\r\n\r\nTotal entries displayed: 8\r\n\r\nswitch9#'
  122. 2015-12-29 17:49:48,963 [TELNET: 10.1.4.25] Starting synchronous FSM check
  123. 2015-12-29 17:49:48,963 [TELNET: 10.1.4.25] match '^switch9(?:[-_\d\w]+)?(?:\(config[^\)]*\))?#'
  124. 2015-12-29 17:49:48,964 [TELNET: 10.1.4.25] Starting synchronous FSM check
  125. 2015-12-29 17:49:48,964 [TELNET: 10.1.4.25] event(PROMPT)
  126. 2015-12-29 17:49:48,975 cli(show lldp neighbors) returns:
  127. ===[ show lldp neighbors ]==============================================
  128. 'Capability codes:\n (R) Router, (B) Bridge, (T) Telephone, (C) DOCSIS Cable Device\n (W) WLAN Access Point, (P) Repeater, (S) Station, (O) Other\n\nDevice ID Local Intf Hold-time Capability Port ID\nb24r506 Gi0/2 93 B 26\nb24r806 Gi0/16 115 B 52\nb24r903 Gi0/17 105 B 51\nb24r905-2 Gi0/19 93 B 26\nb24r602 Gi0/5 98 B 52\nb24r802 Gi0/12 101 P,B 1/28\nb24r604 Gi0/7 94 B 51\nswitch12 Gi0/24 117 B Gi0/23\n\nTotal entries displayed: 8\n\n'
  129. ========================================================================
  130. 2015-12-29 17:49:48,975 cli(show lldp neighbors Gi0/2 detail)
  131. 2015-12-29 17:49:48,975 [TELNET: 10.1.4.25] submit('show lldp neighbors Gi0/2 detail', bulk_lines=None, streaming=False)
  132. 2015-12-29 17:49:48,978 [TELNET: 10.1.4.25] on_read: 's'
  133. 2015-12-29 17:49:48,980 [TELNET: 10.1.4.25] on_read: 'how lld'
  134. 2015-12-29 17:49:48,981 [TELNET: 10.1.4.25] on_read: 'p n'
  135. 2015-12-29 17:49:48,982 [TELNET: 10.1.4.25] on_read: 'eigh'
  136. 2015-12-29 17:49:48,983 [TELNET: 10.1.4.25] on_read: 'bo'
  137. 2015-12-29 17:49:48,984 [TELNET: 10.1.4.25] on_read: 'rs'
  138. 2015-12-29 17:49:48,985 [TELNET: 10.1.4.25] on_read: ' Gi0'
  139. 2015-12-29 17:49:48,986 [TELNET: 10.1.4.25] on_read: '/2 '
  140. 2015-12-29 17:49:48,987 [TELNET: 10.1.4.25] on_read: 'd'
  141. 2015-12-29 17:49:48,994 [TELNET: 10.1.4.25] on_read: 'e'
  142. 2015-12-29 17:49:48,995 [TELNET: 10.1.4.25] on_read: 'ta'
  143. 2015-12-29 17:49:48,996 [TELNET: 10.1.4.25] on_read: 'il\r\n'
  144. 2015-12-29 17:49:48,999 [TELNET: 10.1.4.25] on_read: '------------------------------------------------\r\nChassis id: 9cd6.435e.fa6b\r\nPort id: 26\r\nPort Description - not advertised\r\nSystem Name: b24r506\r\n\r\nSystem Description: \r\nDES-1210-26/ME 6.09.B004\r\n\r\nTime remaining: 93 seconds\r\nSystem Capabilities: B\r\nEnabled Capabilities: B\r\nManagement Addresses:\r\n IP: 10.0.148.4\r\n OID:\r\n 1.3.6.1.2.1.2.2.1.1.\r\nAuto Negotiation - not supported\r\nPhysical media capabilities - not advertised\r\nMedia Attachment Unit type - not advertised\r\nVlan ID: - not advertised\r\n\r\n\r\nTotal entries displayed: 1\r\n\r\nswitc'
  145. 2015-12-29 17:49:49,000 [TELNET: 10.1.4.25] on_read: 'h9#'
  146. 2015-12-29 17:49:49,000 [TELNET: 10.1.4.25] Starting synchronous FSM check
  147. 2015-12-29 17:49:49,001 [TELNET: 10.1.4.25] match '^switch9(?:[-_\d\w]+)?(?:\(config[^\)]*\))?#'
  148. 2015-12-29 17:49:49,002 [TELNET: 10.1.4.25] Starting synchronous FSM check
  149. 2015-12-29 17:49:49,002 [TELNET: 10.1.4.25] event(PROMPT)
  150. 2015-12-29 17:49:49,007 cli(show lldp neighbors Gi0/2 detail) returns:
  151. ===[ show lldp neighbors Gi0/2 detail ]=================================
  152. '------------------------------------------------\nChassis id: 9cd6.435e.fa6b\nPort id: 26\nPort Description - not advertised\nSystem Name: b24r506\n\nSystem Description: \nDES-1210-26/ME 6.09.B004\n\nTime remaining: 93 seconds\nSystem Capabilities: B\nEnabled Capabilities: B\nManagement Addresses:\n IP: 10.0.148.4\n OID:\n 1.3.6.1.2.1.2.2.1.1.\nAuto Negotiation - not supported\nPhysical media capabilities - not advertised\nMedia Attachment Unit type - not advertised\nVlan ID: - not advertised\n\n\nTotal entries displayed: 1\n\n'
  153. ========================================================================
  154. 2015-12-29 17:49:49,008 cli(show lldp neighbors Gi0/16 detail)
  155. 2015-12-29 17:49:49,008 [TELNET: 10.1.4.25] submit('show lldp neighbors Gi0/16 detail', bulk_lines=None, streaming=False)
  156. 2015-12-29 17:49:49,010 [TELNET: 10.1.4.25] on_read: 's'
  157. 2015-12-29 17:49:49,012 [TELNET: 10.1.4.25] on_read: 'how'
  158. 2015-12-29 17:49:49,013 [TELNET: 10.1.4.25] on_read: ' l'
  159. 2015-12-29 17:49:49,014 [TELNET: 10.1.4.25] on_read: 'ldp ne'
  160. 2015-12-29 17:49:49,015 [TELNET: 10.1.4.25] on_read: 'i'
  161. 2015-12-29 17:49:49,016 [TELNET: 10.1.4.25] on_read: 'ghbor'
  162. 2015-12-29 17:49:49,017 [TELNET: 10.1.4.25] on_read: 's'
  163. 2015-12-29 17:49:49,019 [TELNET: 10.1.4.25] on_read: ' Gi0/'
  164. 2015-12-29 17:49:49,020 [TELNET: 10.1.4.25] on_read: '16 '
  165. 2015-12-29 17:49:49,021 [TELNET: 10.1.4.25] on_read: 'deta'
  166. 2015-12-29 17:49:49,022 [TELNET: 10.1.4.25] on_read: 'i'
  167. 2015-12-29 17:49:49,023 [TELNET: 10.1.4.25] on_read: 'l\r\n'
  168. 2015-12-29 17:49:49,025 [TELNET: 10.1.4.25] on_read: '------------------------------------------------\r\nChassis id: f8e9.03e0.fab0\r\nPort id: 52\r\nPort Description - not advertised\r\nSystem Name: b24r806\r\n\r\nSystem Description: \r\nDES-1210-52 4.00.B087\r\n\r\nTime remaining: 115 seconds\r\nSystem Capabilities: B\r\nEnabled Capabilities: B\r\nManagement Addresses:\r\n IP: 10.1.4.32\r\n OID:\r\n 1.3.6.1.2.1.2.2.1.1.\r\nAuto Negotiation - not supported\r\nPhysical media capabilities - not advertised\r\nMedia Attachment Unit type - not advertised\r\nVlan ID: - not advertised\r\n\r\n\r\nTotal entries displayed: 1\r\n\r\nswitch9#'
  169. 2015-12-29 17:49:49,026 [TELNET: 10.1.4.25] Starting synchronous FSM check
  170. 2015-12-29 17:49:49,026 [TELNET: 10.1.4.25] match '^switch9(?:[-_\d\w]+)?(?:\(config[^\)]*\))?#'
  171. 2015-12-29 17:49:49,027 [TELNET: 10.1.4.25] Starting synchronous FSM check
  172. 2015-12-29 17:49:49,027 [TELNET: 10.1.4.25] event(PROMPT)
  173. 2015-12-29 17:49:49,040 cli(show lldp neighbors Gi0/16 detail) returns:
  174. ===[ show lldp neighbors Gi0/16 detail ]================================
  175. '------------------------------------------------\nChassis id: f8e9.03e0.fab0\nPort id: 52\nPort Description - not advertised\nSystem Name: b24r806\n\nSystem Description: \nDES-1210-52 4.00.B087\n\nTime remaining: 115 seconds\nSystem Capabilities: B\nEnabled Capabilities: B\nManagement Addresses:\n IP: 10.1.4.32\n OID:\n 1.3.6.1.2.1.2.2.1.1.\nAuto Negotiation - not supported\nPhysical media capabilities - not advertised\nMedia Attachment Unit type - not advertised\nVlan ID: - not advertised\n\n\nTotal entries displayed: 1\n\n'
  176. ========================================================================
  177. 2015-12-29 17:49:49,040 cli(show lldp neighbors Gi0/17 detail)
  178. 2015-12-29 17:49:49,040 [TELNET: 10.1.4.25] submit('show lldp neighbors Gi0/17 detail', bulk_lines=None, streaming=False)
  179. 2015-12-29 17:49:49,043 [TELNET: 10.1.4.25] on_read: 's'
  180. 2015-12-29 17:49:49,044 [TELNET: 10.1.4.25] on_read: 'how ll'
  181. 2015-12-29 17:49:49,046 [TELNET: 10.1.4.25] on_read: 'dp nei'
  182. 2015-12-29 17:49:49,047 [TELNET: 10.1.4.25] on_read: 'g'
  183. 2015-12-29 17:49:49,048 [TELNET: 10.1.4.25] on_read: 'hb'
  184. 2015-12-29 17:49:49,049 [TELNET: 10.1.4.25] on_read: 'ors '
  185. 2015-12-29 17:49:49,050 [TELNET: 10.1.4.25] on_read: 'Gi0'
  186. 2015-12-29 17:49:49,051 [TELNET: 10.1.4.25] on_read: '/17'
  187. 2015-12-29 17:49:49,052 [TELNET: 10.1.4.25] on_read: ' '
  188. 2015-12-29 17:49:49,053 [TELNET: 10.1.4.25] on_read: 'deta'
  189. 2015-12-29 17:49:49,054 [TELNET: 10.1.4.25] on_read: 'i'
  190. 2015-12-29 17:49:49,055 [TELNET: 10.1.4.25] on_read: 'l\r\n'
  191. 2015-12-29 17:49:49,057 [TELNET: 10.1.4.25] on_read: '------------------------------------------------\r\nChassis id: ec22.806a.0694\r\nPort id: 51\r\nPort Description - not advertised\r\nSystem Name: b24r903\r\n\r\nSystem Description: \r\nDES-1210-52 3.12.B047\r\n\r\nTime remaining: 105 seconds\r\nSystem Capabilities: B\r\nEnabled Capabilities: B\r\nManagement Addresses:\r\n IP: 10.3.4.11\r\n OID:\r\n 1.3.6.1.2.1.2.2.1.1.\r\nAuto Negotiation - not supported\r\nPhysical media capabilities - not advertised\r\nMedia Attachment Unit type - not advertised\r\nVlan ID: - not advertised\r\n\r\n\r\nTotal entries displayed: 1\r\n\r\nswitch9#'
  192. 2015-12-29 17:49:49,058 [TELNET: 10.1.4.25] Starting synchronous FSM check
  193. 2015-12-29 17:49:49,059 [TELNET: 10.1.4.25] match '^switch9(?:[-_\d\w]+)?(?:\(config[^\)]*\))?#'
  194. 2015-12-29 17:49:49,059 [TELNET: 10.1.4.25] Starting synchronous FSM check
  195. 2015-12-29 17:49:49,060 [TELNET: 10.1.4.25] event(PROMPT)
  196. 2015-12-29 17:49:49,072 cli(show lldp neighbors Gi0/17 detail) returns:
  197. ===[ show lldp neighbors Gi0/17 detail ]================================
  198. '------------------------------------------------\nChassis id: ec22.806a.0694\nPort id: 51\nPort Description - not advertised\nSystem Name: b24r903\n\nSystem Description: \nDES-1210-52 3.12.B047\n\nTime remaining: 105 seconds\nSystem Capabilities: B\nEnabled Capabilities: B\nManagement Addresses:\n IP: 10.3.4.11\n OID:\n 1.3.6.1.2.1.2.2.1.1.\nAuto Negotiation - not supported\nPhysical media capabilities - not advertised\nMedia Attachment Unit type - not advertised\nVlan ID: - not advertised\n\n\nTotal entries displayed: 1\n\n'
  199. ========================================================================
  200. 2015-12-29 17:49:49,072 cli(show lldp neighbors Gi0/19 detail)
  201. 2015-12-29 17:49:49,072 [TELNET: 10.1.4.25] submit('show lldp neighbors Gi0/19 detail', bulk_lines=None, streaming=False)
  202. 2015-12-29 17:49:49,075 [TELNET: 10.1.4.25] on_read: 's'
  203. 2015-12-29 17:49:49,077 [TELNET: 10.1.4.25] on_read: 'how l'
  204. 2015-12-29 17:49:49,078 [TELNET: 10.1.4.25] on_read: 'ldp n'
  205. 2015-12-29 17:49:49,079 [TELNET: 10.1.4.25] on_read: 'eigh'
  206. 2015-12-29 17:49:49,080 [TELNET: 10.1.4.25] on_read: 'bo'
  207. 2015-12-29 17:49:49,081 [TELNET: 10.1.4.25] on_read: 'rs G'
  208. 2015-12-29 17:49:49,083 [TELNET: 10.1.4.25] on_read: 'i0'
  209. 2015-12-29 17:49:49,084 [TELNET: 10.1.4.25] on_read: '/19 d'
  210. 2015-12-29 17:49:49,085 [TELNET: 10.1.4.25] on_read: 'e'
  211. 2015-12-29 17:49:49,086 [TELNET: 10.1.4.25] on_read: 'tail'
  212. 2015-12-29 17:49:49,087 [TELNET: 10.1.4.25] on_read: '\r\n'
  213. 2015-12-29 17:49:49,089 [TELNET: 10.1.4.25] on_read: '------------------------------------------------\r\nChassis id: f062.81d8.a4c0\r\nPort id: 26\r\nPort Description: 26\r\nSystem Name: b24r905-2\r\n\r\nSystem Description: \r\nProCurve J9085A Switch 2610-24, revision R.11.112, ROM R.10.06 (/sw/code/build/nemo)\r\n\r\nTime remaining: 92 seconds\r\nSystem Capabilities: B,R\r\nEnabled Capabilities: B\r\nManagement Addresses:\r\n IP: 10.1.4.205\r\nAuto Negotiation - supported, enabled\r\nPhysical media capabilities:\r\n 1000baseT(FD)\r\n 100base-TX(FD)\r\n 100base-TX(HD)\r\n 10base-T(FD)\r\n 10base-T(HD)\r\nMedia Attachment Unit typ'
  214. 2015-12-29 17:49:49,090 [TELNET: 10.1.4.25] on_read: 'e: 30\r\nVlan ID: - not advertised\r\n\r\n\r\nTotal entries displayed: 1\r\n\r\nswitch9#'
  215. 2015-12-29 17:49:49,090 [TELNET: 10.1.4.25] Starting synchronous FSM check
  216. 2015-12-29 17:49:49,091 [TELNET: 10.1.4.25] match '^switch9(?:[-_\d\w]+)?(?:\(config[^\)]*\))?#'
  217. 2015-12-29 17:49:49,091 [TELNET: 10.1.4.25] Starting synchronous FSM check
  218. 2015-12-29 17:49:49,092 [TELNET: 10.1.4.25] event(PROMPT)
  219. 2015-12-29 17:49:49,105 cli(show lldp neighbors Gi0/19 detail) returns:
  220. ===[ show lldp neighbors Gi0/19 detail ]================================
  221. '------------------------------------------------\nChassis id: f062.81d8.a4c0\nPort id: 26\nPort Description: 26\nSystem Name: b24r905-2\n\nSystem Description: \nProCurve J9085A Switch 2610-24, revision R.11.112, ROM R.10.06 (/sw/code/build/nemo)\n\nTime remaining: 92 seconds\nSystem Capabilities: B,R\nEnabled Capabilities: B\nManagement Addresses:\n IP: 10.1.4.205\nAuto Negotiation - supported, enabled\nPhysical media capabilities:\n 1000baseT(FD)\n 100base-TX(FD)\n 100base-TX(HD)\n 10base-T(FD)\n 10base-T(HD)\nMedia Attachment Unit type: 30\nVlan ID: - not advertised\n\n\nTotal entries displayed: 1\n\n'
  222. ========================================================================
  223. 2015-12-29 17:49:49,105 cli(show lldp neighbors Gi0/5 detail)
  224. 2015-12-29 17:49:49,105 [TELNET: 10.1.4.25] submit('show lldp neighbors Gi0/5 detail', bulk_lines=None, streaming=False)
  225. 2015-12-29 17:49:49,108 [TELNET: 10.1.4.25] on_read: 's'
  226. 2015-12-29 17:49:49,112 [TELNET: 10.1.4.25] on_read: 'how l'
  227. 2015-12-29 17:49:49,116 [TELNET: 10.1.4.25] on_read: 'l'
  228. 2015-12-29 17:49:49,117 [TELNET: 10.1.4.25] on_read: 'dp '
  229. 2015-12-29 17:49:49,119 [TELNET: 10.1.4.25] on_read: 'nei'
  230. 2015-12-29 17:49:49,120 [TELNET: 10.1.4.25] on_read: 'ghbor'
  231. 2015-12-29 17:49:49,121 [TELNET: 10.1.4.25] on_read: 's '
  232. 2015-12-29 17:49:49,122 [TELNET: 10.1.4.25] on_read: 'Gi0'
  233. 2015-12-29 17:49:49,123 [TELNET: 10.1.4.25] on_read: '/5 '
  234. 2015-12-29 17:49:49,124 [TELNET: 10.1.4.25] on_read: 'deta'
  235. 2015-12-29 17:49:49,125 [TELNET: 10.1.4.25] on_read: 'il'
  236. 2015-12-29 17:49:49,126 [TELNET: 10.1.4.25] on_read: '\r\n'
  237. 2015-12-29 17:49:49,128 [TELNET: 10.1.4.25] on_read: '------------------------------------------------\r\nChassis id: f8e9.03cd.54e0\r\nPort id: 52\r\nPort Description - not advertised\r\nSystem Name: b24r602\r\n\r\nSystem Description: \r\nDES-1210-52 4.00.B087\r\n\r\nTime remaining: 98 seconds\r\nSystem Capabilities: B\r\nEnabled Capabilities: B\r\nManagement Addresses:\r\n IP: 10.0.148.18\r\n OID:\r\n 1.3.6.1.2.1.2.2.1.1.\r\nAuto Negotiation - not supported\r\nPhysical media capabilities - not advertised\r\nMedia Attachment Unit type - not advertised\r\nVlan ID: - not advertised\r\n\r\n\r\nTotal entries displayed: 1\r\n\r\nswitch9#'
  238. 2015-12-29 17:49:49,129 [TELNET: 10.1.4.25] Starting synchronous FSM check
  239. 2015-12-29 17:49:49,130 [TELNET: 10.1.4.25] match '^switch9(?:[-_\d\w]+)?(?:\(config[^\)]*\))?#'
  240. 2015-12-29 17:49:49,130 [TELNET: 10.1.4.25] Starting synchronous FSM check
  241. 2015-12-29 17:49:49,131 [TELNET: 10.1.4.25] event(PROMPT)
  242. 2015-12-29 17:49:49,139 cli(show lldp neighbors Gi0/5 detail) returns:
  243. ===[ show lldp neighbors Gi0/5 detail ]=================================
  244. '------------------------------------------------\nChassis id: f8e9.03cd.54e0\nPort id: 52\nPort Description - not advertised\nSystem Name: b24r602\n\nSystem Description: \nDES-1210-52 4.00.B087\n\nTime remaining: 98 seconds\nSystem Capabilities: B\nEnabled Capabilities: B\nManagement Addresses:\n IP: 10.0.148.18\n OID:\n 1.3.6.1.2.1.2.2.1.1.\nAuto Negotiation - not supported\nPhysical media capabilities - not advertised\nMedia Attachment Unit type - not advertised\nVlan ID: - not advertised\n\n\nTotal entries displayed: 1\n\n'
  245. ========================================================================
  246. 2015-12-29 17:49:49,139 cli(show lldp neighbors Gi0/12 detail)
  247. 2015-12-29 17:49:49,139 [TELNET: 10.1.4.25] submit('show lldp neighbors Gi0/12 detail', bulk_lines=None, streaming=False)
  248. 2015-12-29 17:49:49,142 [TELNET: 10.1.4.25] on_read: 's'
  249. 2015-12-29 17:49:49,145 [TELNET: 10.1.4.25] on_read: 'how lld'
  250. 2015-12-29 17:49:49,146 [TELNET: 10.1.4.25] on_read: 'p nei'
  251. 2015-12-29 17:49:49,147 [TELNET: 10.1.4.25] on_read: 'gh'
  252. 2015-12-29 17:49:49,148 [TELNET: 10.1.4.25] on_read: 'bor'
  253. 2015-12-29 17:49:49,155 [TELNET: 10.1.4.25] on_read: 's'
  254. 2015-12-29 17:49:49,156 [TELNET: 10.1.4.25] on_read: ' Gi0'
  255. 2015-12-29 17:49:49,157 [TELNET: 10.1.4.25] on_read: '/12 '
  256. 2015-12-29 17:49:49,158 [TELNET: 10.1.4.25] on_read: 'd'
  257. 2015-12-29 17:49:49,159 [TELNET: 10.1.4.25] on_read: 'eta'
  258. 2015-12-29 17:49:49,160 [TELNET: 10.1.4.25] on_read: 'il'
  259. 2015-12-29 17:49:49,161 [TELNET: 10.1.4.25] on_read: '\r\n'
  260. 2015-12-29 17:49:49,163 [TELNET: 10.1.4.25] on_read: '------------------------------------------------\r\nChassis id: 9094.e41f.8f00\r\nPort id: 1/28\r\nPort Description - not advertised\r\nSystem Name: b24r802\r\n\r\nSystem Description: \r\nMetro Ethernet Switch\r\n\r\nTime remaining: 101 seconds\r\nSystem Capabilities: P,B\r\nEnabled Capabilities: P,B\r\nManagement Addresses:\r\n IP: 10.1.4.44\r\n OID:\r\n 1.3.6.1.4.1.171.11.113.1.6.\r\nAuto Negotiation - not supported\r\nPhysical media capabilities - not advertised\r\nMedia Attachment Unit type - not advertised\r\nVlan ID: - not advertised\r\n\r\n\r\nTotal entries displayed: 1\r\n\r\nswitch9#'
  261. 2015-12-29 17:49:49,164 [TELNET: 10.1.4.25] Starting synchronous FSM check
  262. 2015-12-29 17:49:49,165 [TELNET: 10.1.4.25] match '^switch9(?:[-_\d\w]+)?(?:\(config[^\)]*\))?#'
  263. 2015-12-29 17:49:49,165 [TELNET: 10.1.4.25] Starting synchronous FSM check
  264. 2015-12-29 17:49:49,166 [TELNET: 10.1.4.25] event(PROMPT)
  265. 2015-12-29 17:49:49,171 cli(show lldp neighbors Gi0/12 detail) returns:
  266. ===[ show lldp neighbors Gi0/12 detail ]================================
  267. '------------------------------------------------\nChassis id: 9094.e41f.8f00\nPort id: 1/28\nPort Description - not advertised\nSystem Name: b24r802\n\nSystem Description: \nMetro Ethernet Switch\n\nTime remaining: 101 seconds\nSystem Capabilities: P,B\nEnabled Capabilities: P,B\nManagement Addresses:\n IP: 10.1.4.44\n OID:\n 1.3.6.1.4.1.171.11.113.1.6.\nAuto Negotiation - not supported\nPhysical media capabilities - not advertised\nMedia Attachment Unit type - not advertised\nVlan ID: - not advertised\n\n\nTotal entries displayed: 1\n\n'
  268. ========================================================================
  269. 2015-12-29 17:49:49,171 cli(show lldp neighbors Gi0/7 detail)
  270. 2015-12-29 17:49:49,171 [TELNET: 10.1.4.25] submit('show lldp neighbors Gi0/7 detail', bulk_lines=None, streaming=False)
  271. 2015-12-29 17:49:49,173 [TELNET: 10.1.4.25] on_read: 's'
  272. 2015-12-29 17:49:49,174 [TELNET: 10.1.4.25] on_read: 'how l'
  273. 2015-12-29 17:49:49,175 [TELNET: 10.1.4.25] on_read: 'ldp '
  274. 2015-12-29 17:49:49,176 [TELNET: 10.1.4.25] on_read: 'neig'
  275. 2015-12-29 17:49:49,178 [TELNET: 10.1.4.25] on_read: 'hb'
  276. 2015-12-29 17:49:49,179 [TELNET: 10.1.4.25] on_read: 'ors G'
  277. 2015-12-29 17:49:49,180 [TELNET: 10.1.4.25] on_read: 'i'
  278. 2015-12-29 17:49:49,181 [TELNET: 10.1.4.25] on_read: '0/7'
  279. 2015-12-29 17:49:49,182 [TELNET: 10.1.4.25] on_read: ' d'
  280. 2015-12-29 17:49:49,183 [TELNET: 10.1.4.25] on_read: 'etai'
  281. 2015-12-29 17:49:49,184 [TELNET: 10.1.4.25] on_read: 'l\r\n'
  282. 2015-12-29 17:49:49,187 [TELNET: 10.1.4.25] on_read: '------------------------------------------------\r\nChassis id: f8e9.03e0.fb50\r\nPort id: 51\r\nPort Description - not advertised\r\nSystem Name: b24r604\r\n\r\nSystem Description: \r\nDES-1210-52 4.00.B087\r\n\r\nTime remaining: 93 seconds\r\nSystem Capabilities: B\r\nEnabled Capabilities: B\r\nManagement Addresses:\r\n IP: 10.0.148.21\r\n OID:\r\n 1.3.6.1.2.1.2.2.1.1.\r\nAuto Negotiation - not supported\r\nPhysical media capabilities - not advertised\r\nMedia Attachment Unit type - not advertised\r\nVlan ID: - not advertised\r\n\r\n\r\nTotal entries displayed: 1\r\n\r\nswitch9#'
  283. 2015-12-29 17:49:49,187 [TELNET: 10.1.4.25] Starting synchronous FSM check
  284. 2015-12-29 17:49:49,188 [TELNET: 10.1.4.25] match '^switch9(?:[-_\d\w]+)?(?:\(config[^\)]*\))?#'
  285. 2015-12-29 17:49:49,188 [TELNET: 10.1.4.25] Starting synchronous FSM check
  286. 2015-12-29 17:49:49,189 [TELNET: 10.1.4.25] event(PROMPT)
  287. 2015-12-29 17:49:49,204 cli(show lldp neighbors Gi0/7 detail) returns:
  288. ===[ show lldp neighbors Gi0/7 detail ]=================================
  289. '------------------------------------------------\nChassis id: f8e9.03e0.fb50\nPort id: 51\nPort Description - not advertised\nSystem Name: b24r604\n\nSystem Description: \nDES-1210-52 4.00.B087\n\nTime remaining: 93 seconds\nSystem Capabilities: B\nEnabled Capabilities: B\nManagement Addresses:\n IP: 10.0.148.21\n OID:\n 1.3.6.1.2.1.2.2.1.1.\nAuto Negotiation - not supported\nPhysical media capabilities - not advertised\nMedia Attachment Unit type - not advertised\nVlan ID: - not advertised\n\n\nTotal entries displayed: 1\n\n'
  290. ========================================================================
  291. 2015-12-29 17:49:49,204 cli(show lldp neighbors Gi0/24 detail)
  292. 2015-12-29 17:49:49,204 [TELNET: 10.1.4.25] submit('show lldp neighbors Gi0/24 detail', bulk_lines=None, streaming=False)
  293. 2015-12-29 17:49:49,206 [TELNET: 10.1.4.25] on_read: 's'
  294. 2015-12-29 17:49:49,207 [TELNET: 10.1.4.25] on_read: 'how l'
  295. 2015-12-29 17:49:49,209 [TELNET: 10.1.4.25] on_read: 'ldp ne'
  296. 2015-12-29 17:49:49,210 [TELNET: 10.1.4.25] on_read: 'ighb'
  297. 2015-12-29 17:49:49,211 [TELNET: 10.1.4.25] on_read: 'o'
  298. 2015-12-29 17:49:49,212 [TELNET: 10.1.4.25] on_read: 'rs G'
  299. 2015-12-29 17:49:49,213 [TELNET: 10.1.4.25] on_read: 'i0/'
  300. 2015-12-29 17:49:49,214 [TELNET: 10.1.4.25] on_read: '24 d'
  301. 2015-12-29 17:49:49,216 [TELNET: 10.1.4.25] on_read: 'eta'
  302. 2015-12-29 17:49:49,217 [TELNET: 10.1.4.25] on_read: 'il\r\n'
  303. 2015-12-29 17:49:49,219 [TELNET: 10.1.4.25] on_read: '------------------------------------------------\r\nChassis id: 1ce8.5deb.4000\r\nPort id: Gi0/23\r\nPort Description: GigabitEthernet0/23\r\nSystem Name: switch12.axion.com\r\n\r\nSystem Description: \r\nCisco IOS Software, C2960X Software (C2960X-UNIVERSALK9-M), Version 15.0(2)EX5, RELEASE SOFTWARE (fc1)\r\nTechnical Support: http://www.cisco.com/techsupport\r\nCopyright (c) 1986-2014 by Cisco Systems, Inc.\r\nCompiled Fri 21-Feb-14 05:54 by prod_rel_team\r\n\r\nTime remaining: 117 seconds\r\nSystem Capabilities: B,R\r\nEnabled Capabilities: B\r\nManagement Addresses:\r\n IP: 10.1'
  304. 2015-12-29 17:49:49,220 [TELNET: 10.1.4.25] on_read: '.4.28\r\nAuto Negotiation - supported, enabled\r\nPhysical media capabilities:\r\n 1000baseT(FD)\r\n 100base-TX(FD)\r\n 100base-TX(HD)\r\n 10base-T(FD)\r\n 10base-T(HD)\r\nMedia Attachment Unit type: 30\r\nVlan ID: 1\r\n\r\n\r\nTotal entries displayed: 1\r\n\r\nswitch9#'
  305. 2015-12-29 17:49:49,221 [TELNET: 10.1.4.25] Starting synchronous FSM check
  306. 2015-12-29 17:49:49,221 [TELNET: 10.1.4.25] match '^switch9(?:[-_\d\w]+)?(?:\(config[^\)]*\))?#'
  307. 2015-12-29 17:49:49,222 [TELNET: 10.1.4.25] Starting synchronous FSM check
  308. 2015-12-29 17:49:49,222 [TELNET: 10.1.4.25] event(PROMPT)
  309. 2015-12-29 17:49:49,237 cli(show lldp neighbors Gi0/24 detail) returns:
  310. ===[ show lldp neighbors Gi0/24 detail ]================================
  311. '------------------------------------------------\nChassis id: 1ce8.5deb.4000\nPort id: Gi0/23\nPort Description: GigabitEthernet0/23\nSystem Name: switch12.axion.com\n\nSystem Description: \nCisco IOS Software, C2960X Software (C2960X-UNIVERSALK9-M), Version 15.0(2)EX5, RELEASE SOFTWARE (fc1)\nTechnical Support: http://www.cisco.com/techsupport\nCopyright (c) 1986-2014 by Cisco Systems, Inc.\nCompiled Fri 21-Feb-14 05:54 by prod_rel_team\n\nTime remaining: 117 seconds\nSystem Capabilities: B,R\nEnabled Capabilities: B\nManagement Addresses:\n IP: 10.1.4.28\nAuto Negotiation - supported, enabled\nPhysical media capabilities:\n 1000baseT(FD)\n 100base-TX(FD)\n 100base-TX(HD)\n 10base-T(FD)\n 10base-T(HD)\nMedia Attachment Unit type: 30\nVlan ID: 1\n\n\nTotal entries displayed: 1\n\n'
  312. ========================================================================
  313. 2015-12-29 17:49:49,239 Script returns with result: [{'neighbors': [{'remote_port_subtype': 7, 'remote_port': '26', 'remote_capabilities': 4, 'remote_chassis_id': '9C:D6:43:5E:FA:6B', 'remote_system_name': 'b24r506', 'remote_chassis_id_subtype': 4}], 'local_interface': 'Gi 0/2'}, {'neighbors': [{'remote_port_subtype': 7, 'remote_port': '52', 'remote_capabilities': 4, 'remote_chassis_id': 'F8:E9:03:E0:FA:B0', 'remote_system_name': 'b24r806', 'remote_chassis_id_subtype': 4}], 'local_interface': 'Gi 0/16'}, {'neighbors': [{'remote_port_subtype': 7, 'remote_port': '51', 'remote_capabilities': 4, 'remote_chassis_id': 'EC:22:80:6A:06:94', 'remote_system_name': 'b24r903', 'remote_chassis_id_subtype': 4}], 'local_interface': 'Gi 0/17'}, {'neighbors': [{'remote_port_subtype': 7, 'remote_port': '26', 'remote_capabilities': 4, 'remote_chassis_id': 'F0:62:81:D8:A4:C0', 'remote_system_name': 'b24r905-2', 'remote_chassis_id_subtype': 4}], 'local_interface': 'Gi 0/19'}, {'neighbors': [{'remote_port_subtype': 7, 'remote_port': '52', 'remote_capabilities': 4, 'remote_chassis_id': 'F8:E9:03:CD:54:E0', 'remote_system_name': 'b24r602', 'remote_chassis_id_subtype': 4}], 'local_interface': 'Gi 0/5'}, {'neighbors': [{'remote_port_subtype': 128, 'remote_port': '1/28', 'remote_capabilities': 6, 'remote_chassis_id': '90:94:E4:1F:8F:00', 'remote_system_name': 'b24r802', 'remote_chassis_id_subtype': 4}], 'local_interface': 'Gi 0/12'}, {'neighbors': [{'remote_port_subtype': 7, 'remote_port': '51', 'remote_capabilities': 4, 'remote_chassis_id': 'F8:E9:03:E0:FB:50', 'remote_system_name': 'b24r604', 'remote_chassis_id_subtype': 4}], 'local_interface': 'Gi 0/7'}, {'neighbors': [{'remote_port_subtype': 128, 'remote_port': 'Gi0/23', 'remote_capabilities': 4, 'remote_chassis_id': '1C:E8:5D:EB:40:00', 'remote_system_name': 'switch12.axion.com', 'remote_chassis_id_subtype': 4}], 'local_interface': 'Gi 0/24'}] (1580.14ms)
  314. 2015-12-29 17:49:49,240 Exiting
  315. 2015-12-29 17:49:49,241 [TELNET: 10.1.4.25] submit('exit', bulk_lines=None, streaming=False)
  316. 2015-12-29 17:49:49,242 Closing
  317. 2015-12-29 17:49:49,242 Requesting call: <bound method CLITelnetSocket.close of <CLITelnetSocket(0x7f97f85a5ad0, 10.1.4.25:23, connected)>>(*(), **{'flush': True})
  318. 2015-12-29 17:49:49,244 [TELNET: 10.1.4.25] on_read: 'e'
  319. 2015-12-29 17:49:49,246 [TELNET: 10.1.4.25] on_read: 'xit\r\n'
  320. 2015-12-29 17:49:49,353 [CLITelnetSocket 10.1.4.25:23] Closing socket
  321. 2015-12-29 17:49:49,353 Unregister socket CLITelnetSocket 10.1.4.25:23
  322. 2015-12-29 17:49:50,355 Tick
  323. 2015-12-29 17:49:50,355 Calling delayed <bound method CLITelnetSocket.close of <CLITelnetSocket(0x7f97f85a5ad0, 10.1.4.25:23, closing)>>(*(), **{'flush': True})
  324. 2015-12-29 17:49:50,355 2 TICKS TO EXIT
  325. 2015-12-29 17:49:51,356 Tick
  326. 2015-12-29 17:49:51,356 1 TICKS TO EXIT
  327. 2015-12-29 17:49:52,357 Tick
  328. 2015-12-29 17:49:52,357 EXIT
  329. 2015-12-29 17:49:52,361 SCRIPT RESULT: Cisco.IOS.get_lldp_neighbors(switch9, 10.1.4.25)
  330. [{'local_interface': 'Gi 0/2',
  331. 'neighbors': [{'remote_capabilities': 4,
  332. 'remote_chassis_id': '9C:D6:43:5E:FA:6B',
  333. 'remote_chassis_id_subtype': 4,
  334. 'remote_port': '26',
  335. 'remote_port_subtype': 7,
  336. 'remote_system_name': 'b24r506'}]},
  337. {'local_interface': 'Gi 0/16',
  338. 'neighbors': [{'remote_capabilities': 4,
  339. 'remote_chassis_id': 'F8:E9:03:E0:FA:B0',
  340. 'remote_chassis_id_subtype': 4,
  341. 'remote_port': '52',
  342. 'remote_port_subtype': 7,
  343. 'remote_system_name': 'b24r806'}]},
  344. {'local_interface': 'Gi 0/17',
  345. 'neighbors': [{'remote_capabilities': 4,
  346. 'remote_chassis_id': 'EC:22:80:6A:06:94',
  347. 'remote_chassis_id_subtype': 4,
  348. 'remote_port': '51',
  349. 'remote_port_subtype': 7,
  350. 'remote_system_name': 'b24r903'}]},
  351. {'local_interface': 'Gi 0/19',
  352. 'neighbors': [{'remote_capabilities': 4,
  353. 'remote_chassis_id': 'F0:62:81:D8:A4:C0',
  354. 'remote_chassis_id_subtype': 4,
  355. 'remote_port': '26',
  356. 'remote_port_subtype': 7,
  357. 'remote_system_name': 'b24r905-2'}]},
  358. {'local_interface': 'Gi 0/5',
  359. 'neighbors': [{'remote_capabilities': 4,
  360. 'remote_chassis_id': 'F8:E9:03:CD:54:E0',
  361. 'remote_chassis_id_subtype': 4,
  362. 'remote_port': '52',
  363. 'remote_port_subtype': 7,
  364. 'remote_system_name': 'b24r602'}]},
  365. {'local_interface': 'Gi 0/12',
  366. 'neighbors': [{'remote_capabilities': 6,
  367. 'remote_chassis_id': '90:94:E4:1F:8F:00',
  368. 'remote_chassis_id_subtype': 4,
  369. 'remote_port': '1/28',
  370. 'remote_port_subtype': 128,
  371. 'remote_system_name': 'b24r802'}]},
  372. {'local_interface': 'Gi 0/7',
  373. 'neighbors': [{'remote_capabilities': 4,
  374. 'remote_chassis_id': 'F8:E9:03:E0:FB:50',
  375. 'remote_chassis_id_subtype': 4,
  376. 'remote_port': '51',
  377. 'remote_port_subtype': 7,
  378. 'remote_system_name': 'b24r604'}]},
  379. {'local_interface': 'Gi 0/24',
  380. 'neighbors': [{'remote_capabilities': 4,
  381. 'remote_chassis_id': '1C:E8:5D:EB:40:00',
  382. 'remote_chassis_id_subtype': 4,
  383. 'remote_port': 'Gi0/23',
  384. 'remote_port_subtype': 128,
  385. 'remote_system_name': 'switch12.axion.com'}]}]
  386. 2015-12-29 17:49:52,361 Shutting down the factory
  387. 2015-12-29 17:49:52,367 Metrics:
  388. noc.socketfactory.handle.closed_reads: 0
  389. noc.socketfactory.handle.reads: 129
  390. noc.socketfactory.handle.writes: 3
  391. noc.socketfactory.loops: 135
  392. noc.socketfactory.sockets.count: 0
  393. noc.socketfactory.sockets.register: 1
  394. noc.socketfactory.sockets.unregister: 0
  395. noc.socketfactory.ticks: 4
  396. 2015-12-29 17:49:52,370 0 TICKS TO EXIT
  397. 2015-12-29 17:49:52,370 Stopping socket factory
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement