Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 2012-09-12 14:57:34,908 [script-10.116.0.201-DLink.DxS.get_interfaces] Stopping stream. Sending 'q'
- 2012-09-12 14:57:34,909 [SSH: 10.116.0.201] Sending message type MSG_CHANNEL_DATA (94)
- 2012-09-12 14:57:34,909 <CLISSHSocket(0x8074b4090, 10.116.0.201:22, connected)> set_status: +WRITE
- 2012-09-12 14:57:34,966 [SSH: 10.116.0.201] on_read: '\x1b[5B\r\x1b[2K\x1b[1A\r\n\r\n\r\n\rDGS-3120-24SC:admin#'
- 2012-09-12 14:57:34,966 [SSH: 10.116.0.201] Starting synchronous FSM check
- 2012-09-12 14:57:34,966 [SSH: 10.116.0.201] match '^DGS\-3120\-24SC\:admin#'
- 2012-09-12 14:57:34,966 [SSH: 10.116.0.201] Starting synchronous FSM check
- 2012-09-12 14:57:34,967 [SSH: 10.116.0.201] event(PROMPT)
- 2012-09-12 14:57:34,967 <CLISSHSocket(0x8074b4090, 10.116.0.201:22, connected)> set_status: -WRITE
- 2012-09-12 14:57:36,863 [script-10.116.0.201-DLink.DxS.get_interfaces] cli_object_stream(show ports description) returns:
- ===[ show ports description ]===========================================
- [{'status': False, 'admin_duplex': None, 'admin_state': True, 'speed': None, 'port': '1:1', 'desc': 'Vovan', 'duplex': None, 'admin_speed': 'Auto', 'admin_flowctrl': 'Disabled', 'address_learning': 'Enabled', 'flowctrl': None, 'media_type': 'C', 'mdix': 'Auto'}, {'status': False, 'admin_duplex': None, 'admin_state': True, 'speed': None, 'port': '1:1', 'desc': '', 'duplex': None, 'admin_speed': 'Auto', 'admin_flowctrl': 'Disabled', 'address_learning': 'Enabled', 'flowctrl': None, 'media_type': 'F', 'mdix': 'Auto'}, {'status': True, 'admin_duplex': None, 'admin_state': True, 'speed': '1000M', 'port': '1:2', 'desc': 'Uplink', 'duplex': 'Full', 'admin_speed': 'Auto', 'admin_flowctrl': 'Disabled', 'address_learning': 'Enabled', 'flowctrl': 'None', 'media_type': 'C', 'mdix': 'Auto'}, {'status': False, 'admin_duplex': None, 'admin_state': True, 'speed': None, 'port': '1:2', 'desc': '', 'duplex': None, 'admin_speed': 'Auto', 'admin_flowctrl': 'Disabled', 'address_learning': 'Enabled', 'flowctrl': None, 'media_type': 'F', 'mdix': 'Auto'}, {'status': True, 'admin_duplex': None, 'admin_state': True, 'speed': '100M', 'port': '1:3', 'desc': '', 'duplex': 'Full', 'admin_speed': 'Auto', 'admin_flowctrl': 'Disabled', 'address_learning': 'Enabled', 'flowctrl': 'None', 'media_type': 'C', 'mdix': 'Auto'}, {'status': False, 'admin_duplex': None, 'admin_state': True, 'speed': None, 'port': '1:3', 'desc': '', 'duplex': None, 'admin_speed': 'Auto', 'admin_flowctrl': 'Disabled', 'address_learning': 'Enabled', 'flowctrl': None, 'media_type': 'F', 'mdix': 'Auto'}, {'status': False, 'admin_duplex': 'Full', 'admin_state': True, 'speed': None, 'port': '1:4', 'desc': 'Miror21', 'duplex': None, 'admin_speed': '100M', 'admin_flowctrl': 'Disabled', 'address_learning': 'Enabled', 'flowctrl': None, 'media_type': 'C', 'mdix': 'Auto'}, {'status': False, 'admin_duplex': None, 'admin_state': True, 'speed': None, 'port': '1:4', 'desc': '', 'duplex': None, 'admin_speed': 'Auto', 'admin_flowctrl': 'Disabled', 'address_learning': 'Enabled', 'flowctrl': None, 'media_type': 'F', 'mdix': 'Auto'}, {'status': False, 'admin_duplex': None, 'admin_state': True, 'speed': None, 'port': '1:5', 'desc': 'Gagarina17', 'duplex': None, 'admin_speed': 'Auto', 'admin_flowctrl': 'Disabled', 'address_learning': 'Enabled', 'flowctrl': None, 'media_type': 'C', 'mdix': 'Auto'}, {'status': True, 'admin_duplex': None, 'admin_state': True, 'speed': '1000M', 'port': '1:5', 'desc': '', 'duplex': 'Full', 'admin_speed': 'Auto', 'admin_flowctrl': 'Disabled', 'address_learning': 'Enabled', 'flowctrl': 'None', 'media_type': 'F', 'mdix': 'Auto'}, {'status': False, 'admin_duplex': None, 'admin_state': True, 'speed': None, 'port': '1:6', 'desc': 'Gagarina47', 'duplex': None, 'admin_speed': 'Auto', 'admin_flowctrl': 'Disabled', 'address_learning': 'Enabled', 'flowctrl': None, 'media_type': 'C', 'mdix': 'Auto'}, {'status': True, 'admin_duplex': None, 'admin_state': True, 'speed': '1000M', 'port': '1:6', 'desc': '', 'duplex': 'Full', 'admin_speed': 'Auto', 'admin_flowctrl': 'Disabled', 'address_learning': 'Enabled', 'flowctrl': 'None', 'media_type': 'F', 'mdix': 'Auto'}, {'status': False, 'admin_duplex': None, 'admin_state': True, 'speed': None, 'port': '1:7', 'desc': 'Gagarina63Privatbank', 'duplex': None, 'admin_speed': 'Auto', 'admin_flowctrl': 'Disabled', 'address_learning': 'Enabled', 'flowctrl': None, 'media_type': 'C', 'mdix': 'Auto'}, {'status': True, 'admin_duplex': None, 'admin_state': True, 'speed': '1000M', 'port': '1:7', 'desc': '', 'duplex': 'Full', 'admin_speed': 'Auto', 'admin_flowctrl': 'Disabled', 'address_learning': 'Enabled', 'flowctrl': 'None', 'media_type': 'F', 'mdix': 'Auto'}, {'status': False, 'admin_duplex': None, 'admin_state': True, 'speed': None, 'port': '1:8', 'desc': 'Gagarina21', 'duplex': None, 'admin_speed': 'Auto', 'admin_flowctrl': 'Disabled', 'address_learning': 'Enabled', 'flowctrl': None, 'media_type': 'C', 'mdix': 'Auto'}, {'status': True, 'admin_duplex': None, 'admin_state': True, 'speed': '1000M', 'port': '1:8', 'desc': '', 'duplex': 'Full', 'admin_speed': 'Auto', 'admin_flowctrl': 'Disabled', 'address_learning': 'Enabled', 'flowctrl': 'None', 'media_type': 'F', 'mdix': 'Auto'}, {'status': True, 'admin_duplex': None, 'admin_state': True, 'speed': '1000M', 'port': '1:9', 'desc': 'Gagarina14', 'duplex': 'Full', 'admin_speed': 'Auto', 'admin_flowctrl': 'Disabled', 'address_learning': 'Enabled', 'flowctrl': 'None', 'media_type': None, 'mdix': 'Auto'}, {'status': True, 'admin_duplex': 'Full', 'admin_state': True, 'speed': '100M', 'port': '1:10', 'desc': 'Gagarina16', 'duplex': 'Full', 'admin_speed': '100M', 'admin_flowctrl': 'Disabled', 'address_learning': 'Enabled', 'flowctrl': 'None', 'media_type': None, 'mdix': 'Auto'}, {'status': True, 'admin_duplex': 'Full', 'admin_state': True, 'speed': '100M', 'port': '1:11', 'desc': 'Gagarina18', 'duplex': 'Full', 'admin_speed': '100M', 'admin_flowctrl': 'Disabled', 'address_learning': 'Enabled', 'flowctrl': 'None', 'media_type': None, 'mdix': 'Auto'}, {'status': True, 'admin_duplex': 'Full', 'admin_state': True, 'speed': '100M', 'port': '1:12', 'desc': 'Gagarina20', 'duplex': 'Full', 'admin_speed': '100M', 'admin_flowctrl': 'Disabled', 'address_learning': 'Enabled', 'flowctrl': 'None', 'media_type': None, 'mdix': 'Auto'}, {'status': True, 'admin_duplex': 'Full', 'admin_state': True, 'speed': '100M', 'port': '1:13', 'desc': 'Gagarina22', 'duplex': 'Full', 'admin_speed': '100M', 'admin_flowctrl': 'Disabled', 'address_learning': 'Enabled', 'flowctrl': 'None', 'media_type': None, 'mdix': 'Auto'}, {'status': True, 'admin_duplex': 'Full', 'admin_state': True, 'speed': '100M', 'port': '1:14', 'desc': 'Gagarina24', 'duplex': 'Full', 'admin_speed': '100M', 'admin_flowctrl': 'Disabled', 'address_learning': 'Enabled', 'flowctrl': 'None', 'media_type': None, 'mdix': 'Auto'}, {'status': False, 'admin_duplex': 'Full', 'admin_state': True, 'speed': None, 'port': '1:15', 'desc': '1:16 Enabled 100M/Full/Disabled 100M/Full/None Enabled', 'duplex': None, 'admin_speed': '100M', 'admin_flowctrl': 'Disabled', 'address_learning': 'Enabled', 'flowctrl': None, 'media_type': None, 'mdix': 'Auto'}, {'status': True, 'admin_duplex': 'Full', 'admin_state': True, 'speed': '100M', 'port': '1:17', 'desc': 'Ordgenikidze8Privatbank', 'duplex': 'Full', 'admin_speed': '100M', 'admin_flowctrl': 'Disabled', 'address_learning': 'Enabled', 'flowctrl': 'None', 'media_type': None, 'mdix': 'Auto'}, {'status': True, 'admin_duplex': 'Full', 'admin_state': True, 'speed': '100M', 'port': '1:18', 'desc': 'FavoritOrdgenikidze13', 'duplex': 'Full', 'admin_speed': '100M', 'admin_flowctrl': 'Enabled', 'address_learning': 'Enabled', 'flowctrl': '802.3x', 'media_type': None, 'mdix': 'Auto'}, {'status': True, 'admin_duplex': 'Full', 'admin_state': True, 'speed': '100M', 'port': '1:19', 'desc': 'Bm_Bnak', 'duplex': 'Full', 'admin_speed': '100M', 'admin_flowctrl': 'Disabled', 'address_learning': 'Enabled', 'flowctrl': 'None', 'media_type': None, 'mdix': 'Auto'}, {'status': True, 'admin_duplex': 'Full', 'admin_state': True, 'speed': '100M', 'port': '1:20', 'desc': 'Yugkombank', 'duplex': 'Full', 'admin_speed': '100M', 'admin_flowctrl': 'Enabled', 'address_learning': 'Enabled', 'flowctrl': '802.3x', 'media_type': None, 'mdix': 'Auto'}, {'status': True, 'admin_duplex': None, 'admin_state': True, 'speed': '1000M', 'port': '1:21', 'desc': 'Gagarina15', 'duplex': 'Full', 'admin_speed': 'Auto', 'admin_flowctrl': 'Disabled', 'address_learning': 'Enabled', 'flowctrl': 'None', 'media_type': None, 'mdix': 'Auto'}, {'status': False, 'admin_duplex': 'Full', 'admin_state': True, 'speed': None, 'port': '1:22', 'desc': '', 'duplex': None, 'admin_speed': '100M', 'admin_flowctrl': 'Disabled', 'address_learning': 'Enabled', 'flowctrl': None, 'media_type': None, 'mdix': 'Auto'}, {'status': False, 'admin_duplex': None, 'admin_state': True, 'speed': None, 'port': '1:23', 'desc': '', 'duplex': None, 'admin_speed': 'Auto', 'admin_flowctrl': 'Disabled', 'address_learning': 'Enabled', 'flowctrl': None, 'media_type': None, 'mdix': 'Auto'}, {'status': False, 'admin_duplex': None, 'admin_state': True, 'speed': None, 'port': '1:24', 'desc': 'null', 'duplex': None, 'admin_speed': 'Auto', 'admin_flowctrl': 'Disabled', 'address_learning': 'Enabled', 'flowctrl': None, 'media_type': None, 'mdix': 'Auto'}]
- ========================================================================
- 2012-09-12 14:57:36,863 [SSH: 10.116.0.201] on_read: 'q'
- 2012-09-12 14:57:36,864 Tick
- 2012-09-12 14:57:36,865 Resetting wait ticks
- 2012-09-12 14:57:36,865 [script-10.116.0.201-DLink.DxS.get_interfaces] cli(show vlan)
- 2012-09-12 14:57:36,866 [SSH: 10.116.0.201] submit('show vlan', bulk_lines=None, streaming=False)
- 2012-09-12 14:57:36,866 [SSH: 10.116.0.201] Sending message type MSG_CHANNEL_DATA (94)
- 2012-09-12 14:57:36,866 <CLISSHSocket(0x8074b4090, 10.116.0.201:22, connected)> set_status: +WRITE
- 2012-09-12 14:57:36,866 [script-10.116.0.201-DLink.DxS.get_interfaces] cli(show vlan) returns:
- ===[ show vlan ]========================================================
- 'q'
- ========================================================================
- 2012-09-12 14:57:36,867 [script-10.116.0.201-DLink.DxS.get_mac_address_table] Running script: DLink.DxS.get_mac_address_table ({})
- 2012-09-12 14:57:36,868 [script-10.116.0.201-DLink.DxS.get_mac_address_table] cli(show fdb)
- 2012-09-12 14:57:36,868 [SSH: 10.116.0.201] submit('show fdb', bulk_lines=None, streaming=False)
- 2012-09-12 14:57:36,868 [SSH: 10.116.0.201] Sending message type MSG_CHANNEL_DATA (94)
- 2012-09-12 14:57:36,868 <CLISSHSocket(0x8074b4090, 10.116.0.201:22, connected)> set_status: +WRITE
- 2012-09-12 14:57:36,869 [script-10.116.0.201-DLink.DxS.get_mac_address_table] cli(show fdb) returns:
- ===[ show fdb ]=========================================================
- ''
- ========================================================================
- 2012-09-12 14:57:36,869 [script-10.116.0.201-DLink.DxS.get_mac_address_table] Script returns with result: []
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement