Advertisement
Guest User

Untitled

a guest
Feb 20th, 2015
253
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 21.19 KB | None | 0 0
  1. root@noc:/opt/noc# ./noc debug-script get_version Core_6509-E
  2. 2015-02-20 15:11:22,293 Using JSON library: cjson
  3. 2015-02-20 15:11:22,302 SSH: Using gmpy
  4. 2015-02-20 15:11:22,442 Connecting to MongoDB {'username': 'noc', 'password': '********', 'db': 'noc'}
  5. 2015-02-20 15:11:22,507 Connecting to MongoDB {'username': 'noc', 'password': '********', 'db': 'noc'}
  6. 2015-02-20 15:11:22,515 Loading PeriodicRegistry
  7. 2015-02-20 15:11:22,522 Registering MetricType
  8. 2015-02-20 15:11:22,527 Loading compiled MIBs
  9. 2015-02-20 15:11:22,527 Loading compiled MIBs from 'cmibs'
  10. 2015-02-20 15:11:22,527 Loading MIB: IP-MIB
  11. 2015-02-20 15:11:22,528 Loading MIB: IF-MIB
  12. 2015-02-20 15:11:22,528 Loading MIB: CISCO-PPPOE-MIB
  13. 2015-02-20 15:11:22,528 Loading MIB: RFC1213-MIB
  14. 2015-02-20 15:11:22,528 Loading MIB: SNMPv2-MIB
  15. 2015-02-20 15:11:22,528 Loading MIB: CISCO-VPDN-MGMT-MIB
  16. 2015-02-20 15:11:22,531 Configuring metric mappings sa.managedobject -> object.{{object.name|qm}}.{{metric_type|qm}}
  17. 2015-02-20 15:11:22,532 Configuring metric mappings inv.interface -> object.{{object.managed_object.name|qm}}.interface.{{object.name|qm}}.{{metric_type|qm}}
  18. 2015-02-20 15:11:22,533 Loading DownloaderRegistry
  19. 2015-02-20 15:11:22,553 Loading ProfileRegistry
  20. 2015-02-20 15:11:22,962 Loading ScriptRegistry
  21. 2015-02-20 15:11:23,006 Adding FTS index for sa.managedobject
  22. 2015-02-20 15:11:23,016 Registering ConnectionType
  23. 2015-02-20 15:11:23,018 Registering ObjectModel
  24. 2015-02-20 15:11:23,019 Registering Capability
  25. 2015-02-20 15:11:23,024 Adding FTS index for vc.vc
  26. 2015-02-20 15:11:23,037 Adding FTS index for ip.vrf
  27. 2015-02-20 15:11:23,040 Adding FTS index for ip.prefix
  28. 2015-02-20 15:11:23,041 Adding FTS index for ip.address
  29. 2015-02-20 15:11:23,187 Setting up 'select' polling method
  30. 2015-02-20 15:11:23,187 Activating 'select' poller
  31. 2015-02-20 15:11:23,187 Loading private ssh key from 'etc/ssh/id_rsa'
  32. 2015-02-20 15:11:23,188 Loading public ssh key from 'etc/ssh/id_rsa.pub'
  33. access_profile {
  34. profile: "Cisco.IOS"
  35. scheme: SSH
  36. address: "10.1.1.1"
  37. port: 22
  38. user: "noc"
  39. password: "111"
  40. super_password: "111"
  41. attrs {
  42. key: "image"
  43. value: "s2t54-ADVIPSERVICESK9_NPE-M"
  44. }
  45. attrs {
  46. key: "platform"
  47. value: "s2t54"
  48. }
  49. attrs {
  50. key: "vendor"
  51. value: "Cisco"
  52. }
  53. attrs {
  54. key: "version"
  55. value: "15.0(1)SY6"
  56. }
  57. }
  58. object_name: "Core_6509-E"
  59. script: "Cisco.IOS.get_version"
  60. timeout: 120
  61.  
  62. 2015-02-20 15:11:23,189 Running script thread
  63. 2015-02-20 15:11:23,189 Running socket factory (SelectPoller)
  64. 2015-02-20 15:11:23,191 Creating transaction id=1934740222 method=None callback=None
  65. 2015-02-20 15:11:23,191 Capabilities: {}
  66. 2015-02-20 15:11:23,192 [Cisco.IOS.get_version(Core_6509-E, 10.1.1.1)] Running
  67. 2015-02-20 15:11:23,192 Running script: Cisco.IOS.get_version ({}), timeout 120s
  68. 2015-02-20 15:11:23,192 [Cisco.IOS.get_version(Core_6509-E, 10.1.1.1)] cli(show version)
  69. 2015-02-20 15:11:23,192 [Cisco.IOS.get_version(Core_6509-E, 10.1.1.1)] Running new provider
  70. 2015-02-20 15:11:23,192 [CLISSHSocket(0x7f3f6dc4d990)]<None> ==> SSH_START
  71. 2015-02-20 15:11:23,192 [CLISSHSocket(0x7f3f6dc4d990)]<SSH_START> set_timeout(30)
  72. 2015-02-20 15:11:23,193 Register socket CLISSHSocket 10.1.1.1:22 (None)
  73. 2015-02-20 15:11:24,192 Tick
  74. 2015-02-20 15:11:24,193 3 TICKS TO EXIT
  75. 2015-02-20 15:11:24,193 [CLISSHSocket(0x7f3f6dc4d990)]<SSH_START> Initializing socket
  76. 2015-02-20 15:11:24,193 [CLISSHSocket 10.1.1.1:22] Connecting 10.1.1.1:22
  77. 2015-02-20 15:11:24,198 [CLISSHSocket 10.1.1.1:22] create_socket returns non-zero code 115[EINPROGRESS]
  78. 2015-02-20 15:11:24,198 [CLISSHSocket 10.1.1.1:22] Connected
  79. 2015-02-20 15:11:24,199 [CLISSHSocket(0x7f3f6dc4d990)]<SSH_START> event(SSH_VERSION)
  80. 2015-02-20 15:11:24,199 [CLISSHSocket(0x7f3f6dc4d990)]<SSH_START> ==> SSH_VERSION
  81. 2015-02-20 15:11:24,199 [CLISSHSocket 10.1.1.1:22] Remote protocol version 2.0, remote software version Cisco-1.25
  82. 2015-02-20 15:11:24,199 [CLISSHSocket(0x7f3f6dc4d990)]<SSH_VERSION> Setting SSH transforms to: in=none none, out=none none
  83. 2015-02-20 15:11:24,199 [CLISSHSocket(0x7f3f6dc4d990)]<SSH_VERSION> Setting SSH transform keys
  84. 2015-02-20 15:11:24,199 [CLISSHSocket 10.1.1.1:22] Sending message type MSG_KEXINIT (20)
  85. 2015-02-20 15:11:24,200 [CLISSHSocket(0x7f3f6dc4d990)]<SSH_VERSION> event(SSH_KEY_EXCHANGE)
  86. 2015-02-20 15:11:24,200 [CLISSHSocket(0x7f3f6dc4d990)]<SSH_VERSION> ==> SSH_KEY_EXCHANGE
  87. 2015-02-20 15:11:24,200 [CLISSHSocket 10.1.1.1:22] Receiving message type MSG_KEXINIT (20)
  88. 2015-02-20 15:11:24,200 [CLISSHSocket 10.1.1.1:22] Receiving server proposals: kex=['diffie-hellman-group1-sha1'] key=['ssh-rsa'] enc_cs=['aes128-cbc', '3des-cbc', 'aes192-cbc', 'aes256-cbc'] enc_sc=['aes128-cbc', '3des-cbc', 'aes192-cbc', 'aes256-cbc'] mac_cs=['hmac-sha1', 'hmac-sha1-96', 'hmac-md5', 'hmac-md5-96'] mac_sc=['hmac-sha1', 'hmac-sha1-96', 'hmac-md5', 'hmac-md5-96'] comp_cs=['none'] comp_sc['none']
  89. 2015-02-20 15:11:24,200 [CLISSHSocket(0x7f3f6dc4d990)]<SSH_KEY_EXCHANGE> Setting SSH transforms to: in=aes256-cbc hmac-sha1, out=aes256-cbc hmac-sha1
  90. 2015-02-20 15:11:24,200 [CLISSHSocket 10.1.1.1:22] Selecting diffie-hellman-group1-sha1 ssh-rsa, in=(aes256-cbc hmac-sha1 none) out=(aes256-cbc hmac-sha1 none)
  91. 2015-02-20 15:11:24,201 [CLISSHSocket 10.1.1.1:22] Sending message type MSG_KEX_DH_GEX_REQUEST_OLD (30)
  92. 2015-02-20 15:11:24,428 [CLISSHSocket 10.1.1.1:22] Receiving message type MSG_KEXDH_REPLY (31)
  93. 2015-02-20 15:11:24,428 [CLISSHSocket 10.1.1.1:22] Server PK fingerprint: a0:ea:da:00:28:4b:fb:d8:79:a1:11:67:d2:07:22:14
  94. 2015-02-20 15:11:24,429 [CLISSHSocket(0x7f3f6dc4d990)]<SSH_KEY_EXCHANGE> Setting SSH transform keys
  95. 2015-02-20 15:11:24,429 [CLISSHSocket 10.1.1.1:22] Sending message type MSG_NEWKEYS (21)
  96. 2015-02-20 15:11:24,429 [CLISSHSocket 10.1.1.1:22] Receiving message type MSG_NEWKEYS (21)
  97. 2015-02-20 15:11:24,430 [CLISSHSocket 10.1.1.1:22] Using new keys
  98. 2015-02-20 15:11:24,430 [CLISSHSocket(0x7f3f6dc4d990)]<SSH_KEY_EXCHANGE> event(SSH_AUTH)
  99. 2015-02-20 15:11:24,430 [CLISSHSocket(0x7f3f6dc4d990)]<SSH_KEY_EXCHANGE> ==> SSH_AUTH
  100. 2015-02-20 15:11:24,430 [CLISSHSocket 10.1.1.1:22] Requesting service ssh-userauth
  101. 2015-02-20 15:11:24,430 [CLISSHSocket 10.1.1.1:22] Sending message type MSG_SERVICE_REQUEST (5)
  102. 2015-02-20 15:11:24,628 [CLISSHSocket 10.1.1.1:22] Receiving message type MSG_SERVICE_ACCEPT (6)
  103. 2015-02-20 15:11:24,628 [CLISSHSocket 10.1.1.1:22] Starting service ssh-userauth
  104. 2015-02-20 15:11:24,629 [CLISSHSocket(0x7f3f6dc4d990)]<SSH_AUTH> event(SSH_AUTH_PASSWORD)
  105. 2015-02-20 15:11:24,629 [CLISSHSocket(0x7f3f6dc4d990)]<SSH_AUTH> ==> SSH_AUTH_PASSWORD
  106. 2015-02-20 15:11:24,629 [CLISSHSocket 10.1.1.1:22] Authenticating with 'none' method
  107. 2015-02-20 15:11:24,629 [CLISSHSocket 10.1.1.1:22] Sending message type MSG_USERAUTH_REQUEST (50)
  108. 2015-02-20 15:11:24,630 [CLISSHSocket 10.1.1.1:22] Receiving message type MSG_USERAUTH_FAILURE (51)
  109. 2015-02-20 15:11:24,630 [CLISSHSocket 10.1.1.1:22] Authentication method 'none' has been failed. Trying next method (keyboard-interactive,password)
  110. 2015-02-20 15:11:24,630 [CLISSHSocket 10.1.1.1:22] Partially authenticated with 'none'. Trying next method
  111. 2015-02-20 15:11:24,630 [CLISSHSocket 10.1.1.1:22] Authenticating with 'password' method
  112. 2015-02-20 15:11:24,630 [CLISSHSocket 10.1.1.1:22] Sending message type MSG_USERAUTH_REQUEST (50)
  113. 2015-02-20 15:11:24,633 [CLISSHSocket 10.1.1.1:22] Receiving message type MSG_USERAUTH_SUCCESS (52)
  114. 2015-02-20 15:11:24,633 [CLISSHSocket(0x7f3f6dc4d990)]<SSH_AUTH_PASSWORD> event(SSH_CHANNEL)
  115. 2015-02-20 15:11:24,633 [CLISSHSocket(0x7f3f6dc4d990)]<SSH_AUTH_PASSWORD> ==> SSH_CHANNEL
  116. 2015-02-20 15:11:24,633 [CLISSHSocket 10.1.1.1:22] Sending message type MSG_CHANNEL_OPEN (90)
  117. 2015-02-20 15:11:24,634 [CLISSHSocket 10.1.1.1:22] Receiving message type MSG_CHANNEL_OPEN_CONFIRMATION (91)
  118. 2015-02-20 15:11:24,634 [CLISSHSocket 10.1.1.1:22] Opening channel. local=0 remote=3
  119. 2015-02-20 15:11:24,634 [CLISSHSocket(0x7f3f6dc4d990)]<SSH_CHANNEL> event(SSH_PTY)
  120. 2015-02-20 15:11:24,634 [CLISSHSocket(0x7f3f6dc4d990)]<SSH_CHANNEL> ==> SSH_PTY
  121. 2015-02-20 15:11:24,634 [CLISSHSocket 10.1.1.1:22] Requesting PTY
  122. 2015-02-20 15:11:24,634 [CLISSHSocket 10.1.1.1:22] Sending message type MSG_CHANNEL_REQUEST (98)
  123. 2015-02-20 15:11:24,635 [CLISSHSocket 10.1.1.1:22] Receiving message type MSG_CHANNEL_SUCCESS (99)
  124. 2015-02-20 15:11:24,635 [CLISSHSocket(0x7f3f6dc4d990)]<SSH_PTY> event(SSH_SHELL)
  125. 2015-02-20 15:11:24,635 [CLISSHSocket(0x7f3f6dc4d990)]<SSH_PTY> ==> SSH_SHELL
  126. 2015-02-20 15:11:24,635 [CLISSHSocket 10.1.1.1:22] Requesting shell
  127. 2015-02-20 15:11:24,635 [CLISSHSocket 10.1.1.1:22] Sending message type MSG_CHANNEL_REQUEST (98)
  128. 2015-02-20 15:11:24,636 [CLISSHSocket 10.1.1.1:22] Receiving message type MSG_CHANNEL_SUCCESS (99)
  129. 2015-02-20 15:11:24,636 [CLISSHSocket(0x7f3f6dc4d990)]<SSH_SHELL> event(START)
  130. 2015-02-20 15:11:24,636 [CLISSHSocket(0x7f3f6dc4d990)]<SSH_SHELL> ==> START
  131. 2015-02-20 15:11:24,636 [CLISSHSocket(0x7f3f6dc4d990)]<START> 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--)|(\\?\\s*\\[confirm\\])', 'PAGER')])
  132. 2015-02-20 15:11:24,637 [CLISSHSocket(0x7f3f6dc4d990)]<START> on_read: '\r\nCore-WS-C6509-E#'
  133. 2015-02-20 15:11:24,637 [CLISSHSocket(0x7f3f6dc4d990)]<START> Starting synchronous FSM check
  134. 2015-02-20 15:11:24,637 [CLISSHSocket(0x7f3f6dc4d990)]<START> match '^(?P<hostname>[a-zA-Z0-9]\S{0,19})(?:[-_\d\w]+)?(?:\(config[^\)]*\))?#'
  135. 2015-02-20 15:11:24,638 [CLISSHSocket(0x7f3f6dc4d990)]<START> event(PROMPT)
  136. 2015-02-20 15:11:24,638 [CLISSHSocket(0x7f3f6dc4d990)]<START> ==> PROMPT
  137. 2015-02-20 15:11:24,638 [CLISSHSocket(0x7f3f6dc4d990)]<PROMPT> on_PROMPT_enter
  138. 2015-02-20 15:11:24,638 [CLISSHSocket(0x7f3f6dc4d990)]<PROMPT> Using prompt pattern: ^Core\-WS\-C6509\-E(?:[-_\d\w]+)?(?:\(config[^\)]*\))?#
  139. 2015-02-20 15:11:24,638 [CLISSHSocket(0x7f3f6dc4d990)]<PROMPT> set_patterns([('^Core\\-WS\\-C6509\\-E(?:[-_\\d\\w]+)?(?:\\(config[^\\)]*\\))?#', 'PROMPT'), ('(^ --More--)|(\\?\\s*\\[confirm\\])', 'PAGER')])
  140. 2015-02-20 15:11:24,659 [Cisco.IOS.get_version(Core_6509-E, 10.1.1.1)] CLI Provider is ready
  141. 2015-02-20 15:11:24,659 [Cisco.IOS.get_version(Core_6509-E, 10.1.1.1)] Setting up session
  142. 2015-02-20 15:11:24,659 [Cisco.IOS.get_version(Core_6509-E, 10.1.1.1)] Disable paging
  143. 2015-02-20 15:11:24,659 [Cisco.IOS.get_version(Core_6509-E, 10.1.1.1)] cli(terminal length 0)
  144. 2015-02-20 15:11:24,659 [CLISSHSocket(0x7f3f6dc4d990)]<PROMPT> submit('terminal length 0', bulk_lines=None, streaming=False)
  145. 2015-02-20 15:11:24,660 [CLISSHSocket 10.1.1.1:22] Sending message type MSG_CHANNEL_DATA (94)
  146. 2015-02-20 15:11:24,660 [CLISSHSocket(0x7f3f6dc4d990)]<PROMPT> on_read: 't'
  147. 2015-02-20 15:11:24,661 [CLISSHSocket(0x7f3f6dc4d990)]<PROMPT> on_read: 'e'
  148. 2015-02-20 15:11:24,661 [CLISSHSocket(0x7f3f6dc4d990)]<PROMPT> on_read: 'r'
  149. 2015-02-20 15:11:24,661 [CLISSHSocket(0x7f3f6dc4d990)]<PROMPT> on_read: 'm'
  150. 2015-02-20 15:11:24,661 [CLISSHSocket(0x7f3f6dc4d990)]<PROMPT> on_read: 'i'
  151. 2015-02-20 15:11:24,661 [CLISSHSocket(0x7f3f6dc4d990)]<PROMPT> on_read: 'n'
  152. 2015-02-20 15:11:24,661 [CLISSHSocket(0x7f3f6dc4d990)]<PROMPT> on_read: 'a'
  153. 2015-02-20 15:11:24,661 [CLISSHSocket(0x7f3f6dc4d990)]<PROMPT> on_read: 'l'
  154. 2015-02-20 15:11:24,662 [CLISSHSocket(0x7f3f6dc4d990)]<PROMPT> on_read: ' '
  155. 2015-02-20 15:11:24,662 [CLISSHSocket(0x7f3f6dc4d990)]<PROMPT> on_read: 'l'
  156. 2015-02-20 15:11:24,662 [CLISSHSocket(0x7f3f6dc4d990)]<PROMPT> on_read: 'e'
  157. 2015-02-20 15:11:24,662 [CLISSHSocket(0x7f3f6dc4d990)]<PROMPT> on_read: 'n'
  158. 2015-02-20 15:11:24,662 [CLISSHSocket(0x7f3f6dc4d990)]<PROMPT> on_read: 'g'
  159. 2015-02-20 15:11:24,662 [CLISSHSocket(0x7f3f6dc4d990)]<PROMPT> on_read: 't'
  160. 2015-02-20 15:11:24,662 [CLISSHSocket(0x7f3f6dc4d990)]<PROMPT> on_read: 'h'
  161. 2015-02-20 15:11:24,662 [CLISSHSocket(0x7f3f6dc4d990)]<PROMPT> on_read: ' '
  162. 2015-02-20 15:11:24,663 [CLISSHSocket(0x7f3f6dc4d990)]<PROMPT> on_read: '0'
  163. 2015-02-20 15:11:24,663 [CLISSHSocket(0x7f3f6dc4d990)]<PROMPT> on_read: '\r\n'
  164. 2015-02-20 15:11:24,859 [CLISSHSocket(0x7f3f6dc4d990)]<PROMPT> on_read: 'Core-WS-C6509-E#'
  165. 2015-02-20 15:11:24,859 [CLISSHSocket(0x7f3f6dc4d990)]<PROMPT> Starting synchronous FSM check
  166. 2015-02-20 15:11:24,860 [CLISSHSocket(0x7f3f6dc4d990)]<PROMPT> match '^Core\-WS\-C6509\-E(?:[-_\d\w]+)?(?:\(config[^\)]*\))?#'
  167. 2015-02-20 15:11:24,860 [CLISSHSocket(0x7f3f6dc4d990)]<PROMPT> Starting synchronous FSM check
  168. 2015-02-20 15:11:24,860 [CLISSHSocket(0x7f3f6dc4d990)]<PROMPT> event(PROMPT)
  169. 2015-02-20 15:11:24,874 [Cisco.IOS.get_version(Core_6509-E, 10.1.1.1)] cli(terminal length 0) returns:
  170. ===[ terminal length 0 ]================================================
  171. ''
  172. ========================================================================
  173. 2015-02-20 15:11:24,874 [CLISSHSocket(0x7f3f6dc4d990)]<PROMPT> submit('show version', bulk_lines=None, streaming=False)
  174. 2015-02-20 15:11:24,874 [CLISSHSocket 10.1.1.1:22] Sending message type MSG_CHANNEL_DATA (94)
  175. 2015-02-20 15:11:24,875 [CLISSHSocket(0x7f3f6dc4d990)]<PROMPT> on_read: 's'
  176. 2015-02-20 15:11:24,875 [CLISSHSocket(0x7f3f6dc4d990)]<PROMPT> on_read: 'h'
  177. 2015-02-20 15:11:24,875 [CLISSHSocket(0x7f3f6dc4d990)]<PROMPT> on_read: 'o'
  178. 2015-02-20 15:11:24,875 [CLISSHSocket(0x7f3f6dc4d990)]<PROMPT> on_read: 'w'
  179. 2015-02-20 15:11:24,876 [CLISSHSocket(0x7f3f6dc4d990)]<PROMPT> on_read: ' '
  180. 2015-02-20 15:11:24,876 [CLISSHSocket(0x7f3f6dc4d990)]<PROMPT> on_read: 'v'
  181. 2015-02-20 15:11:24,876 [CLISSHSocket(0x7f3f6dc4d990)]<PROMPT> on_read: 'e'
  182. 2015-02-20 15:11:24,876 [CLISSHSocket(0x7f3f6dc4d990)]<PROMPT> on_read: 'r'
  183. 2015-02-20 15:11:24,876 [CLISSHSocket(0x7f3f6dc4d990)]<PROMPT> on_read: 's'
  184. 2015-02-20 15:11:24,876 [CLISSHSocket(0x7f3f6dc4d990)]<PROMPT> on_read: 'i'
  185. 2015-02-20 15:11:24,876 [CLISSHSocket(0x7f3f6dc4d990)]<PROMPT> on_read: 'o'
  186. 2015-02-20 15:11:24,877 [CLISSHSocket(0x7f3f6dc4d990)]<PROMPT> on_read: 'n'
  187. 2015-02-20 15:11:24,877 [CLISSHSocket(0x7f3f6dc4d990)]<PROMPT> on_read: '\r\n'
  188. 2015-02-20 15:11:25,077 [CLISSHSocket(0x7f3f6dc4d990)]<PROMPT> on_read: 'Cisco IOS Software, s2t54 Software (s2t54-ADVIPSERVICESK9_NPE-M), Version 15.0(1)SY6, RELEASE SOFTWARE (fc4)\r\nTechnical Support: http://www.cisco.com/techsupport\r\nCopyright (c) 1986-2014 by Cisco Systems, Inc.\r\nCompiled Sat 01-Feb-14 04:46 by prod_rel_team\r\n\r\nROM: System Bootstrap, Version 12.2(50r)SYS2, RELEASE SOFTWARE (fc1)\r\n\r\n Core-WS-C6509-E uptime is 30 weeks, 5 days, 15 hours, 26 minutes\r\nUptime for this control processor is 30 weeks, 5 days, 15 hours, 22 minutes\r\nSystem returned to ROM by s/w reset\r\nSystem restarted at 23:45:04 MSK Sat Jul 19 2014\r\nSystem image file is "bootdisk:s2t54-advipservicesk9_npe-mz.SPA.150-1.SY6.bin"\r\nLast reload reason: Reload Command\r\n\r\n\r\n\r\nThis product contains cryptographic features and is subject to United\r\nStates and local country laws governing import, export, transfer and\r\nuse. Delivery of Cisco cryptographic products does not imply\r\nthird-party authority to import, export, distribute or use encryption.\r\nImporters, exporters, distributors and users are responsible for\r\ncompliance with U.S. and local country laws. By using this product you\r\nagree to comply with applicable laws and regulations. If you are unable\r\nto comply with U.S. and local laws, return this product immediately.\r\n\r\nA summary of U.S. laws governing Cisco cryptographic products may be found at:\r\nhttp://www.cisco.com/wwl/export/crypto/tool/stqrg.html\r\n\r\nIf you require further assistance please contact us by sending email to\r\[email protected].\r\n\r\ncisco WS-C6509-E (M8572) processor (revision ) with 1769472K/262144K bytes of memory.\r\nProcessor board ID SMC1611003B\r\n CPU: MPC8572_E, Version: 2.2, (0x80E80022)\r\n CORE: E500, Version: 3.0, (0x80210030)\r\n CPU:1500MHz, CCB:600MHz, DDR:600MHz\r\n L1: D-cache 32 kB enabled\r\n I-cache 32 kB enabled\r\n\r\nLast reset from s/w reset\r\n1232 Virtual Ethernet interfaces\r\n78 Gigabit Ethernet interfaces\r\n4 Ten Gigabit Ethernet interfaces\r\n2543K bytes of non-volatile configuration memory.\r\n\r\nConfiguration register is 0x2102\r\n\r\nCore-WS-C6509-E#'
  189. 2015-02-20 15:11:25,078 [CLISSHSocket(0x7f3f6dc4d990)]<PROMPT> Starting synchronous FSM check
  190. 2015-02-20 15:11:25,078 [CLISSHSocket(0x7f3f6dc4d990)]<PROMPT> match '^Core\-WS\-C6509\-E(?:[-_\d\w]+)?(?:\(config[^\)]*\))?#'
  191. 2015-02-20 15:11:25,078 [CLISSHSocket(0x7f3f6dc4d990)]<PROMPT> Starting synchronous FSM check
  192. 2015-02-20 15:11:25,078 [CLISSHSocket(0x7f3f6dc4d990)]<PROMPT> event(PROMPT)
  193. 2015-02-20 15:11:25,088 [Cisco.IOS.get_version(Core_6509-E, 10.1.1.1)] cli(show version) returns:
  194. ===[ show version ]=====================================================
  195. 'Cisco IOS Software, s2t54 Software (s2t54-ADVIPSERVICESK9_NPE-M), Version 15.0(1)SY6, RELEASE SOFTWARE (fc4)\nTechnical Support: http://www.cisco.com/techsupport\nCopyright (c) 1986-2014 by Cisco Systems, Inc.\nCompiled Sat 01-Feb-14 04:46 by prod_rel_team\n\nROM: System Bootstrap, Version 12.2(50r)SYS2, RELEASE SOFTWARE (fc1)\n\n Core-WS-C6509-E uptime is 30 weeks, 5 days, 15 hours, 26 minutes\nUptime for this control processor is 30 weeks, 5 days, 15 hours, 22 minutes\nSystem returned to ROM by s/w reset\nSystem restarted at 23:45:04 MSK Sat Jul 19 2014\nSystem image file is "bootdisk:s2t54-advipservicesk9_npe-mz.SPA.150-1.SY6.bin"\nLast reload reason: Reload Command\n\n\n\nThis product contains cryptographic features and is subject to United\nStates and local country laws governing import, export, transfer and\nuse. Delivery of Cisco cryptographic products does not imply\nthird-party authority to import, export, distribute or use encryption.\nImporters, exporters, distributors and users are responsible for\ncompliance with U.S. and local country laws. By using this product you\nagree to comply with applicable laws and regulations. If you are unable\nto comply with U.S. and local laws, return this product immediately.\n\nA summary of U.S. laws governing Cisco cryptographic products may be found at:\nhttp://www.cisco.com/wwl/export/crypto/tool/stqrg.html\n\nIf you require further assistance please contact us by sending email to\[email protected].\n\ncisco WS-C6509-E (M8572) processor (revision ) with 1769472K/262144K bytes of memory.\nProcessor board ID SMC1611003B\n CPU: MPC8572_E, Version: 2.2, (0x80E80022)\n CORE: E500, Version: 3.0, (0x80210030)\n CPU:1500MHz, CCB:600MHz, DDR:600MHz\n L1: D-cache 32 kB enabled\n I-cache 32 kB enabled\n\nLast reset from s/w reset\n1232 Virtual Ethernet interfaces\n78 Gigabit Ethernet interfaces\n4 Ten Gigabit Ethernet interfaces\n2543K bytes of non-volatile configuration memory.\n\nConfiguration register is 0x2102\n\n'
  196. ========================================================================
  197. 2015-02-20 15:11:25,088 Script returns with result: {'platform': 's2t54', 'version': '15.0(1)SY6', 'vendor': 'Cisco', 'attributes': {'image': 's2t54-ADVIPSERVICESK9_NPE-M'}} (1896.43ms)
  198. 2015-02-20 15:11:25,088 [Cisco.IOS.get_version(Core_6509-E, 10.1.1.1)] Exiting
  199. 2015-02-20 15:11:25,089 [CLISSHSocket(0x7f3f6dc4d990)]<PROMPT> submit('exit', bulk_lines=None, streaming=False)
  200. 2015-02-20 15:11:25,089 [CLISSHSocket 10.1.1.1:22] Sending message type MSG_CHANNEL_DATA (94)
  201. 2015-02-20 15:11:25,089 [Cisco.IOS.get_version(Core_6509-E, 10.1.1.1)] Closing
  202. 2015-02-20 15:11:25,089 Requesting call: <bound method CLISSHSocket.close of <CLISSHSocket(0x7f3f6dc4d990, 10.1.1.1:22, connected)>>(*(), **{'flush': True})
  203. 2015-02-20 15:11:25,089 [CLISSHSocket(0x7f3f6dc4d990)]<PROMPT> on_read: 'e'
  204. 2015-02-20 15:11:25,090 [CLISSHSocket(0x7f3f6dc4d990)]<PROMPT> on_read: 'x'
  205. 2015-02-20 15:11:25,090 [CLISSHSocket(0x7f3f6dc4d990)]<PROMPT> on_read: 'i'
  206. 2015-02-20 15:11:25,090 [CLISSHSocket(0x7f3f6dc4d990)]<PROMPT> on_read: 't'
  207. 2015-02-20 15:11:25,090 [CLISSHSocket(0x7f3f6dc4d990)]<PROMPT> on_read: '\r\n'
  208. 2015-02-20 15:11:25,189 [CLISSHSocket 10.1.1.1:22] Receiving message type MSG_CHANNEL_REQUEST (98)
  209. 2015-02-20 15:11:25,190 [CLISSHSocket 10.1.1.1:22] Receiving message type MSG_CHANNEL_EOF (96)
  210. 2015-02-20 15:11:25,190 [CLISSHSocket 10.1.1.1:22] Receiving message type MSG_CHANNEL_CLOSE (97)
  211. 2015-02-20 15:11:25,190 [CLISSHSocket 10.1.1.1:22] Sending message type MSG_CHANNEL_CLOSE (97)
  212. 2015-02-20 15:11:25,190 [CLISSHSocket 10.1.1.1:22] Closing socket
  213. 2015-02-20 15:11:25,190 Unregister socket CLISSHSocket 10.1.1.1:22
  214. 2015-02-20 15:11:26,191 Tick
  215. 2015-02-20 15:11:26,191 Calling delayed <bound method CLISSHSocket.close of <CLISSHSocket(0x7f3f6dc4d990, 10.1.1.1:22, closing)>>(*(), **{'flush': True})
  216. 2015-02-20 15:11:26,192 2 TICKS TO EXIT
  217. 2015-02-20 15:11:27,193 Tick
  218. 2015-02-20 15:11:27,193 1 TICKS TO EXIT
  219. 2015-02-20 15:11:28,194 Tick
  220. 2015-02-20 15:11:28,194 EXIT
  221. 2015-02-20 15:11:28,194 SCRIPT RESULT: Cisco.IOS.get_version(Core_6509-E, 10.1.1.1)
  222. {'attributes': {'image': 's2t54-ADVIPSERVICESK9_NPE-M'},
  223. 'platform': 's2t54',
  224. 'vendor': 'Cisco',
  225. 'version': '15.0(1)SY6'}
  226. 2015-02-20 15:11:28,195 Shutting down the factory
  227. 2015-02-20 15:11:28,195 Metrics:
  228. noc.socketfactory.handle.closed_reads: 0
  229. noc.socketfactory.handle.reads: 25
  230. noc.socketfactory.handle.writes: 1
  231. noc.socketfactory.loops: 30
  232. noc.socketfactory.sockets.count: 0
  233. noc.socketfactory.sockets.register: 1
  234. noc.socketfactory.sockets.unregister: 0
  235. noc.socketfactory.ticks: 4
  236. 2015-02-20 15:11:28,195 0 TICKS TO EXIT
  237. 2015-02-20 15:11:28,195 Stopping socket factory
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement