Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- root@noc:/opt/noc# ./noc debug-script get_version Core_6509-E
- 2015-02-20 15:11:22,293 Using JSON library: cjson
- 2015-02-20 15:11:22,302 SSH: Using gmpy
- 2015-02-20 15:11:22,442 Connecting to MongoDB {'username': 'noc', 'password': '********', 'db': 'noc'}
- 2015-02-20 15:11:22,507 Connecting to MongoDB {'username': 'noc', 'password': '********', 'db': 'noc'}
- 2015-02-20 15:11:22,515 Loading PeriodicRegistry
- 2015-02-20 15:11:22,522 Registering MetricType
- 2015-02-20 15:11:22,527 Loading compiled MIBs
- 2015-02-20 15:11:22,527 Loading compiled MIBs from 'cmibs'
- 2015-02-20 15:11:22,527 Loading MIB: IP-MIB
- 2015-02-20 15:11:22,528 Loading MIB: IF-MIB
- 2015-02-20 15:11:22,528 Loading MIB: CISCO-PPPOE-MIB
- 2015-02-20 15:11:22,528 Loading MIB: RFC1213-MIB
- 2015-02-20 15:11:22,528 Loading MIB: SNMPv2-MIB
- 2015-02-20 15:11:22,528 Loading MIB: CISCO-VPDN-MGMT-MIB
- 2015-02-20 15:11:22,531 Configuring metric mappings sa.managedobject -> object.{{object.name|qm}}.{{metric_type|qm}}
- 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}}
- 2015-02-20 15:11:22,533 Loading DownloaderRegistry
- 2015-02-20 15:11:22,553 Loading ProfileRegistry
- 2015-02-20 15:11:22,962 Loading ScriptRegistry
- 2015-02-20 15:11:23,006 Adding FTS index for sa.managedobject
- 2015-02-20 15:11:23,016 Registering ConnectionType
- 2015-02-20 15:11:23,018 Registering ObjectModel
- 2015-02-20 15:11:23,019 Registering Capability
- 2015-02-20 15:11:23,024 Adding FTS index for vc.vc
- 2015-02-20 15:11:23,037 Adding FTS index for ip.vrf
- 2015-02-20 15:11:23,040 Adding FTS index for ip.prefix
- 2015-02-20 15:11:23,041 Adding FTS index for ip.address
- 2015-02-20 15:11:23,187 Setting up 'select' polling method
- 2015-02-20 15:11:23,187 Activating 'select' poller
- 2015-02-20 15:11:23,187 Loading private ssh key from 'etc/ssh/id_rsa'
- 2015-02-20 15:11:23,188 Loading public ssh key from 'etc/ssh/id_rsa.pub'
- access_profile {
- profile: "Cisco.IOS"
- scheme: SSH
- address: "10.1.1.1"
- port: 22
- user: "noc"
- password: "111"
- super_password: "111"
- attrs {
- key: "image"
- value: "s2t54-ADVIPSERVICESK9_NPE-M"
- }
- attrs {
- key: "platform"
- value: "s2t54"
- }
- attrs {
- key: "vendor"
- value: "Cisco"
- }
- attrs {
- key: "version"
- value: "15.0(1)SY6"
- }
- }
- object_name: "Core_6509-E"
- script: "Cisco.IOS.get_version"
- timeout: 120
- 2015-02-20 15:11:23,189 Running script thread
- 2015-02-20 15:11:23,189 Running socket factory (SelectPoller)
- 2015-02-20 15:11:23,191 Creating transaction id=1934740222 method=None callback=None
- 2015-02-20 15:11:23,191 Capabilities: {}
- 2015-02-20 15:11:23,192 [Cisco.IOS.get_version(Core_6509-E, 10.1.1.1)] Running
- 2015-02-20 15:11:23,192 Running script: Cisco.IOS.get_version ({}), timeout 120s
- 2015-02-20 15:11:23,192 [Cisco.IOS.get_version(Core_6509-E, 10.1.1.1)] cli(show version)
- 2015-02-20 15:11:23,192 [Cisco.IOS.get_version(Core_6509-E, 10.1.1.1)] Running new provider
- 2015-02-20 15:11:23,192 [CLISSHSocket(0x7f3f6dc4d990)]<None> ==> SSH_START
- 2015-02-20 15:11:23,192 [CLISSHSocket(0x7f3f6dc4d990)]<SSH_START> set_timeout(30)
- 2015-02-20 15:11:23,193 Register socket CLISSHSocket 10.1.1.1:22 (None)
- 2015-02-20 15:11:24,192 Tick
- 2015-02-20 15:11:24,193 3 TICKS TO EXIT
- 2015-02-20 15:11:24,193 [CLISSHSocket(0x7f3f6dc4d990)]<SSH_START> Initializing socket
- 2015-02-20 15:11:24,193 [CLISSHSocket 10.1.1.1:22] Connecting 10.1.1.1:22
- 2015-02-20 15:11:24,198 [CLISSHSocket 10.1.1.1:22] create_socket returns non-zero code 115[EINPROGRESS]
- 2015-02-20 15:11:24,198 [CLISSHSocket 10.1.1.1:22] Connected
- 2015-02-20 15:11:24,199 [CLISSHSocket(0x7f3f6dc4d990)]<SSH_START> event(SSH_VERSION)
- 2015-02-20 15:11:24,199 [CLISSHSocket(0x7f3f6dc4d990)]<SSH_START> ==> SSH_VERSION
- 2015-02-20 15:11:24,199 [CLISSHSocket 10.1.1.1:22] Remote protocol version 2.0, remote software version Cisco-1.25
- 2015-02-20 15:11:24,199 [CLISSHSocket(0x7f3f6dc4d990)]<SSH_VERSION> Setting SSH transforms to: in=none none, out=none none
- 2015-02-20 15:11:24,199 [CLISSHSocket(0x7f3f6dc4d990)]<SSH_VERSION> Setting SSH transform keys
- 2015-02-20 15:11:24,199 [CLISSHSocket 10.1.1.1:22] Sending message type MSG_KEXINIT (20)
- 2015-02-20 15:11:24,200 [CLISSHSocket(0x7f3f6dc4d990)]<SSH_VERSION> event(SSH_KEY_EXCHANGE)
- 2015-02-20 15:11:24,200 [CLISSHSocket(0x7f3f6dc4d990)]<SSH_VERSION> ==> SSH_KEY_EXCHANGE
- 2015-02-20 15:11:24,200 [CLISSHSocket 10.1.1.1:22] Receiving message type MSG_KEXINIT (20)
- 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']
- 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
- 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)
- 2015-02-20 15:11:24,201 [CLISSHSocket 10.1.1.1:22] Sending message type MSG_KEX_DH_GEX_REQUEST_OLD (30)
- 2015-02-20 15:11:24,428 [CLISSHSocket 10.1.1.1:22] Receiving message type MSG_KEXDH_REPLY (31)
- 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
- 2015-02-20 15:11:24,429 [CLISSHSocket(0x7f3f6dc4d990)]<SSH_KEY_EXCHANGE> Setting SSH transform keys
- 2015-02-20 15:11:24,429 [CLISSHSocket 10.1.1.1:22] Sending message type MSG_NEWKEYS (21)
- 2015-02-20 15:11:24,429 [CLISSHSocket 10.1.1.1:22] Receiving message type MSG_NEWKEYS (21)
- 2015-02-20 15:11:24,430 [CLISSHSocket 10.1.1.1:22] Using new keys
- 2015-02-20 15:11:24,430 [CLISSHSocket(0x7f3f6dc4d990)]<SSH_KEY_EXCHANGE> event(SSH_AUTH)
- 2015-02-20 15:11:24,430 [CLISSHSocket(0x7f3f6dc4d990)]<SSH_KEY_EXCHANGE> ==> SSH_AUTH
- 2015-02-20 15:11:24,430 [CLISSHSocket 10.1.1.1:22] Requesting service ssh-userauth
- 2015-02-20 15:11:24,430 [CLISSHSocket 10.1.1.1:22] Sending message type MSG_SERVICE_REQUEST (5)
- 2015-02-20 15:11:24,628 [CLISSHSocket 10.1.1.1:22] Receiving message type MSG_SERVICE_ACCEPT (6)
- 2015-02-20 15:11:24,628 [CLISSHSocket 10.1.1.1:22] Starting service ssh-userauth
- 2015-02-20 15:11:24,629 [CLISSHSocket(0x7f3f6dc4d990)]<SSH_AUTH> event(SSH_AUTH_PASSWORD)
- 2015-02-20 15:11:24,629 [CLISSHSocket(0x7f3f6dc4d990)]<SSH_AUTH> ==> SSH_AUTH_PASSWORD
- 2015-02-20 15:11:24,629 [CLISSHSocket 10.1.1.1:22] Authenticating with 'none' method
- 2015-02-20 15:11:24,629 [CLISSHSocket 10.1.1.1:22] Sending message type MSG_USERAUTH_REQUEST (50)
- 2015-02-20 15:11:24,630 [CLISSHSocket 10.1.1.1:22] Receiving message type MSG_USERAUTH_FAILURE (51)
- 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)
- 2015-02-20 15:11:24,630 [CLISSHSocket 10.1.1.1:22] Partially authenticated with 'none'. Trying next method
- 2015-02-20 15:11:24,630 [CLISSHSocket 10.1.1.1:22] Authenticating with 'password' method
- 2015-02-20 15:11:24,630 [CLISSHSocket 10.1.1.1:22] Sending message type MSG_USERAUTH_REQUEST (50)
- 2015-02-20 15:11:24,633 [CLISSHSocket 10.1.1.1:22] Receiving message type MSG_USERAUTH_SUCCESS (52)
- 2015-02-20 15:11:24,633 [CLISSHSocket(0x7f3f6dc4d990)]<SSH_AUTH_PASSWORD> event(SSH_CHANNEL)
- 2015-02-20 15:11:24,633 [CLISSHSocket(0x7f3f6dc4d990)]<SSH_AUTH_PASSWORD> ==> SSH_CHANNEL
- 2015-02-20 15:11:24,633 [CLISSHSocket 10.1.1.1:22] Sending message type MSG_CHANNEL_OPEN (90)
- 2015-02-20 15:11:24,634 [CLISSHSocket 10.1.1.1:22] Receiving message type MSG_CHANNEL_OPEN_CONFIRMATION (91)
- 2015-02-20 15:11:24,634 [CLISSHSocket 10.1.1.1:22] Opening channel. local=0 remote=3
- 2015-02-20 15:11:24,634 [CLISSHSocket(0x7f3f6dc4d990)]<SSH_CHANNEL> event(SSH_PTY)
- 2015-02-20 15:11:24,634 [CLISSHSocket(0x7f3f6dc4d990)]<SSH_CHANNEL> ==> SSH_PTY
- 2015-02-20 15:11:24,634 [CLISSHSocket 10.1.1.1:22] Requesting PTY
- 2015-02-20 15:11:24,634 [CLISSHSocket 10.1.1.1:22] Sending message type MSG_CHANNEL_REQUEST (98)
- 2015-02-20 15:11:24,635 [CLISSHSocket 10.1.1.1:22] Receiving message type MSG_CHANNEL_SUCCESS (99)
- 2015-02-20 15:11:24,635 [CLISSHSocket(0x7f3f6dc4d990)]<SSH_PTY> event(SSH_SHELL)
- 2015-02-20 15:11:24,635 [CLISSHSocket(0x7f3f6dc4d990)]<SSH_PTY> ==> SSH_SHELL
- 2015-02-20 15:11:24,635 [CLISSHSocket 10.1.1.1:22] Requesting shell
- 2015-02-20 15:11:24,635 [CLISSHSocket 10.1.1.1:22] Sending message type MSG_CHANNEL_REQUEST (98)
- 2015-02-20 15:11:24,636 [CLISSHSocket 10.1.1.1:22] Receiving message type MSG_CHANNEL_SUCCESS (99)
- 2015-02-20 15:11:24,636 [CLISSHSocket(0x7f3f6dc4d990)]<SSH_SHELL> event(START)
- 2015-02-20 15:11:24,636 [CLISSHSocket(0x7f3f6dc4d990)]<SSH_SHELL> ==> START
- 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')])
- 2015-02-20 15:11:24,637 [CLISSHSocket(0x7f3f6dc4d990)]<START> on_read: '\r\nCore-WS-C6509-E#'
- 2015-02-20 15:11:24,637 [CLISSHSocket(0x7f3f6dc4d990)]<START> Starting synchronous FSM check
- 2015-02-20 15:11:24,637 [CLISSHSocket(0x7f3f6dc4d990)]<START> match '^(?P<hostname>[a-zA-Z0-9]\S{0,19})(?:[-_\d\w]+)?(?:\(config[^\)]*\))?#'
- 2015-02-20 15:11:24,638 [CLISSHSocket(0x7f3f6dc4d990)]<START> event(PROMPT)
- 2015-02-20 15:11:24,638 [CLISSHSocket(0x7f3f6dc4d990)]<START> ==> PROMPT
- 2015-02-20 15:11:24,638 [CLISSHSocket(0x7f3f6dc4d990)]<PROMPT> on_PROMPT_enter
- 2015-02-20 15:11:24,638 [CLISSHSocket(0x7f3f6dc4d990)]<PROMPT> Using prompt pattern: ^Core\-WS\-C6509\-E(?:[-_\d\w]+)?(?:\(config[^\)]*\))?#
- 2015-02-20 15:11:24,638 [CLISSHSocket(0x7f3f6dc4d990)]<PROMPT> set_patterns([('^Core\\-WS\\-C6509\\-E(?:[-_\\d\\w]+)?(?:\\(config[^\\)]*\\))?#', 'PROMPT'), ('(^ --More--)|(\\?\\s*\\[confirm\\])', 'PAGER')])
- 2015-02-20 15:11:24,659 [Cisco.IOS.get_version(Core_6509-E, 10.1.1.1)] CLI Provider is ready
- 2015-02-20 15:11:24,659 [Cisco.IOS.get_version(Core_6509-E, 10.1.1.1)] Setting up session
- 2015-02-20 15:11:24,659 [Cisco.IOS.get_version(Core_6509-E, 10.1.1.1)] Disable paging
- 2015-02-20 15:11:24,659 [Cisco.IOS.get_version(Core_6509-E, 10.1.1.1)] cli(terminal length 0)
- 2015-02-20 15:11:24,659 [CLISSHSocket(0x7f3f6dc4d990)]<PROMPT> submit('terminal length 0', bulk_lines=None, streaming=False)
- 2015-02-20 15:11:24,660 [CLISSHSocket 10.1.1.1:22] Sending message type MSG_CHANNEL_DATA (94)
- 2015-02-20 15:11:24,660 [CLISSHSocket(0x7f3f6dc4d990)]<PROMPT> on_read: 't'
- 2015-02-20 15:11:24,661 [CLISSHSocket(0x7f3f6dc4d990)]<PROMPT> on_read: 'e'
- 2015-02-20 15:11:24,661 [CLISSHSocket(0x7f3f6dc4d990)]<PROMPT> on_read: 'r'
- 2015-02-20 15:11:24,661 [CLISSHSocket(0x7f3f6dc4d990)]<PROMPT> on_read: 'm'
- 2015-02-20 15:11:24,661 [CLISSHSocket(0x7f3f6dc4d990)]<PROMPT> on_read: 'i'
- 2015-02-20 15:11:24,661 [CLISSHSocket(0x7f3f6dc4d990)]<PROMPT> on_read: 'n'
- 2015-02-20 15:11:24,661 [CLISSHSocket(0x7f3f6dc4d990)]<PROMPT> on_read: 'a'
- 2015-02-20 15:11:24,661 [CLISSHSocket(0x7f3f6dc4d990)]<PROMPT> on_read: 'l'
- 2015-02-20 15:11:24,662 [CLISSHSocket(0x7f3f6dc4d990)]<PROMPT> on_read: ' '
- 2015-02-20 15:11:24,662 [CLISSHSocket(0x7f3f6dc4d990)]<PROMPT> on_read: 'l'
- 2015-02-20 15:11:24,662 [CLISSHSocket(0x7f3f6dc4d990)]<PROMPT> on_read: 'e'
- 2015-02-20 15:11:24,662 [CLISSHSocket(0x7f3f6dc4d990)]<PROMPT> on_read: 'n'
- 2015-02-20 15:11:24,662 [CLISSHSocket(0x7f3f6dc4d990)]<PROMPT> on_read: 'g'
- 2015-02-20 15:11:24,662 [CLISSHSocket(0x7f3f6dc4d990)]<PROMPT> on_read: 't'
- 2015-02-20 15:11:24,662 [CLISSHSocket(0x7f3f6dc4d990)]<PROMPT> on_read: 'h'
- 2015-02-20 15:11:24,662 [CLISSHSocket(0x7f3f6dc4d990)]<PROMPT> on_read: ' '
- 2015-02-20 15:11:24,663 [CLISSHSocket(0x7f3f6dc4d990)]<PROMPT> on_read: '0'
- 2015-02-20 15:11:24,663 [CLISSHSocket(0x7f3f6dc4d990)]<PROMPT> on_read: '\r\n'
- 2015-02-20 15:11:24,859 [CLISSHSocket(0x7f3f6dc4d990)]<PROMPT> on_read: 'Core-WS-C6509-E#'
- 2015-02-20 15:11:24,859 [CLISSHSocket(0x7f3f6dc4d990)]<PROMPT> Starting synchronous FSM check
- 2015-02-20 15:11:24,860 [CLISSHSocket(0x7f3f6dc4d990)]<PROMPT> match '^Core\-WS\-C6509\-E(?:[-_\d\w]+)?(?:\(config[^\)]*\))?#'
- 2015-02-20 15:11:24,860 [CLISSHSocket(0x7f3f6dc4d990)]<PROMPT> Starting synchronous FSM check
- 2015-02-20 15:11:24,860 [CLISSHSocket(0x7f3f6dc4d990)]<PROMPT> event(PROMPT)
- 2015-02-20 15:11:24,874 [Cisco.IOS.get_version(Core_6509-E, 10.1.1.1)] cli(terminal length 0) returns:
- ===[ terminal length 0 ]================================================
- ''
- ========================================================================
- 2015-02-20 15:11:24,874 [CLISSHSocket(0x7f3f6dc4d990)]<PROMPT> submit('show version', bulk_lines=None, streaming=False)
- 2015-02-20 15:11:24,874 [CLISSHSocket 10.1.1.1:22] Sending message type MSG_CHANNEL_DATA (94)
- 2015-02-20 15:11:24,875 [CLISSHSocket(0x7f3f6dc4d990)]<PROMPT> on_read: 's'
- 2015-02-20 15:11:24,875 [CLISSHSocket(0x7f3f6dc4d990)]<PROMPT> on_read: 'h'
- 2015-02-20 15:11:24,875 [CLISSHSocket(0x7f3f6dc4d990)]<PROMPT> on_read: 'o'
- 2015-02-20 15:11:24,875 [CLISSHSocket(0x7f3f6dc4d990)]<PROMPT> on_read: 'w'
- 2015-02-20 15:11:24,876 [CLISSHSocket(0x7f3f6dc4d990)]<PROMPT> on_read: ' '
- 2015-02-20 15:11:24,876 [CLISSHSocket(0x7f3f6dc4d990)]<PROMPT> on_read: 'v'
- 2015-02-20 15:11:24,876 [CLISSHSocket(0x7f3f6dc4d990)]<PROMPT> on_read: 'e'
- 2015-02-20 15:11:24,876 [CLISSHSocket(0x7f3f6dc4d990)]<PROMPT> on_read: 'r'
- 2015-02-20 15:11:24,876 [CLISSHSocket(0x7f3f6dc4d990)]<PROMPT> on_read: 's'
- 2015-02-20 15:11:24,876 [CLISSHSocket(0x7f3f6dc4d990)]<PROMPT> on_read: 'i'
- 2015-02-20 15:11:24,876 [CLISSHSocket(0x7f3f6dc4d990)]<PROMPT> on_read: 'o'
- 2015-02-20 15:11:24,877 [CLISSHSocket(0x7f3f6dc4d990)]<PROMPT> on_read: 'n'
- 2015-02-20 15:11:24,877 [CLISSHSocket(0x7f3f6dc4d990)]<PROMPT> on_read: '\r\n'
- 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#'
- 2015-02-20 15:11:25,078 [CLISSHSocket(0x7f3f6dc4d990)]<PROMPT> Starting synchronous FSM check
- 2015-02-20 15:11:25,078 [CLISSHSocket(0x7f3f6dc4d990)]<PROMPT> match '^Core\-WS\-C6509\-E(?:[-_\d\w]+)?(?:\(config[^\)]*\))?#'
- 2015-02-20 15:11:25,078 [CLISSHSocket(0x7f3f6dc4d990)]<PROMPT> Starting synchronous FSM check
- 2015-02-20 15:11:25,078 [CLISSHSocket(0x7f3f6dc4d990)]<PROMPT> event(PROMPT)
- 2015-02-20 15:11:25,088 [Cisco.IOS.get_version(Core_6509-E, 10.1.1.1)] cli(show version) returns:
- ===[ show version ]=====================================================
- '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'
- ========================================================================
- 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)
- 2015-02-20 15:11:25,088 [Cisco.IOS.get_version(Core_6509-E, 10.1.1.1)] Exiting
- 2015-02-20 15:11:25,089 [CLISSHSocket(0x7f3f6dc4d990)]<PROMPT> submit('exit', bulk_lines=None, streaming=False)
- 2015-02-20 15:11:25,089 [CLISSHSocket 10.1.1.1:22] Sending message type MSG_CHANNEL_DATA (94)
- 2015-02-20 15:11:25,089 [Cisco.IOS.get_version(Core_6509-E, 10.1.1.1)] Closing
- 2015-02-20 15:11:25,089 Requesting call: <bound method CLISSHSocket.close of <CLISSHSocket(0x7f3f6dc4d990, 10.1.1.1:22, connected)>>(*(), **{'flush': True})
- 2015-02-20 15:11:25,089 [CLISSHSocket(0x7f3f6dc4d990)]<PROMPT> on_read: 'e'
- 2015-02-20 15:11:25,090 [CLISSHSocket(0x7f3f6dc4d990)]<PROMPT> on_read: 'x'
- 2015-02-20 15:11:25,090 [CLISSHSocket(0x7f3f6dc4d990)]<PROMPT> on_read: 'i'
- 2015-02-20 15:11:25,090 [CLISSHSocket(0x7f3f6dc4d990)]<PROMPT> on_read: 't'
- 2015-02-20 15:11:25,090 [CLISSHSocket(0x7f3f6dc4d990)]<PROMPT> on_read: '\r\n'
- 2015-02-20 15:11:25,189 [CLISSHSocket 10.1.1.1:22] Receiving message type MSG_CHANNEL_REQUEST (98)
- 2015-02-20 15:11:25,190 [CLISSHSocket 10.1.1.1:22] Receiving message type MSG_CHANNEL_EOF (96)
- 2015-02-20 15:11:25,190 [CLISSHSocket 10.1.1.1:22] Receiving message type MSG_CHANNEL_CLOSE (97)
- 2015-02-20 15:11:25,190 [CLISSHSocket 10.1.1.1:22] Sending message type MSG_CHANNEL_CLOSE (97)
- 2015-02-20 15:11:25,190 [CLISSHSocket 10.1.1.1:22] Closing socket
- 2015-02-20 15:11:25,190 Unregister socket CLISSHSocket 10.1.1.1:22
- 2015-02-20 15:11:26,191 Tick
- 2015-02-20 15:11:26,191 Calling delayed <bound method CLISSHSocket.close of <CLISSHSocket(0x7f3f6dc4d990, 10.1.1.1:22, closing)>>(*(), **{'flush': True})
- 2015-02-20 15:11:26,192 2 TICKS TO EXIT
- 2015-02-20 15:11:27,193 Tick
- 2015-02-20 15:11:27,193 1 TICKS TO EXIT
- 2015-02-20 15:11:28,194 Tick
- 2015-02-20 15:11:28,194 EXIT
- 2015-02-20 15:11:28,194 SCRIPT RESULT: Cisco.IOS.get_version(Core_6509-E, 10.1.1.1)
- {'attributes': {'image': 's2t54-ADVIPSERVICESK9_NPE-M'},
- 'platform': 's2t54',
- 'vendor': 'Cisco',
- 'version': '15.0(1)SY6'}
- 2015-02-20 15:11:28,195 Shutting down the factory
- 2015-02-20 15:11:28,195 Metrics:
- noc.socketfactory.handle.closed_reads: 0
- noc.socketfactory.handle.reads: 25
- noc.socketfactory.handle.writes: 1
- noc.socketfactory.loops: 30
- noc.socketfactory.sockets.count: 0
- noc.socketfactory.sockets.register: 1
- noc.socketfactory.sockets.unregister: 0
- noc.socketfactory.ticks: 4
- 2015-02-20 15:11:28,195 0 TICKS TO EXIT
- 2015-02-20 15:11:28,195 Stopping socket factory
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement