Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ./noc script --debug get_lldp_neighbors 10.170.112.9
- 2017-12-18 17:34:51,079 [noc.core.dcs.base] Resolve near service postgres
- 2017-12-18 17:34:51,079 [noc.core.http.client] HTTP GET http://consul:8500/v1/catalog/service/postgres?near=_agent
- 2017-12-18 17:34:51,083 [noc.core.http.client] HTTP Response 200
- 2017-12-18 17:34:51,084 [noc.core.dcs.base] Resolved near service postgres to ['10.10.10.41:5432']
- 2017-12-18 17:34:51,123 [root] Loading PeriodicRegistry
- 2017-12-18 17:34:51,893 [noc.core.dcs.base] Running resolver for service mongo
- 2017-12-18 17:34:51,893 [noc.core.dcs.base] [mongo] Starting resolver
- 2017-12-18 17:34:51,893 [noc.core.http.client] HTTP GET http://consul:8500/v1/health/service/mongo?passing=1
- 2017-12-18 17:34:51,895 [noc.core.http.client] HTTP Response 200
- 2017-12-18 17:34:51,895 [noc.core.dcs.base] [mongo] Set active services to: mongo: 10.10.10.41:27017
- 2017-12-18 17:34:51,895 [noc.core.http.client] HTTP GET http://consul:8500/v1/health/service/mongo?index=702728&passi ng=1
- 2017-12-18 17:34:51,896 [noc.lib.nosql] Connecting to MongoDB {'username': 'noc', 'authentication_source': 'noc', 're adPreference': 'secondaryPreferred', 'replicaSet': 'noc', 'db': 'noc', 'socketKeepAlive': True, 'host': 'mongodb://no c:********@10.10.10.41:27017/noc', 'password': '********'}
- 2017-12-18 17:34:51,906 [noc.core.cache.base] Using cache backend: noc.core.cache.mongo.MongoCache
- 2017-12-18 17:34:51,933 [noc.main.models.doccategory] Registering Capability
- 2017-12-18 17:34:51,934 [noc.main.models.doccategory] Registering MetricType
- 2017-12-18 17:34:51,973 [noc.main.models.doccategory] Registering ConnectionType
- 2017-12-18 17:34:51,976 [noc.main.models.doccategory] Registering ObjectModel
- 2017-12-18 17:34:51,988 [noc.main.models.textindex] Adding FTS index for sa.managedobject
- 2017-12-18 17:34:52,007 [noc.main.models.textindex] Adding FTS index for ip.vrf
- 2017-12-18 17:34:52,011 [noc.main.models.textindex] Adding FTS index for vc.vc
- 2017-12-18 17:34:52,013 [noc.main.models.textindex] Adding FTS index for ip.prefix
- 2017-12-18 17:34:52,014 [noc.main.models.textindex] Adding FTS index for ip.address
- 2017-12-18 17:34:52,070 [noc.core.script.loader] Loading script DLink.DxS.get_lldp_neighbors
- 2017-12-18 17:34:52,093 [noc.core.profile.loader] Loading profile DLink.DxS
- 2017-12-18 17:34:52,094 [script] [DLink.DxS.get_lldp_neighbors|10.170.112.9] Filling get_version cache with {'platfor m': u'DXS-3326GSR', 'version': u'4.50-B19', 'vendor': u'D-Link'}
- 2017-12-18 17:34:52,094 [script] [DLink.DxS.get_lldp_neighbors|10.170.112.9] Running. Input arguments: {}, timeout 36 00
- 2017-12-18 17:34:52,094 [script] [DLink.DxS.get_lldp_neighbors|10.170.112.9] Open telnet CLI
- 2017-12-18 17:34:52,096 [script] [DLink.DxS.get_lldp_neighbors|10.170.112.9] [telnet] Setup session
- 2017-12-18 17:34:52,097 [script] [DLink.DxS.get_lldp_neighbors|10.170.112.9] [telnet] Creating IOLoop
- 2017-12-18 17:34:52,097 [script] [DLink.DxS.get_lldp_neighbors|10.170.112.9] [telnet] Connecting (u'10.170.112.9', 23 )
- 2017-12-18 17:34:52,101 [script] [DLink.DxS.get_lldp_neighbors|10.170.112.9] [telnet] Connected
- 2017-12-18 17:34:52,101 [script] [DLink.DxS.get_lldp_neighbors|10.170.112.9] [telnet] State: <START>
- 2017-12-18 17:34:52,101 [script] [DLink.DxS.get_lldp_neighbors|10.170.112.9] [telnet] Setting timeout: 60s
- 2017-12-18 17:34:52,166 [script] [DLink.DxS.get_lldp_neighbors|10.170.112.9] [telnet] Received DO SGA
- 2017-12-18 17:34:52,166 [script] [DLink.DxS.get_lldp_neighbors|10.170.112.9] [telnet] Send WILL SGA
- 2017-12-18 17:34:52,170 [script] [DLink.DxS.get_lldp_neighbors|10.170.112.9] [telnet] Received WILL SGA
- 2017-12-18 17:34:52,170 [script] [DLink.DxS.get_lldp_neighbors|10.170.112.9] [telnet] Send DO SGA
- 2017-12-18 17:34:52,170 [script] [DLink.DxS.get_lldp_neighbors|10.170.112.9] [telnet] Received WILL ECHO
- 2017-12-18 17:34:52,170 [script] [DLink.DxS.get_lldp_neighbors|10.170.112.9] [telnet] Send DO ECHO
- 2017-12-18 17:34:52,203 [script] [DLink.DxS.get_lldp_neighbors|10.170.112.9] [telnet] Received: '\x1b[0m\x1b[1;1H\x1b [2J\x1b[1;1H\x1b[2J\n\r DXS-3326GSR Stackable Ethernet Switch\n\r Comma nd Line Interface\n\r\n\r Firmware: Build 4.50-B19\n\r Copyright(C) 2004-2007 D-Link All rights reserved.\n\r \rUserName:'
- 2017-12-18 17:34:52,203 [script] [DLink.DxS.get_lldp_neighbors|10.170.112.9] [telnet] Match: ([Uu]ser ?[Nn]ame|[Ll]og in): ?
- 2017-12-18 17:34:52,203 [script] [DLink.DxS.get_lldp_neighbors|10.170.112.9] [telnet] State: <USERNAME>
- 2017-12-18 17:34:52,203 [script] [DLink.DxS.get_lldp_neighbors|10.170.112.9] [telnet] Send: 'script2\n'
- 2017-12-18 17:34:52,203 [script] [DLink.DxS.get_lldp_neighbors|10.170.112.9] [telnet] Setting timeout: 30s
- 2017-12-18 17:34:52,426 [script] [DLink.DxS.get_lldp_neighbors|10.170.112.9] [telnet] Received: 's'
- 2017-12-18 17:34:52,467 [script] [DLink.DxS.get_lldp_neighbors|10.170.112.9] [telnet] Received: 'cript2\n\r \rPassWor d:'
- 2017-12-18 17:34:52,467 [script] [DLink.DxS.get_lldp_neighbors|10.170.112.9] [telnet] Match: [Pp]ass[Ww]ord: ?
- 2017-12-18 17:34:52,467 [script] [DLink.DxS.get_lldp_neighbors|10.170.112.9] [telnet] State: <PASSWORD>
- 2017-12-18 17:34:52,467 [script] [DLink.DxS.get_lldp_neighbors|10.170.112.9] [telnet] Send: '****\r\n'
- 2017-12-18 17:34:52,467 [script] [DLink.DxS.get_lldp_neighbors|10.170.112.9] [telnet] Setting timeout: 30s
- 2017-12-18 17:34:52,488 [script] [DLink.DxS.get_lldp_neighbors|10.170.112.9] [telnet] Received: '*'
- 2017-12-18 17:34:52,531 [script] [DLink.DxS.get_lldp_neighbors|10.170.112.9] [telnet] Received: '******\n\r\n\rDXS-33 26GSR:5#'
- 2017-12-18 17:34:52,531 [script] [DLink.DxS.get_lldp_neighbors|10.170.112.9] [telnet] Match: (?P<hostname>\S+)(?<!:(3 |6))(?<!:operator)(?<!:user)#
- 2017-12-18 17:34:52,531 [script] [DLink.DxS.get_lldp_neighbors|10.170.112.9] [telnet] State: <PROMT>
- 2017-12-18 17:34:52,531 [script] [DLink.DxS.get_lldp_neighbors|10.170.112.9] [telnet] Refining pattern prompt to 'DXS \\-3326GSR\\:5(?<!:(3|6))(?<!:operator)(?<!:user)#'
- 2017-12-18 17:34:52,531 [script] [DLink.DxS.get_lldp_neighbors|10.170.112.9] [telnet] Resetting timeouts
- 2017-12-18 17:34:52,532 [script] [DLink.DxS.get_lldp_neighbors|10.170.112.9] [telnet] Send: '\n'
- 2017-12-18 17:34:52,541 [script] [DLink.DxS.get_lldp_neighbors|10.170.112.9] [telnet] Received: '\n\rDXS-3326GSR:5#'
- 2017-12-18 17:34:52,541 [script] [DLink.DxS.get_lldp_neighbors|10.170.112.9] [telnet] Match: DXS\-3326GSR\:5(?<!:(3|6 ))(?<!:operator)(?<!:user)#
- 2017-12-18 17:34:52,541 [script] [DLink.DxS.get_lldp_neighbors|10.170.112.9] [telnet] State: <PROMT>
- 2017-12-18 17:34:52,541 [script] [DLink.DxS.get_lldp_neighbors|10.170.112.9] [telnet] Command:
- 2017-12-18 17:34:52,541 [noc.core.script.loader] Loading script DLink.DxS.get_switch
- 2017-12-18 17:34:52,542 [script] [DLink.DxS.get_switch|10.170.112.9] Running. Input arguments: {}, timeout 3600
- 2017-12-18 17:34:52,542 [script] [DLink.DxS.get_lldp_neighbors|10.170.112.9] [telnet] Send: 'show switch\n'
- 2017-12-18 17:34:52,669 [script] [DLink.DxS.get_lldp_neighbors|10.170.112.9] [telnet] Received: 's'
- 2017-12-18 17:34:52,711 [script] [DLink.DxS.get_lldp_neighbors|10.170.112.9] [telnet] Received: 'how switch'
- 2017-12-18 17:34:52,818 [script] [DLink.DxS.get_lldp_neighbors|10.170.112.9] [telnet] Received: '\n\rCommand: show sw itch\n\r\n\rDevice Type : DXS-3326GSR Stackable Ethernet Switch\n\rUnit ID : 1\n\rMAC Address : 00-15-E9-3B-66-00\n\rIP Address : 10.170.112.9 (Manual)\n\rVLAN Name : manag-egor\n\rSubnet Mask : 255.255.255.0\n\rDefault Gateway : 10.170.112.254\n\rBoot PROM Version : Build 2.01-B01\n\rFirmware Version : Build 4.50-B19\n\rHardware Version : 5A1.2A1\n\rDevice S/N : \n\rSystem Name : \n\rSystem Location : \n\rSystem Contact : \n\rSpanning Tree : Disabled\n\rGVRP : Disabled\n\rIGMP Snooping : Disab led\n\rRIP : Disabled\n\rDVMRP : Disabled\n\rPIM : Disabled\n\rOSPF : Disabled\n\rTELNET : Enabled (TCP 23)\n\rRMON : Disabled\n\rSSH status : Disable d\n\r802.1x : Disabled\n\rJumbo Frame : On\n\rClipaging : Disabled\n\rMAC Notification : Di sabled\n\rPort Mirror : Disabled\n\rSNTP : Disabled\n\rBootp Relay : Disabled\r\r\n\rDNSR'
- 2017-12-18 17:34:52,819 [script] [DLink.DxS.get_lldp_neighbors|10.170.112.9] [telnet] Received: ' Status : Disa bled \n\rVRRP : Disabled\n\rHOL Prevention State : Enabled\n\rSyslog Global State : Disabled\n\rSingle IP Management : Disabled\n\rDual Image : Supported\n\rCPU Interface Filter : Disabled\n\r\n\rDXS-3326GSR:5# '
- 2017-12-18 17:34:52,819 [script] [DLink.DxS.get_lldp_neighbors|10.170.112.9] [telnet] Match: DXS\-3326GSR\:5(?<!:(3|6 ))(?<!:operator)(?<!:user)#
- 2017-12-18 17:34:52,819 [script] [DLink.DxS.get_lldp_neighbors|10.170.112.9] [telnet] State: <PROMT>
- 2017-12-18 17:34:52,819 [script] [DLink.DxS.get_lldp_neighbors|10.170.112.9] [telnet] Command: show switch
- show switch
- Command: show switch
- Device Type : DXS-3326GSR Stackable Ethernet Switch
- Unit ID : 1
- MAC Address : 00-15-E9-3B-66-00
- IP Address : 10.170.112.9 (Manual)
- VLAN Name : manag-egor
- Subnet Mask : 255.255.255.0
- Default Gateway : 10.170.112.254
- Boot PROM Version : Build 2.01-B01
- Firmware Version : Build 4.50-B19
- Hardware Version : 5A1.2A1
- Device S/N :
- System Name :
- System Location :
- System Contact :
- Spanning Tree : Disabled
- GVRP : Disabled
- IGMP Snooping : Disabled
- RIP : Disabled
- DVMRP : Disabled
- PIM : Disabled
- OSPF : Disabled
- TELNET : Enabled (TCP 23)
- RMON : Disabled
- SSH status : Disabled
- 802.1x : Disabled
- Jumbo Frame : On
- Clipaging : Disabled
- MAC Notification : Disabled
- Port Mirror : Disabled
- SNTP : Disabled
- Bootp Relay : Disabled
- DNSR Status : Disabled
- VRRP : Disabled
- HOL Prevention State : Enabled
- Syslog Global State : Disabled
- Single IP Management : Disabled
- Dual Image : Supported
- CPU Interface Filter : Disabled
- 2017-12-18 17:34:52,820 [script] [DLink.DxS.get_switch|10.170.112.9] Caching result
- 2017-12-18 17:34:52,820 [script] [DLink.DxS.get_switch|10.170.112.9] Result: Command: show switch
- Device Type : DXS-3326GSR Stackable Ethernet Switch
- Unit ID : 1
- MAC Address : 00-15-E9-3B-66-00
- IP Address : 10.170.112.9 (Manual)
- VLAN Name : manag-egor
- Subnet Mask : 255.255.255.0
- Default Gateway : 10.170.112.254
- Boot PROM Version : Build 2.01-B01
- Firmware Version : Build 4.50-B19
- Hardware Version : 5A1.2A1
- Device S/N :
- System Name :
- System Location :
- System Contact :
- Spanning Tree : Disabled
- GVRP : Disabled
- IGMP Snooping : Disabled
- RIP : Disabled
- DVMRP : Disabled
- PIM : Disabled
- OSPF : Disabled
- TELNET : Enabled (TCP 23)
- RMON : Disabled
- SSH status : Disabled
- 802.1x : Disabled
- Jumbo Frame : On
- Clipaging : Disabled
- MAC Notification : Disabled
- Port Mirror : Disabled
- SNTP : Disabled
- Bootp Relay : Disabled
- DNSR Status : Disabled
- VRRP : Disabled
- HOL Prevention State : Enabled
- Syslog Global State : Disabled
- Single IP Management : Disabled
- Dual Image : Supported
- CPU Interface Filter : Disabled
- 2017-12-18 17:34:52,820 [script] [DLink.DxS.get_switch|10.170.112.9] Complete (278.75ms)
- 2017-12-18 17:34:52,821 [script] [DLink.DxS.get_lldp_neighbors|10.170.112.9] [telnet] Send: 'show lldp remote_ports m ode normal\n'
- 2017-12-18 17:34:52,875 [script] [DLink.DxS.get_lldp_neighbors|10.170.112.9] [telnet] Received: 's'
- 2017-12-18 17:34:52,921 [script] [DLink.DxS.get_lldp_neighbors|10.170.112.9] [telnet] Received: 'how lldp remote_port s mode normal\n\rCommand: show lldp remote_ports mode normal\n\r'
- 2017-12-18 17:34:53,058 [script] [DLink.DxS.get_lldp_neighbors|10.170.112.9] [telnet] Received: '\n\rPort ID : 1:1 \n \r---------------------------------------------------------------------------\n\rRemote Entities Count : 1 \n\rEntity 1 \n\r Chassis ID Subtype : MAC Address \n\r Chassis ID : 00-21-91-5A-8F-8F\n\r Port ID Subtype : Local \n\r Port ID : 1/25\n\r Port Description : \n\r System Name : \n\r System Descript'
- 2017-12-18 17:34:53,058 [script] [DLink.DxS.get_lldp_neighbors|10.170.112.9] [telnet] Received: 'ion : \n\r System Capabilities : \n\r Management Address Count : 0 \n\r Port PVID : 0\n\r PPVID Entries Count : 0\n\r V LAN Name Entries Count : 0\n\r Protocol ID Entries Count : 0\n\r MAC/PHY Co nfiguration/Status : (None)\n\r Power Via MDI : (None)\n\r Link Aggr egation '
- 2017-12-18 17:34:53,058 [script] [DLink.DxS.get_lldp_neighbors|10.170.112.9] [telnet] Received: ' : (None)\n\r Maximum Frame Size : 0\n\r Unknown TLVs Count : 0\n\r'
- 2017-12-18 17:34:53,392 [script] [DLink.DxS.get_lldp_neighbors|10.170.112.9] [telnet] Received: '\n\rPort ID : 1:2 \n \r---------------------------------------------------------------------------\n\rRemote Entities Count : 4 \n\rEntity 1 \n\r Chassis ID Subtype : MAC Address \n\r Chassis ID : 28-10-7B-FE-15-80\n\r Port ID Subtype : MAC Address \n\r Port ID : (\x10{\xfe\x15\x99\n\r Port Description : \n\r System Name : \n\r System'
- 2017-12-18 17:34:53,392 [script] [DLink.DxS.get_lldp_neighbors|10.170.112.9] [telnet] Received: ' Description : \n\r System Capabilities : \n\r Management Address Count : 0\n\r Port PVID : 0\n\r PPVID Entries Count : 0 \n\r VLAN Name Entries Count : 0\n\r Protocol ID Entries Count : 0\n\r M AC/PHY Configuration/Status : (None)\n\r Power Via MDI : (None)\n\r Link Aggregation '
- 2017-12-18 17:34:53,393 [script] [DLink.DxS.get_lldp_neighbors|10.170.112.9] [telnet] Received: ' : (None )\n\r Maximum Frame Size : 0\n\r Unknown TLVs Count : 0\n\r\n\r Entity 2 \n\r Chassis ID Subtype : MAC Address \n\r Chassis ID : 28-10-7B-FE-15-80\n\r Port ID Subtype : MAC Address \n\r Port ID : (\x10{\xfe\x15\x99\n\r Port Description : \n\r System Name : \n\r '
- 2017-12-18 17:34:53,393 [script] [DLink.DxS.get_lldp_neighbors|10.170.112.9] [telnet] Received: 'System Description : \n\r System Capabilities : \n\r Management Address Count : 0'
- 2017-12-18 17:34:53,393 [script] [DLink.DxS.get_lldp_neighbors|10.170.112.9] [telnet] Received: '\n\r Port PVID : 0\n\r PPVID Entries Count : 0\n\r VLAN Name Entries Cou nt : 0\n\r Protocol ID Entries Count : 0\n\r MAC/PHY Configuration/Status : (None)\n\r Power Via MDI : (None)\n\r Link Aggregation : (None)\n\r Maximum Frame Size : 0\n\r Unknown TLVs Count : 0\n\r\n\rEntity 3 \n\r '
- 2017-12-18 17:34:53,394 [script] [DLink.DxS.get_lldp_neighbors|10.170.112.9] [telnet] Received: ' Chassis ID Subtype : MAC Address \n\r Chassis ID : 28-10-7B-FE-15-80\n\r Port ID Subtype : MAC Address \n\r Port ID : (\x10 {\xfe\x15\x99\n\r Port Description : \n\r System Name : \n\r System Description : \n\r System Capabilities : \n\r Management Address Count '
- 2017-12-18 17:34:53,394 [script] [DLink.DxS.get_lldp_neighbors|10.170.112.9] [telnet] Received: ' : 0\n\r Port P VID : 0\n\r PPVID Entries Count : 0\n\r VLAN Name Entri es Count : 0\n\r Protocol ID Entries Count : 0\n\r MAC/PHY Configuration/St atus : (None)\n\r Power Via MDI : (None)\n\r Link Aggregation : (None)\n\r Maximum Frame Size : 0\n\r Unknown TLVs Count : 0\n\r\n\rEntity '
- 2017-12-18 17:34:53,405 [script] [DLink.DxS.get_lldp_neighbors|10.170.112.9] [telnet] Received: '4 \n\r Chassis ID Subtype : MAC Address \n\r Chassis ID : 28-10-7B-FE-15-8 0\n\r Port ID Subtype : MAC Address '
- 2017-12-18 17:34:53,897 [script] [DLink.DxS.get_lldp_neighbors|10.170.112.9] [telnet] Received: '\n\r Port ID : (\x10{\xfe\x15\x99\n\r Port Description : \n\r System Name : \n\r System Description : \n\r System Capabilities : \n\r Management Address Count : 0\n\r Port PVID : 0\n\r PPVID Entries Count : 0\n\r VLAN Name Entries Count : 0\n\r Protocol ID Entries Coun'
- 2017-12-18 17:34:53,897 [script] [DLink.DxS.get_lldp_neighbors|10.170.112.9] [telnet] Received: 't : 0\n\r MAC/PHY Configuration/Status : (None)\n\r Power Via MDI : (None)\n\r Link Aggregation : (None)\n\r Maximum Frame Size : 0\n\r Unknown TLVs Count : 0\n\r'
- 2017-12-18 17:34:54,198 [script] [DLink.DxS.get_lldp_neighbors|10.170.112.9] [telnet] Received: '\n\rPort ID : 1:3 \n\r---------------------------------------------------------------------------\n\rRemote Entities Count : 4 \n\rEntity 1 \n\r Chassis ID Subtype : MAC Address \n\r Chassis ID : 78-54-2E-46-19-60\n\r Port ID Subtype : MAC Address \n\r Port ID : xT.F\x19r\n\r Port Description : \n\r System Name : \n\r System'
- 2017-12-18 17:34:54,199 [script] [DLink.DxS.get_lldp_neighbors|10.170.112.9] [telnet] Received: ' Description : \n\r System Capabilities : \n\r Management Address Count : 0\n\r Port PVID : 0\n\r PPVID Entries Count : 0\n\r VLAN Name Entries Count : 0\n\r Protocol ID Entries Count : 0\n\r MAC/PHY Configuration/Status : (None)\n\r Power Via MDI : (None)\n\r Link Aggregation '
- 2017-12-18 17:34:54,200 [script] [DLink.DxS.get_lldp_neighbors|10.170.112.9] [telnet] Received: ' : (None)\n\r Maximum Frame Size : 0\n\r Unknown TLVs Count : 0\n\r\n\rEntity 2 \n\r Chassis ID Subtype : MAC Address \n\r Chassis ID : 78-54-2E-46-19-60\n\r Port ID Subtype : MAC Address \n\r Port ID : xT.F\x19r\n\r Port Description : \n\r System Name : \n\r System Description : \n\r System Capabilities : \n\r Management Address Count : 0'
- 2017-12-18 17:34:54,200 [script] [DLink.DxS.get_lldp_neighbors|10.170.112.9] [telnet] Received: '\n\r Port PVID : 0\n\r PPVID Entries Count : 0\n\r VLAN Name Entries Count : 0\n\r Protocol ID Entries Count : 0\n\r MAC/PHY Configuration/Status : (None)\n\r Power Via MDI : (None)\n\r Link Aggregation : (None)\n\r Maximum Frame Size : 0\n\r Unknown TLVs Count : 0\n\r\n\rEntity 3 \n\r '
- 2017-12-18 17:34:54,201 [script] [DLink.DxS.get_lldp_neighbors|10.170.112.9] [telnet] Received: ' Chassis ID Subtype : MAC Address \n\r Chassis ID : 78-54-2E-46-19-60\n\r Port ID Subtype : MAC Address \n\r Port ID : xT.F\x19r\n\r Port Description : \n\r System Name : \n\r System Description : \n\r System Capabilities : \n\r Management Address Count '
- 2017-12-18 17:34:54,201 [script] [DLink.DxS.get_lldp_neighbors|10.170.112.9] [telnet] Received: ' : 0\n\r Port PVID : 0\n\r PPVID Entries Count : 0\n\r VLAN Name Entries Count : 0\n\r Protocol ID Entries Count : 0\n\r MAC/PHY Configuration/Status : (None)\n\r Power Via MDI : (None)\n\r Link Aggregation : (None)\n\r Maximum Frame Size : 0\n\r Unknown TLVs Count : 0\n\r\n\rEntity '
- 2017-12-18 17:34:54,202 [script] [DLink.DxS.get_lldp_neighbors|10.170.112.9] [telnet] Received: '4 \n\r Chassis ID Subtype : MAC Address \n\r Chassis ID : 78-54-2E-46-19-60\n\r Port ID Subtype : MAC Address \n\r Port ID : xT.F\x19r\n\r Port Description : \n\r System Name : \n\r System Description : \n\r System Capabilities : \n\r Management Address Count '
- 2017-12-18 17:34:54,248 [script] [DLink.DxS.get_lldp_neighbors|10.170.112.9] [telnet] Received: ' : 0\n\r Port PVID : 0\n\r PPVID Entries Count : 0\n\r VLAN Name Entries Count : 0\n\r Protocol ID Entries Count : 0\n\r MAC/PHY Configuration/Status : (None)\n\r Power Via MDI : (None)\n\r Link Aggregation : (None)\n\r Maximum Frame Size : 0\n\r Unknown TLVs Count : 0\n\r'
- 2017-12-18 17:34:54,894 [script] [DLink.DxS.get_lldp_neighbors|10.170.112.9] [telnet] Received: '\n\rPort ID : 1:4 \n\r---------------------------------------------------------------------------\n\rRemote Entities Count : 4 \n\rEntity 1 \n\r Chassis ID Subtype : MAC Address \n\r Chassis ID : 1C-BD-B9-6B-F7-60\n\r Port ID Subtype : Local \n\r Port ID : 1/25\n\r Port Description : \n\r System Name : \n\r System Descript'
- 2017-12-18 17:34:54,895 [script] [DLink.DxS.get_lldp_neighbors|10.170.112.9] [telnet] Received: 'ion : \n\r System Capabilities : \n\r Management Address Count : 0\n\r Port PVID : 0\n\r PPVID Entries Count : 0\n\r VLAN Name Entries Count : 0\n\r Protocol ID Entries Count : 0\n\r MAC/PHY Configuration/Status : (None)\n\r Power Via MDI : (None)\n\r Link Aggregation '
- 2017-12-18 17:34:54,895 [script] [DLink.DxS.get_lldp_neighbors|10.170.112.9] [telnet] Received: ' : (None)\n\r Maximum Frame Size : 0\n\r Unknown TLVs Count : 0\n\r\n\rEntity 2 \n\r Chassis ID Subtype : MAC Address \n\r Chassis ID : 1C-BD-B9-6B-F7-60\n\r Port ID Subtype : Local \n\r Port ID : 1/25\n\r Port Description : \n\r System Name : \n\r System Description'
- 2017-12-18 17:34:54,896 [script] [DLink.DxS.get_lldp_neighbors|10.170.112.9] [telnet] Received: ' : \n\r System Capabilities : \n\r Management Address Count : 0\n\r Port PVID : 0'
- 2017-12-18 17:34:54,896 [script] [DLink.DxS.get_lldp_neighbors|10.170.112.9] [telnet] Received: '\n\r PPVID Entries Count : 0\n\r VLAN Name Entries Count : 0\n\r Protocol ID Entries Count : 0\n\r MAC/PHY Configuration/Status : (None)\n\r Power Via MDI : (None)\n\r Link Aggregation : (None)\n\r Maximum Frame Size : 0\n\r Unknown TLVs Count : 0\n\r\n\rEntity 3 \n\r Chassis ID Subtype : MAC A'
- 2017-12-18 17:34:54,896 [script] [DLink.DxS.get_lldp_neighbors|10.170.112.9] [telnet] Received: 'ddress \n\r Chassis ID : 1C-BD-B9-6B-F7-60\n\r Port ID Subtype : Local \n\r Port ID : 1/25\n\r Port Description : \n\r System Name : \n\r System Description : \n\r System Capabilities : \n\r Management Address Count : 0\n\r Port PVID : 0\n\r '
- 2017-12-18 17:34:54,897 [script] [DLink.DxS.get_lldp_neighbors|10.170.112.9] [telnet] Received: ' PPVID Entries Count : 0\n\r VLAN Name Entries Count : 0\n\r Protocol ID Entries Count : 0\n\r MAC/PHY Configuration/Status : (None)\n\r Power Via MDI : (None)\n\r Link Aggregation : (None)\n\r Maximum Frame Size : 0\n\r Unknown TLVs Count : 0\n\r\n\rEntity 4 \n\r Chassis ID Subtype : MAC Addr'
- 2017-12-18 17:34:54,897 [script] [DLink.DxS.get_lldp_neighbors|10.170.112.9] [telnet] Received: 'ess \n\r Chassis ID : 1C-BD-B9-6B-F7-60\n\r Port ID Subtype : Local \n\r Port ID : 1/25\n\r Port Description : \n\r System Name : \n\r System Description : \n\r System Capabilities : \n\r Management Address Count : 0\n\r Port PVID : 0\n\r '
- 2017-12-18 17:34:54,953 [script] [DLink.DxS.get_lldp_neighbors|10.170.112.9] [telnet] Received: 'PPVID Entries Count : 0\n\r VLAN Name Entries Count : 0\n\r Protocol ID Entries Count : 0\n\r MAC/PHY Configuration/Status : (None)\n\r Power Via MDI : (None)\n\r Link Aggregation : (None)\n\r Maximum Frame Size : 0\n\r Unknown TLVs Count : 0\n\r\n\rPort ID : 1:5 \n\r-------------------------------------------------------'
- 2017-12-18 17:34:54,953 [script] [DLink.DxS.get_lldp_neighbors|10.170.112.9] [telnet] Received: '--------------------\n\rRemote Entities Count : 1 \n\rEntity 1 \n\r Chassis ID Subtype : MAC Address \n\r Chassis ID : 00-26-5A-89-DE-A0\n\r Port ID Subtype : Local \n\r Port ID : 1/28\n\r Port Description : \n\r System Name : \n\r System Description : \n\r System Capabilities '
- 2017-12-18 17:34:54,954 [script] [DLink.DxS.get_lldp_neighbors|10.170.112.9] [telnet] Received: ' : \n\r Management Address Count : 0\n\r Port PVID : 0\n\r PPVID Entries Count : 0\n\r VLAN Name Entries Count : 0\n\r Protocol ID Entries Count : 0\n\r MAC/PHY Configuration/Status : (None)\n\r Power Via MDI : (None)\n\r Link Aggregation : (None)\n\r Maximum Frame Size : 0\n\r Unk'
- 2017-12-18 17:34:54,966 [script] [DLink.DxS.get_lldp_neighbors|10.170.112.9] [telnet] Received: 'nown TLVs Count : 0\n\r'
- 2017-12-18 17:34:55,647 [script] [DLink.DxS.get_lldp_neighbors|10.170.112.9] [telnet] Received: '\n\rPort ID : 1:6 \n\r---------------------------------------------------------------------------\n\rRemote Entities Count : 4 \n\rEntity 1 \n\r Chassis ID Subtype : MAC Address \n\r Chassis ID : CC-B2-55-74-2F-E0\n\r Port ID Subtype : MAC Address \n\r Port ID : \xcc\xb2Ut/\xf9\n\r Port Description : \n\r System Name : \n\r System'
- 2017-12-18 17:34:55,647 [script] [DLink.DxS.get_lldp_neighbors|10.170.112.9] [telnet] Received: ' Description : \n\r System Capabilities : \n\r Management Address Count : 0\n\r Port PVID : 0\n\r PPVID Entries Count : 0\n\r VLAN Name Entries Count : 0\n\r Protocol ID Entries Count : 0\n\r MAC/PHY Configuration/Status : (None)\n\r Power Via MDI : (None)\n\r Link Aggregation '
- 2017-12-18 17:34:55,648 [script] [DLink.DxS.get_lldp_neighbors|10.170.112.9] [telnet] Received: ' : (None)\n\r Maximum Frame Size : 0\n\r Unknown TLVs Count : 0\n\r\n\rEntity 2 \n\r Chassis ID Subtype : MAC Address \n\r Chassis ID : CC-B2-55-74-2F-E0\n\r Port ID Subtype : MAC Address \n\r Port ID : \xcc\xb2Ut/\xf9\n\r Port Description : \n\r System Name : \n\r '
- 2017-12-18 17:34:55,648 [script] [DLink.DxS.get_lldp_neighbors|10.170.112.9] [telnet] Received: 'System Description : \n\r System Capabilities : \n\r Management Address Count : 0'
- 2017-12-18 17:34:55,648 [script] [DLink.DxS.get_lldp_neighbors|10.170.112.9] [telnet] Received: '\n\r Port PVID : 0\n\r PPVID Entries Count : 0\n\r VLAN Name Entries Count : 0\n\r Protocol ID Entries Count : 0\n\r MAC/PHY Configuration/Status : (None)\n\r Power Via MDI : (None)\n\r Link Aggregation : (None)\n\r Maximum Frame Size : 0\n\r Unknown TLVs Count : 0\n\r\n\rEntity 3 \n\r '
- 2017-12-18 17:34:55,649 [script] [DLink.DxS.get_lldp_neighbors|10.170.112.9] [telnet] Received: ' Chassis ID Subtype : MAC Address \n\r Chassis ID : CC-B2-55-74-2F-E0\n\r Port ID Subtype : MAC Address \n\r Port ID : \xcc\xb2Ut/\xf9\n\r Port Description : \n\r System Name : \n\r System Description : \n\r System Capabilities : \n\r Management Address Count '
- 2017-12-18 17:34:55,655 [script] [DLink.DxS.get_lldp_neighbors|10.170.112.9] [telnet] Received: ' : 0\n\r Port PVID : 0\n\r PPVID Entries Count : 0\n\r VLAN Name Entries Count : 0\n\r Protocol ID Entries Count : 0\n\r MAC/PHY Configuration/Status : (None)\n\r Power Via MDI : (None)\n\r Link Aggregation : (None)\n\r Maximum Frame Size : 0\n\r Unknown TLVs Count : 0\n\r'
- 2017-12-18 17:34:55,858 [script] [DLink.DxS.get_lldp_neighbors|10.170.112.9] [telnet] Received: '\n\rPort ID : 1:7 \n\r---------------------------------------------------------------------------\n\rRemote Entities Count : 1 \n\rEntity 1 \n\r Chassis ID Subtype : MAC Address \n\r Chassis ID : 00-1E-58-A6-EB-D5\n\r Port ID Subtype : Local \n\r Port ID : 1/25\n\r Port Description : \n\r System Name : \n\r System Descript'
- 2017-12-18 17:34:55,859 [script] [DLink.DxS.get_lldp_neighbors|10.170.112.9] [telnet] Received: 'ion : \n\r System Capabilities : \n\r Management Address Count : 0\n\r Port PVID : 0\n\r PPVID Entries Count : 0\n\r VLAN Name Entries Count : 0\n\r Protocol ID Entries Count : 0\n\r MAC/PHY Configuration/Status : (None)\n\r Power Via MDI : (None)\n\r Link Aggregation '
- 2017-12-18 17:34:55,859 [script] [DLink.DxS.get_lldp_neighbors|10.170.112.9] [telnet] Received: ' : (None)\n\r Maximum Frame Size : 0\n\r Unknown TLVs Count : 0\n\r'
- 2017-12-18 17:34:56,013 [script] [DLink.DxS.get_lldp_neighbors|10.170.112.9] [telnet] Received: '\n\rPort ID : 1:8 \n\r---------------------------------------------------------------------------\n\rRemote Entities Count : 0 \n\r (None)\n\r'
- 2017-12-18 17:34:56,213 [script] [DLink.DxS.get_lldp_neighbors|10.170.112.9] [telnet] Received: '\n\rPort ID : 1:9 \n\r---------------------------------------------------------------------------\n\rRemote Entities Count : 0 \n\r (None)\n\r'
- 2017-12-18 17:34:56,413 [script] [DLink.DxS.get_lldp_neighbors|10.170.112.9] [telnet] Received: '\n\rPort ID : 1:10 \n\r---------------------------------------------------------------------------\n\rRemote Entities Count : 0 \n\r (None)\n\r'
- 2017-12-18 17:34:57,110 [script] [DLink.DxS.get_lldp_neighbors|10.170.112.9] [telnet] Received: '\n\rPort ID : 1:11 \n\r---------------------------------------------------------------------------\n\rRemote Entities Count : 0 \n\r (None)\n\r'
- 2017-12-18 17:34:57,213 [script] [DLink.DxS.get_lldp_neighbors|10.170.112.9] [telnet] Received: '\n\rPort ID : 1:12 \n\r---------------------------------------------------------------------------\n\rRemote Entities Count : 0 \n\r (None)\n\r'
- 2017-12-18 17:34:57,413 [script] [DLink.DxS.get_lldp_neighbors|10.170.112.9] [telnet] Received: '\n\rPort ID : 1:13 \n\r---------------------------------------------------------------------------\n\rRemote Entities Count : 0 \n\r (None)\n\r'
- 2017-12-18 17:34:57,613 [script] [DLink.DxS.get_lldp_neighbors|10.170.112.9] [telnet] Received: '\n\rPort ID : 1:14 \n\r---------------------------------------------------------------------------\n\rRemote Entities Count : 0 \n\r (None)\n\r'
- 2017-12-18 17:34:57,813 [script] [DLink.DxS.get_lldp_neighbors|10.170.112.9] [telnet] Received: '\n\rPort ID : 1:15 \n\r---------------------------------------------------------------------------\n\rRemote Entities Count : 0 \n\r (None)\n\r'
- 2017-12-18 17:34:58,013 [script] [DLink.DxS.get_lldp_neighbors|10.170.112.9] [telnet] Received: '\n\rPort ID : 1:16 \n\r---------------------------------------------------------------------------\n\rRemote Entities Count : 0 \n\r (None)\n\r'
- 2017-12-18 17:34:58,213 [script] [DLink.DxS.get_lldp_neighbors|10.170.112.9] [telnet] Received: '\n\rPort ID : 1:17 \n\r---------------------------------------------------------------------------\n\rRemote Entities Count : 0 \n\r (None)\n\r'
- 2017-12-18 17:34:58,413 [script] [DLink.DxS.get_lldp_neighbors|10.170.112.9] [telnet] Received: '\n\rPort ID : 1:18 \n\r---------------------------------------------------------------------------\n\rRemote Entities Count : 0 \n\r (None)\n\r'
- 2017-12-18 17:34:58,744 [script] [DLink.DxS.get_lldp_neighbors|10.170.112.9] [telnet] Received: '\n\rPort ID : 1:19 \n\r---------------------------------------------------------------------------\n\rRemote Entities Count : 4 \n\rEntity 1 \n\r Chassis ID Subtype : MAC Address \n\r Chassis ID : F8-E9-03-DD-F3-E0\n\r Port ID Subtype : Local \n\r Port ID : 25\n\r Port Description : \n\r System Name : \n\r System Descripti'
- 2017-12-18 17:34:58,745 [script] [DLink.DxS.get_lldp_neighbors|10.170.112.9] [telnet] Received: 'on : \n\r System Capabilities : \n\r Management Address Count : 0\n\r Port PVID : 0\n\r PPVID Entries Count : 0\n\r VLAN Name Entries Count : 0\n\r Protocol ID Entries Count : 0\n\r MAC/PHY Configuration/Status : (None)\n\r Power Via MDI : (None)\n\r Link Aggregation '
- 2017-12-18 17:34:58,745 [script] [DLink.DxS.get_lldp_neighbors|10.170.112.9] [telnet] Received: ' : (None)\n\r Maximum Frame Size : 0\n\r Unknown TLVs Count : 0\n\r\n\rEntity 2 \n\r Chassis ID Subtype : MAC Address \n\r Chassis ID : F8-E9-03-DD-F3-E0\n\r Port ID Subtype : Local \n\r Port ID : 25\n\r Port Description : \n\r System Name : \n\r System Description '
- 2017-12-18 17:34:58,745 [script] [DLink.DxS.get_lldp_neighbors|10.170.112.9] [telnet] Received: ' : \n\r System Capabilities : \n\r Management Address Count : 0\n\r Port PVID : 0'
- 2017-12-18 17:34:59,297 [script] [DLink.DxS.get_lldp_neighbors|10.170.112.9] [telnet] Received: '\n\r PPVID Entries Count : 0\n\r VLAN Name Entries Count : 0\n\r Protocol ID Entries Count : 0\n\r MAC/PHY Configuration/Status : (None)\n\r Power Via MDI : (None)\n\r Link Aggregation : (None)\n\r Maximum Frame Size : 0\n\r Unknown TLVs Count : 0\n\r\n\rEntity 3 \n\r Chassis ID Subtype : MAC A'
- 2017-12-18 17:34:59,297 [script] [DLink.DxS.get_lldp_neighbors|10.170.112.9] [telnet] Received: 'ddress \n\r Chassis ID : F8-E9-03-DD-F3-E0\n\r Port ID Subtype : Local \n\r Port ID : 25\n\r Port Description : \n\r System Name : \n\r System Description : \n\r System Capabilities : \n\r Management Address Count : 0\n\r Port PVID : 0\n\r '
- 2017-12-18 17:34:59,298 [script] [DLink.DxS.get_lldp_neighbors|10.170.112.9] [telnet] Received: ' PPVID Entries Count : 0\n\r VLAN Name Entries Count : 0\n\r Protocol ID Entries Count : 0\n\r MAC/PHY Configuration/Status : (None)\n\r Power Via MDI : (None)\n\r Link Aggregation : (None)\n\r Maximum Frame Size : 0\n\r Unknown TLVs Count : 0\n\r\n\rEntity 4 \n\r Chassis ID Subtype : MAC Addres'
- 2017-12-18 17:34:59,298 [script] [DLink.DxS.get_lldp_neighbors|10.170.112.9] [telnet] Received: 's \n\r Chassis ID : F8-E9-03-DD-F3-E0\n\r Port ID Subtype : Local \n\r Port ID : 25'
- 2017-12-18 17:34:59,299 [script] [DLink.DxS.get_lldp_neighbors|10.170.112.9] [telnet] Received: '\n\r Port Description : \n\r System Name : \n\r System Description : \n\r System Capabilities : \n\r Management Address Count : 0\n\r Port PVID : 0\n\r PPVID Entries Count : 0\n\r VLAN Name Entries Count : 0\n\r Protocol ID Entries Count : 0\n\r MAC/PHY Configuration/Status '
- 2017-12-18 17:34:59,303 [script] [DLink.DxS.get_lldp_neighbors|10.170.112.9] [telnet] Received: ' : (None)\n\r Power Via MDI : (None)\n\r Link Aggregation : (None)\n\r Maximum Frame Size : 0\n\r Unknown TLVs Count : 0\n\r'
- 2017-12-18 17:34:59,413 [script] [DLink.DxS.get_lldp_neighbors|10.170.112.9] [telnet] Received: '\n\rPort ID : 1:20 \n\r---------------------------------------------------------------------------\n\rRemote Entities Count : 0 \n\r (None)\n\r'
- 2017-12-18 17:34:59,613 [script] [DLink.DxS.get_lldp_neighbors|10.170.112.9] [telnet] Received: '\n\rPort ID : 1:21 \n\r---------------------------------------------------------------------------\n\rRemote Entities Count : 0 \n\r (None)\n\r'
- 2017-12-18 17:34:59,813 [script] [DLink.DxS.get_lldp_neighbors|10.170.112.9] [telnet] Received: '\n\rPort ID : 1:22 \n\r---------------------------------------------------------------------------\n\rRemote Entities Count : 0 \n\r (None)\n\r'
- 2017-12-18 17:35:00,013 [script] [DLink.DxS.get_lldp_neighbors|10.170.112.9] [telnet] Received: '\n\rPort ID : 1:23 \n\r---------------------------------------------------------------------------\n\rRemote Entities Count : 0 \n\r (None)\n\r'
- 2017-12-18 17:35:00,258 [script] [DLink.DxS.get_lldp_neighbors|10.170.112.9] [telnet] Received: '\n\rPort ID : 1:24 \n\r---------------------------------------------------------------------------\n\rRemote Entities Count : 1 \n\rEntity 1 \n\r Chassis ID Subtype : MAC Address \n\r Chassis ID : 00-15-E9-94-89-00\n\r Port ID Subtype : Local \n\r Port ID : 1/24\n\r Port Description : \n\r System Name : \n\r System Descrip'
- 2017-12-18 17:35:00,259 [script] [DLink.DxS.get_lldp_neighbors|10.170.112.9] [telnet] Received: 'tion : \n\r System Capabilities : \n\r Management Address Count : 0\n\r Port PVID : 0\n\r PPVID Entries Count : 0\n\r VLAN Name Entries Count : 0\n\r Protocol ID Entries Count : 0\n\r MAC/PHY Configuration/Status : (None)\n\r Power Via MDI : (None)\n\r Link Aggregation '
- 2017-12-18 17:35:00,259 [script] [DLink.DxS.get_lldp_neighbors|10.170.112.9] [telnet] Received: ' : (None)\n\r Maximum Frame Size : 0\n\r Unknown TLVs Count : 0\n\r'
- 2017-12-18 17:35:00,413 [script] [DLink.DxS.get_lldp_neighbors|10.170.112.9] [telnet] Received: '\n\rPort ID : 1:25 \n\r---------------------------------------------------------------------------\n\rRemote Entities Count : 0 \n\r (None)\n\r'
- 2017-12-18 17:35:00,628 [script] [DLink.DxS.get_lldp_neighbors|10.170.112.9] [telnet] Received: '\n\rPort ID : 1:26 \n\r---------------------------------------------------------------------------\n\rRemote Entities Count : 0 \n\r (None)\n\r\n\r\n\rDXS-3326GSR:5#'
- 2017-12-18 17:35:00,628 [script] [DLink.DxS.get_lldp_neighbors|10.170.112.9] [telnet] Match: DXS\-3326GSR\:5(?<!:(3|6))(?<!:operator)(?<!:user)#
- 2017-12-18 17:35:00,628 [script] [DLink.DxS.get_lldp_neighbors|10.170.112.9] [telnet] State: <PROMT>
- 2017-12-18 17:35:00,628 [script] [DLink.DxS.get_lldp_neighbors|10.170.112.9] [telnet] Command: show lldp remote_ports mode normal
- show lldp remote_ports mode normal
- Command: show lldp remote_ports mode normal
- Port ID : 1:1
- ---------------------------------------------------------------------------
- Remote Entities Count : 1
- Entity 1
- Chassis ID Subtype : MAC Address
- Chassis ID : 00-21-91-5A-8F-8F
- Port ID Subtype : Local
- Port ID : 1/25
- Port Description :
- System Name :
- System Description :
- System Capabilities :
- Management Address Count : 0
- Port PVID : 0
- PPVID Entries Count : 0
- VLAN Name Entries Count : 0
- Protocol ID Entries Count : 0
- MAC/PHY Configuration/Status : (None)
- Power Via MDI : (None)
- Link Aggregation : (None)
- Maximum Frame Size : 0
- Unknown TLVs Count : 0
- Port ID : 1:2
- ---------------------------------------------------------------------------
- Remote Entities Count : 4
- Entity 1
- Chassis ID Subtype : MAC Address
- Chassis ID : 28-10-7B-FE-15-80
- Port ID Subtype : MAC Address
- Port ID : ({â–’â–’
- Port Description :
- System Name :
- System Description :
- System Capabilities :
- Management Address Count : 0
- Port PVID : 0
- PPVID Entries Count : 0
- VLAN Name Entries Count : 0
- Protocol ID Entries Count : 0
- MAC/PHY Configuration/Status : (None)
- Power Via MDI : (None)
- Link Aggregation : (None)
- Maximum Frame Size : 0
- Unknown TLVs Count : 0
- Entity 2
- Chassis ID Subtype : MAC Address
- Chassis ID : 28-10-7B-FE-15-80
- Port ID Subtype : MAC Address
- Port ID : ({â–’â–’
- Port Description :
- System Name :
- System Description :
- System Capabilities :
- Management Address Count : 0
- Port PVID : 0
- PPVID Entries Count : 0
- VLAN Name Entries Count : 0
- Protocol ID Entries Count : 0
- MAC/PHY Configuration/Status : (None)
- Power Via MDI : (None)
- Link Aggregation : (None)
- Maximum Frame Size : 0
- Unknown TLVs Count : 0
- Entity 3
- Chassis ID Subtype : MAC Address
- Chassis ID : 28-10-7B-FE-15-80
- Port ID Subtype : MAC Address
- Port ID : ({â–’â–’
- Port Description :
- System Name :
- System Description :
- System Capabilities :
- Management Address Count : 0
- Port PVID : 0
- PPVID Entries Count : 0
- VLAN Name Entries Count : 0
- Protocol ID Entries Count : 0
- MAC/PHY Configuration/Status : (None)
- Power Via MDI : (None)
- Link Aggregation : (None)
- Maximum Frame Size : 0
- Unknown TLVs Count : 0
- Entity 4
- Chassis ID Subtype : MAC Address
- Chassis ID : 28-10-7B-FE-15-80
- Port ID Subtype : MAC Address
- Port ID : ({â–’â–’
- Port Description :
- System Name :
- System Description :
- System Capabilities :
- Management Address Count : 0
- Port PVID : 0
- PPVID Entries Count : 0
- VLAN Name Entries Count : 0
- Protocol ID Entries Count : 0
- MAC/PHY Configuration/Status : (None)
- Power Via MDI : (None)
- Link Aggregation : (None)
- Maximum Frame Size : 0
- Unknown TLVs Count : 0
- Port ID : 1:3
- ---------------------------------------------------------------------------
- Remote Entities Count : 4
- Entity 1
- Chassis ID Subtype : MAC Address
- Chassis ID : 78-54-2E-46-19-60
- Port ID Subtype : MAC Address
- Port ID : xT.Fr
- Port Description :
- System Name :
- System Description :
- System Capabilities :
- Management Address Count : 0
- Port PVID : 0
- PPVID Entries Count : 0
- VLAN Name Entries Count : 0
- Protocol ID Entries Count : 0
- MAC/PHY Configuration/Status : (None)
- Power Via MDI : (None)
- Link Aggregation : (None)
- Maximum Frame Size : 0
- Unknown TLVs Count : 0
- Entity 2
- Chassis ID Subtype : MAC Address
- Chassis ID : 78-54-2E-46-19-60
- Port ID Subtype : MAC Address
- Port ID : xT.Fr
- Port Description :
- System Name :
- System Description :
- System Capabilities :
- Management Address Count : 0
- Port PVID : 0
- PPVID Entries Count : 0
- VLAN Name Entries Count : 0
- Protocol ID Entries Count : 0
- MAC/PHY Configuration/Status : (None)
- Power Via MDI : (None)
- Link Aggregation : (None)
- Maximum Frame Size : 0
- Unknown TLVs Count : 0
- Entity 3
- Chassis ID Subtype : MAC Address
- Chassis ID : 78-54-2E-46-19-60
- Port ID Subtype : MAC Address
- Port ID : xT.Fr
- Port Description :
- System Name :
- System Description :
- System Capabilities :
- Management Address Count : 0
- Port PVID : 0
- PPVID Entries Count : 0
- VLAN Name Entries Count : 0
- Protocol ID Entries Count : 0
- MAC/PHY Configuration/Status : (None)
- Power Via MDI : (None)
- Link Aggregation : (None)
- Maximum Frame Size : 0
- Unknown TLVs Count : 0
- Entity 4
- Chassis ID Subtype : MAC Address
- Chassis ID : 78-54-2E-46-19-60
- Port ID Subtype : MAC Address
- Port ID : xT.Fr
- Port Description :
- System Name :
- System Description :
- System Capabilities :
- Management Address Count : 0
- Port PVID : 0
- PPVID Entries Count : 0
- VLAN Name Entries Count : 0
- Protocol ID Entries Count : 0
- MAC/PHY Configuration/Status : (None)
- Power Via MDI : (None)
- Link Aggregation : (None)
- Maximum Frame Size : 0
- Unknown TLVs Count : 0
- Port ID : 1:4
- ---------------------------------------------------------------------------
- Remote Entities Count : 4
- Entity 1
- Chassis ID Subtype : MAC Address
- Chassis ID : 1C-BD-B9-6B-F7-60
- Port ID Subtype : Local
- Port ID : 1/25
- Port Description :
- System Name :
- System Description :
- System Capabilities :
- Management Address Count : 0
- Port PVID : 0
- PPVID Entries Count : 0
- VLAN Name Entries Count : 0
- Protocol ID Entries Count : 0
- MAC/PHY Configuration/Status : (None)
- Power Via MDI : (None)
- Link Aggregation : (None)
- Maximum Frame Size : 0
- Unknown TLVs Count : 0
- Entity 2
- Chassis ID Subtype : MAC Address
- Chassis ID : 1C-BD-B9-6B-F7-60
- Port ID Subtype : Local
- Port ID : 1/25
- Port Description :
- System Name :
- System Description :
- System Capabilities :
- Management Address Count : 0
- Port PVID : 0
- PPVID Entries Count : 0
- VLAN Name Entries Count : 0
- Protocol ID Entries Count : 0
- MAC/PHY Configuration/Status : (None)
- Power Via MDI : (None)
- Link Aggregation : (None)
- Maximum Frame Size : 0
- Unknown TLVs Count : 0
- Entity 3
- Chassis ID Subtype : MAC Address
- Chassis ID : 1C-BD-B9-6B-F7-60
- Port ID Subtype : Local
- Port ID : 1/25
- Port Description :
- System Name :
- System Description :
- System Capabilities :
- Management Address Count : 0
- Port PVID : 0
- PPVID Entries Count : 0
- VLAN Name Entries Count : 0
- Protocol ID Entries Count : 0
- MAC/PHY Configuration/Status : (None)
- Power Via MDI : (None)
- Link Aggregation : (None)
- Maximum Frame Size : 0
- Unknown TLVs Count : 0
- Entity 4
- Chassis ID Subtype : MAC Address
- Chassis ID : 1C-BD-B9-6B-F7-60
- Port ID Subtype : Local
- Port ID : 1/25
- Port Description :
- System Name :
- System Description :
- System Capabilities :
- Management Address Count : 0
- Port PVID : 0
- PPVID Entries Count : 0
- VLAN Name Entries Count : 0
- Protocol ID Entries Count : 0
- MAC/PHY Configuration/Status : (None)
- Power Via MDI : (None)
- Link Aggregation : (None)
- Maximum Frame Size : 0
- Unknown TLVs Count : 0
- Port ID : 1:5
- ---------------------------------------------------------------------------
- Remote Entities Count : 1
- Entity 1
- Chassis ID Subtype : MAC Address
- Chassis ID : 00-26-5A-89-DE-A0
- Port ID Subtype : Local
- Port ID : 1/28
- Port Description :
- System Name :
- System Description :
- System Capabilities :
- Management Address Count : 0
- Port PVID : 0
- PPVID Entries Count : 0
- VLAN Name Entries Count : 0
- Protocol ID Entries Count : 0
- MAC/PHY Configuration/Status : (None)
- Power Via MDI : (None)
- Link Aggregation : (None)
- Maximum Frame Size : 0
- Unknown TLVs Count : 0
- Port ID : 1:6
- ---------------------------------------------------------------------------
- Remote Entities Count : 4
- Entity 1
- Chassis ID Subtype : MAC Address
- Chassis ID : CC-B2-55-74-2F-E0
- Port ID Subtype : MAC Address
- Port ID : ̲Ut/▒
- Port Description :
- System Name :
- System Description :
- System Capabilities :
- Management Address Count : 0
- Port PVID : 0
- PPVID Entries Count : 0
- VLAN Name Entries Count : 0
- Protocol ID Entries Count : 0
- MAC/PHY Configuration/Status : (None)
- Power Via MDI : (None)
- Link Aggregation : (None)
- Maximum Frame Size : 0
- Unknown TLVs Count : 0
- Entity 2
- Chassis ID Subtype : MAC Address
- Chassis ID : CC-B2-55-74-2F-E0
- Port ID Subtype : MAC Address
- Port ID : ̲Ut/▒
- Port Description :
- System Name :
- System Description :
- System Capabilities :
- Management Address Count : 0
- Port PVID : 0
- PPVID Entries Count : 0
- VLAN Name Entries Count : 0
- Protocol ID Entries Count : 0
- MAC/PHY Configuration/Status : (None)
- Power Via MDI : (None)
- Link Aggregation : (None)
- Maximum Frame Size : 0
- Unknown TLVs Count : 0
- Entity 3
- Chassis ID Subtype : MAC Address
- Chassis ID : CC-B2-55-74-2F-E0
- Port ID Subtype : MAC Address
- Port ID : ̲Ut/▒
- Port Description :
- System Name :
- System Description :
- System Capabilities :
- Management Address Count : 0
- Port PVID : 0
- PPVID Entries Count : 0
- VLAN Name Entries Count : 0
- Protocol ID Entries Count : 0
- MAC/PHY Configuration/Status : (None)
- Power Via MDI : (None)
- Link Aggregation : (None)
- Maximum Frame Size : 0
- Unknown TLVs Count : 0
- Port ID : 1:7
- ---------------------------------------------------------------------------
- Remote Entities Count : 1
- Entity 1
- Chassis ID Subtype : MAC Address
- Chassis ID : 00-1E-58-A6-EB-D5
- Port ID Subtype : Local
- Port ID : 1/25
- Port Description :
- System Name :
- System Description :
- System Capabilities :
- Management Address Count : 0
- Port PVID : 0
- PPVID Entries Count : 0
- VLAN Name Entries Count : 0
- Protocol ID Entries Count : 0
- MAC/PHY Configuration/Status : (None)
- Power Via MDI : (None)
- Link Aggregation : (None)
- Maximum Frame Size : 0
- Unknown TLVs Count : 0
- Port ID : 1:8
- ---------------------------------------------------------------------------
- Remote Entities Count : 0
- (None)
- Port ID : 1:9
- ---------------------------------------------------------------------------
- Remote Entities Count : 0
- (None)
- Port ID : 1:10
- ---------------------------------------------------------------------------
- Remote Entities Count : 0
- (None)
- Port ID : 1:11
- ---------------------------------------------------------------------------
- Remote Entities Count : 0
- (None)
- Port ID : 1:12
- ---------------------------------------------------------------------------
- Remote Entities Count : 0
- (None)
- Port ID : 1:13
- ---------------------------------------------------------------------------
- Remote Entities Count : 0
- (None)
- Port ID : 1:14
- ---------------------------------------------------------------------------
- Remote Entities Count : 0
- (None)
- Port ID : 1:15
- ---------------------------------------------------------------------------
- Remote Entities Count : 0
- (None)
- Port ID : 1:16
- ---------------------------------------------------------------------------
- Remote Entities Count : 0
- (None)
- Port ID : 1:17
- ---------------------------------------------------------------------------
- Remote Entities Count : 0
- (None)
- Port ID : 1:18
- ---------------------------------------------------------------------------
- Remote Entities Count : 0
- (None)
- Port ID : 1:19
- ---------------------------------------------------------------------------
- Remote Entities Count : 4
- Entity 1
- Chassis ID Subtype : MAC Address
- Chassis ID : F8-E9-03-DD-F3-E0
- Port ID Subtype : Local
- Port ID : 25
- Port Description :
- System Name :
- System Description :
- System Capabilities :
- Management Address Count : 0
- Port PVID : 0
- PPVID Entries Count : 0
- VLAN Name Entries Count : 0
- Protocol ID Entries Count : 0
- MAC/PHY Configuration/Status : (None)
- Power Via MDI : (None)
- Link Aggregation : (None)
- Maximum Frame Size : 0
- Unknown TLVs Count : 0
- Entity 2
- Chassis ID Subtype : MAC Address
- Chassis ID : F8-E9-03-DD-F3-E0
- Port ID Subtype : Local
- Port ID : 25
- Port Description :
- System Name :
- System Description :
- System Capabilities :
- Management Address Count : 0
- Port PVID : 0
- PPVID Entries Count : 0
- VLAN Name Entries Count : 0
- Protocol ID Entries Count : 0
- MAC/PHY Configuration/Status : (None)
- Power Via MDI : (None)
- Link Aggregation : (None)
- Maximum Frame Size : 0
- Unknown TLVs Count : 0
- Entity 3
- Chassis ID Subtype : MAC Address
- Chassis ID : F8-E9-03-DD-F3-E0
- Port ID Subtype : Local
- Port ID : 25
- Port Description :
- System Name :
- System Description :
- System Capabilities :
- Management Address Count : 0
- Port PVID : 0
- PPVID Entries Count : 0
- VLAN Name Entries Count : 0
- Protocol ID Entries Count : 0
- MAC/PHY Configuration/Status : (None)
- Power Via MDI : (None)
- Link Aggregation : (None)
- Maximum Frame Size : 0
- Unknown TLVs Count : 0
- Entity 4
- Chassis ID Subtype : MAC Address
- Chassis ID : F8-E9-03-DD-F3-E0
- Port ID Subtype : Local
- Port ID : 25
- Port Description :
- System Name :
- System Description :
- System Capabilities :
- Management Address Count : 0
- Port PVID : 0
- PPVID Entries Count : 0
- VLAN Name Entries Count : 0
- Protocol ID Entries Count : 0
- MAC/PHY Configuration/Status : (None)
- Power Via MDI : (None)
- Link Aggregation : (None)
- Maximum Frame Size : 0
- Unknown TLVs Count : 0
- Port ID : 1:20
- ---------------------------------------------------------------------------
- Remote Entities Count : 0
- (None)
- Port ID : 1:21
- ---------------------------------------------------------------------------
- Remote Entities Count : 0
- (None)
- Port ID : 1:22
- ---------------------------------------------------------------------------
- Remote Entities Count : 0
- (None)
- Port ID : 1:23
- ---------------------------------------------------------------------------
- Remote Entities Count : 0
- (None)
- Port ID : 1:24
- ---------------------------------------------------------------------------
- Remote Entities Count : 1
- Entity 1
- Chassis ID Subtype : MAC Address
- Chassis ID : 00-15-E9-94-89-00
- Port ID Subtype : Local
- Port ID : 1/24
- Port Description :
- System Name :
- System Description :
- System Capabilities :
- Management Address Count : 0
- Port PVID : 0
- PPVID Entries Count : 0
- VLAN Name Entries Count : 0
- Protocol ID Entries Count : 0
- MAC/PHY Configuration/Status : (None)
- Power Via MDI : (None)
- Link Aggregation : (None)
- Maximum Frame Size : 0
- Unknown TLVs Count : 0
- Port ID : 1:25
- ---------------------------------------------------------------------------
- Remote Entities Count : 0
- (None)
- Port ID : 1:26
- ---------------------------------------------------------------------------
- Remote Entities Count : 0
- (None)
- 2017-12-18 17:35:00,631 [script] [DLink.DxS.get_lldp_neighbors|10.170.112.9] [telnet] Shutdown session
- 2017-12-18 17:35:00,631 [script] [DLink.DxS.get_lldp_neighbors|10.170.112.9] [telnet] Closing IOLoop
- 2017-12-18 17:35:00,801 [noc.core.debug] UNHANDLED EXCEPTION (2017-12-18 17:35:00.642404)
- PROCESS: ./commands/script.py
- VERSION: 15.05.1+microservices.8145.10e1beb1
- BRANCH: microservices CHANGESET: 10e1beb1
- ERROR FINGERPRINT: 45e798d6-0bc4-5fce-a763-e244cbfea681
- WORKING DIRECTORY: /opt/noc
- EXCEPTION: <type 'exceptions.ValueError'> MACAddressParameter: '({\xfe\x99'.
- START OF TRACEBACK
- ------------------------------------------------------------------------
- File: core/interface/parameter.py (Line: 37)
- Function: raise_error
- 30 :param value: Value where error detected
- 31 :type value: Arbitrary python type
- 32 :param msg: Optional message
- 33 :type msg: String
- 34 :raises InterfaceTypeError
- 35 """
- 36 raise InterfaceTypeError("%s: %s. %s" % (self.__class__.__name__,
- 37 ==> repr(value), msg))
- 38
- 39 def clean(self, value):
- 40 """
- 41 Input parameter normalization
- 42
- 43 :param value: Input parameter
- Variables:
- msg = ''
- self = <noc.sa.interfaces.base.MACAddressParameter object at 0x7fda92d9b2d0>
- value = '({\xfe\x99'
- ------------------------------------------------------------------------
- File: sa/interfaces/base.py (Line: 962)
- Function: clean
- 955 if isinstance(value, six.string_types):
- 956 value = super(MACAddressParameter, self).clean(value)
- 957 if not self.accept_bin and len(value) <= 6:
- 958 self.raise_error(value)
- 959 try:
- 960 return str(MAC(value))
- 961 except ValueError:
- 962 ==> self.raise_error(value)
- 963
- 964
- 965 class InterfaceNameParameter(StringParameter):
- 966 def script_clean_input(self, profile, value):
- 967 return profile.convert_interface_name(value)
- 968
- Variables:
- self = <noc.sa.interfaces.base.MACAddressParameter object at 0x7fda92d9b2d0>
- value = '({\xfe\x99'
- ------------------------------------------------------------------------
- File: sa/profiles/DLink/DxS/get_lldp_neighbors.py (Line: 90)
- Function: execute
- 83 "agent circuit id": 6,
- 84 "locally assigned": 7,
- 85 "local": 7
- 86 }[remote_port_subtype.strip().lower()]
- 87 n["remote_port"] = m.group("port_id").strip()
- 88 if n["remote_port_subtype"] == 3:
- 89 n["remote_port"] = \
- 90 ==> MACAddressParameter().clean(n["remote_port"])
- 91 if n["remote_port_subtype"] == 4:
- 92 n["remote_port"] = \
- 93 IPv4Parameter().clean(n["remote_port"])
- 94
- 95 if m.group("port_description").strip():
- 96 p = m.group("port_description").strip()
- Variables:
- remote_port_subtype = ' MAC Address '
- c = ''
- i = {'neighbors': [], 'local_interface': '1:2'}
- self =
- <noc.sa.profiles.DLink.DxS.get_lldp_neighbors.Script object at 0x7fda93401d50>
- m = <_sre.SRE_Match object at 0x7fda9346eb10>
- n =
- {'remote_chassis_id': '28-10-7B-FE-15-80',
- 'remote_chassis_id_subtype': 4,
- 'remote_port': '({\xfe\x99',
- 'remote_port_subtype': 3}
- r =
- [{'local_interface': '1:1',
- 'neighbors': [{'remote_capabilities': 0,
- 'remote_chassis_id': '00-21-91-5A-8F-8F',
- 'remote_chassis_id_subtype': 4,
- 'remote_port': '1/25',
- 'remote_port_subtype': 7}]}]
- v =
- 'Command: show lldp remote_ports mode normal\n\nPort ID : 1:1 \n---------------------------------------------------------------------------\nRemote Entities Count : 1 \nEntity 1 \n Chassis ID Subtype : MAC Address \n Chassis ID : 00-21-91-5A-8F-8F\n Port ID Subtype : Local \n Port ID : 1/25\n Port Description : \n System Name : \n System Description : \n System Capabilities : \n Management Address Count : 0\n Port PVID : 0\n PPVID Entries Count : 0\n VLAN Name Entries Count : 0\n Protocol ID Entries Count : 0\n MAC/PHY Configuration/Status : (None)\n Power Via MDI : (None)\n Link Aggregation : (None)\n Maximum Frame Size : 0\n Unknown TLVs Count : 0\n\nPort ID : 1:2 \n---------------------------------------------------------------------------\nRemote Entities Count : 4 \nEntity 1 \n Chassis ID Subtype : MAC Address \n Chassis ID : 28-10-7B-FE-15-80\n Port ID Subtype : MAC Address \n Port ID : ({\xfe\x99\n Port Description : \n System Name : \n System Description : \n System Capabilities : \n Management Address Count : 0\n Port PVID : 0\n PPVID Entries Count : 0\n VLAN Name Entries Count : 0\n Protocol ID Entries Count : 0\n MAC/PHY Configuration/Status : (None)\n Power Via MDI : (None)\n Link Aggregation : (None)\n Maximum Frame Size : 0\n Unknown TLVs Count : 0\n\nEntity 2 \n Chassis ID Subtype : MAC Address \n Chassis ID : 28-10-7B-FE-15-80\n Port ID Subtype : MAC Address \n Port ID : ({\xfe\x99\n Port Description : \n System Name : \n System Description : \n System Capabilities : \n Management Address Count : 0\n Port PVID : 0\n PPVID Entries Count : 0\n VLAN Name Entries Count : 0\n Protocol ID Entries Count : 0\n MAC/PHY Configuration/Status : (None)\n Power Via MDI : (None)\n Link Aggregation : (None)\n Maximum Frame Size : 0\n Unknown TLVs Count : 0\n\nEntity 3 \n Chassis ID Subtype : MAC Address \n Chassis ID : 28-10-7B-FE-15-80\n Port ID Subtype : MAC Address \n Port ID : ({\xfe\x99\n Port Description : \n System Name : \n System Description : \n System Capabilities : \n Management Address Count : 0\n Port PVID : 0\n PPVID Entries Count : 0\n VLAN Name Entries Count : 0\n Protocol ID Entries Count : 0\n MAC/PHY Configuration/Status : (None)\n Power Via MDI : (None)\n Link Aggregation : (None)\n Maximum Frame Size : 0\n Unknown TLVs Count : 0\n\nEntity 4 \n Chassis ID Subtype : MAC Address \n Chassis ID : 28-10-7B-FE-15-80\n Port ID Subtype : MAC Address \n Port ID : ({\xfe\x99\n Port Description : \n System Name : \n System Description : \n System Capabilities : \n Management Address Count : 0\n Port PVID : 0\n PPVID Entries Count : 0\n VLAN Name Entries Count : 0\n Protocol ID Entries Count : 0\n MAC/PHY Configuration/Status : (None)\n Power Via MDI : (None)\n Link Aggregation : (None)\n Maximum Frame Size : 0\n Unknown TLVs Count : 0\n\nPort ID : 1:3 \n---------------------------------------------------------------------------\nRemote Entities Count : 4 \nEntity 1 \n Chassis ID Subtype : MAC Address \n Chassis ID : 78-54-2E-46-19-60\n Port ID Subtype : MAC Address \n Port ID : xT.Fr\n Port Description : \n System Name : \n System Description : \n System Capabilities : \n Management Address Count : 0\n Port PVID : 0\n PPVID Entries Count : 0\n VLAN Name Entries Count : 0\n Protocol ID Entries Count : 0\n MAC/PHY Configuration/Status : (None)\n Power Via MDI : (None)\n Link Aggregation : (None)\n Maximum Frame Size : 0\n Unknown TLVs Count : 0\n\nEntity 2 \n Chassis ID Subtype : MAC Address \n Chassis ID : 78-54-2E-46-19-60\n Port ID Subtype : MAC Address \n Port ID : xT.Fr\n Port Description : \n System Name : \n System Description : \n System Capabilities : \n Management Address Count : 0\n Port PVID : 0\n PPVID Entries Count : 0\n VLAN Name Entries Count : 0\n Protocol ID Entries Count : 0\n MAC/PHY Configuration/Status : (None)\n Power Via MDI : (None)\n Link Aggregation : (None)\n Maximum Frame Size : 0\n Unknown TLVs Count : 0\n\nEntity 3 \n Chassis ID Subtype : MAC Address \n Chassis ID : 78-54-2E-46-19-60\n Port ID Subtype : MAC Address \n Port ID : xT.Fr\n Port Description : \n System Name : \n System Description : \n System Capabilities : \n Management Address Count : 0\n Port PVID : 0\n PPVID Entries Count : 0\n VLAN Name Entries Count : 0\n Protocol ID Entries Count : 0\n MAC/PHY Configuration/Status : (None)\n Power Via MDI : (None)\n Link Aggregation : (None)\n Maximum Frame Size : 0\n Unknown TLVs Count : 0\n\nEntity 4 \n Chassis ID Subtype : MAC Address \n Chassis ID : 78-54-2E-46-19-60\n Port ID Subtype : MAC Address \n Port ID : xT.Fr\n Port Description : \n System Name : \n System Description : \n System Capabilities : \n Management Address Count : 0\n Port PVID : 0\n PPVID Entries Count : 0\n VLAN Name Entries Count : 0\n Protocol ID Entries Count : 0\n MAC/PHY Configuration/Status : (None)\n Power Via MDI : (None)\n Link Aggregation : (None)\n Maximum Frame Size : 0\n Unknown TLVs Count : 0\n\nPort ID : 1:4 \n---------------------------------------------------------------------------\nRemote Entities Count : 4 \nEntity 1 \n Chassis ID Subtype : MAC Address \n Chassis ID : 1C-BD-B9-6B-F7-60\n Port ID Subtype : Local \n Port ID : 1/25\n Port Description : \n System Name : \n System Description : \n System Capabilities : \n Management Address Count : 0\n Port PVID : 0\n PPVID Entries Count : 0\n VLAN Name Entries Count : 0\n Protocol ID Entries Count : 0\n MAC/PHY Configuration/Status : (None)\n Power Via MDI : (None)\n Link Aggregation : (None)\n Maximum Frame Size : 0\n Unknown TLVs Count : 0\n\nEntity 2 \n Chassis ID Subtype : MAC Address \n Chassis ID : 1C-BD-B9-6B-F7-60\n Port ID Subtype : Local \n Port ID : 1/25\n Port Description : \n System Name : \n System Description : \n System Capabilities : \n Management Address Count : 0\n Port PVID : 0\n PPVID Entries Count : 0\n VLAN Name Entries Count : 0\n Protocol ID Entries Count : 0\n MAC/PHY Configuration/Status : (None)\n Power Via MDI : (None)\n Link Aggregation : (None)\n Maximum Frame Size : 0\n Unknown TLVs Count : 0\n\nEntity 3 \n Chassis ID Subtype : MAC Address \n Chassis ID : 1C-BD-B9-6B-F7-60\n Port ID Subtype : Local \n Port ID : 1/25\n Port Description : \n System Name : \n System Description : \n System Capabilities : \n Management Address Count : 0\n Port PVID : 0\n PPVID Entries Count : 0\n VLAN Name Entries Count : 0\n Protocol ID Entries Count : 0\n MAC/PHY Configuration/Status : (None)\n Power Via MDI : (None)\n Link Aggregation : (None)\n Maximum Frame Size : 0\n Unknown TLVs Count : 0\n\nEntity 4 \n Chassis ID Subtype : MAC Address \n Chassis ID : 1C-BD-B9-6B-F7-60\n Port ID Subtype : Local \n Port ID : 1/25\n Port Description : \n System Name : \n System Description : \n System Capabilities : \n Management Address Count : 0\n Port PVID : 0\n PPVID Entries Count : 0\n VLAN Name Entries Count : 0\n Protocol ID Entries Count : 0\n MAC/PHY Configuration/Status : (None)\n Power Via MDI : (None)\n Link Aggregation : (None)\n Maximum Frame Size : 0\n Unknown TLVs Count : 0\n\nPort ID : 1:5 \n---------------------------------------------------------------------------\nRemote Entities Count : 1 \nEntity 1 \n Chassis ID Subtype : MAC Address \n Chassis ID : 00-26-5A-89-DE-A0\n Port ID Subtype : Local \n Port ID : 1/28\n Port Description : \n System Name : \n System Description : \n System Capabilities : \n Management Address Count : 0\n Port PVID : 0\n PPVID Entries Count : 0\n VLAN Name Entries Count : 0\n Protocol ID Entries Count : 0\n MAC/PHY Configuration/Status : (None)\n Power Via MDI : (None)\n Link Aggregation : (None)\n Maximum Frame Size : 0\n Unknown TLVs Count : 0\n\nPort ID : 1:6 \n---------------------------------------------------------------------------\nRemote Entities Count : 4 \nEntity 1 \n Chassis ID Subtype : MAC Address \n Chassis ID : CC-B2-55-74-2F-E0\n Port ID Subtype : MAC Address \n Port ID : \xcc\xb2Ut/\xf9\n Port Description : \n System Name : \n System Description : \n System Capabilities : \n Management Address Count : 0\n Port PVID : 0\n PPVID Entries Count : 0\n VLAN Name Entries Count : 0\n Protocol ID Entries Count : 0\n MAC/PHY Configuration/Status : (None)\n Power Via MDI : (None)\n Link Aggregation : (None)\n Maximum Frame Size : 0\n Unknown TLVs Count : 0\n\nEntity 2 \n Chassis ID Subtype : MAC Address \n Chassis ID : CC-B2-55-74-2F-E0\n Port ID Subtype : MAC Address \n Port ID : \xcc\xb2Ut/\xf9\n Port Description : \n System Name : \n System Description : \n System Capabilities : \n Management Address Count : 0\n Port PVID : 0\n PPVID Entries Count : 0\n VLAN Name Entries Count : 0\n Protocol ID Entries Count : 0\n MAC/PHY Configuration/Status : (None)\n Power Via MDI : (None)\n Link Aggregation : (None)\n Maximum Frame Size : 0\n Unknown TLVs Count : 0\n\nEntity 3 \n Chassis ID Subtype : MAC Address \n Chassis ID : CC-B2-55-74-2F-E0\n Port ID Subtype : MAC Address \n Port ID : \xcc\xb2Ut/\xf9\n Port Description : \n System Name : \n System Description : \n System Capabilities : \n Management Address Count : 0\n Port PVID : 0\n PPVID Entries Count : 0\n VLAN Name Entries Count : 0\n Protocol ID Entries Count : 0\n MAC/PHY Configuration/Status : (None)\n Power Via MDI : (None)\n Link Aggregation : (None)\n Maximum Frame Size : 0\n Unknown TLVs Count : 0\n\nPort ID : 1:7 \n---------------------------------------------------------------------------\nRemote Entities Count : 1 \nEntity 1 \n Chassis ID Subtype : MAC Address \n Chassis ID : 00-1E-58-A6-EB-D5\n Port ID Subtype : Local \n Port ID : 1/25\n Port Description : \n System Name : \n System Description : \n System Capabilities : \n Management Address Count : 0\n Port PVID : 0\n PPVID Entries Count : 0\n VLAN Name Entries Count : 0\n Protocol ID Entries Count : 0\n MAC/PHY Configuration/Status : (None)\n Power Via MDI : (None)\n Link Aggregation : (None)\n Maximum Frame Size : 0\n Unknown TLVs Count : 0\n\nPort ID : 1:8 \n---------------------------------------------------------------------------\nRemote Entities Count : 0 \n (None)\n\nPort ID : 1:9 \n---------------------------------------------------------------------------\nRemote Entities Count : 0 \n (None)\n\nPort ID : 1:10 \n---------------------------------------------------------------------------\nRemote Entities Count : 0 \n (None)\n\nPort ID : 1:11 \n---------------------------------------------------------------------------\nRemote Entities Count : 0 \n (None)\n\nPort ID : 1:12 \n---------------------------------------------------------------------------\nRemote Entities Count : 0 \n (None)\n\nPort ID : 1:13 \n---------------------------------------------------------------------------\nRemote Entities Count : 0 \n (None)\n\nPort ID : 1:14 \n---------------------------------------------------------------------------\nRemote Entities Count : 0 \n (None)\n\nPort ID : 1:15 \n---------------------------------------------------------------------------\nRemote Entities Count : 0 \n (None)\n\nPort ID : 1:16 \n---------------------------------------------------------------------------\nRemote Entities Count : 0 \n (None)\n\nPort ID : 1:17 \n---------------------------------------------------------------------------\nRemote Entities Count : 0 \n (None)\n\nPort ID : 1:18 \n---------------------------------------------------------------------------\nRemote Entities Count : 0 \n (None)\n\nPort ID : 1:19 \n---------------------------------------------------------------------------\nRemote Entities Count : 4 \nEntity 1 \n Chassis ID Subtype : MAC Address \n Chassis ID : F8-E9-03-DD-F3-E0\n Port ID Subtype : Local \n Port ID : 25\n Port Description : \n System Name : \n System Description : \n System Capabilities : \n Management Address Count : 0\n Port PVID : 0\n PPVID Entries Count : 0\n VLAN Name Entries Count : 0\n Protocol ID Entries Count : 0\n MAC/PHY Configuration/Status : (None)\n Power Via MDI : (None)\n Link Aggregation : (None)\n Maximum Frame Size : 0\n Unknown TLVs Count : 0\n\nEntity 2 \n Chassis ID Subtype : MAC Address \n Chassis ID : F8-E9-03-DD-F3-E0\n Port ID Subtype : Local \n Port ID : 25\n Port Description : \n System Name : \n System Description : \n System Capabilities : \n Management Address Count : 0\n Port PVID : 0\n PPVID Entries Count : 0\n VLAN Name Entries Count : 0\n Protocol ID Entries Count : 0\n MAC/PHY Configuration/Status : (None)\n Power Via MDI : (None)\n Link Aggregation : (None)\n Maximum Frame Size : 0\n Unknown TLVs Count : 0\n\nEntity 3 \n Chassis ID Subtype : MAC Address \n Chassis ID : F8-E9-03-DD-F3-E0\n Port ID Subtype : Local \n Port ID : 25\n Port Description : \n System Name : \n System Description : \n System Capabilities : \n Management Address Count : 0\n Port PVID : 0\n PPVID Entries Count : 0\n VLAN Name Entries Count : 0\n Protocol ID Entries Count : 0\n MAC/PHY Configuration/Status : (None)\n Power Via MDI : (None)\n Link Aggregation : (None)\n Maximum Frame Size : 0\n Unknown TLVs Count : 0\n\nEntity 4 \n Chassis ID Subtype : MAC Address \n Chassis ID : F8-E9-03-DD-F3-E0\n Port ID Subtype : Local \n Port ID : 25\n Port Description : \n System Name : \n System Description : \n System Capabilities : \n Management Address Count : 0\n Port PVID : 0\n PPVID Entries Count : 0\n VLAN Name Entries Count : 0\n Protocol ID Entries Count : 0\n MAC/PHY Configuration/Status : (None)\n Power Via MDI : (None)\n Link Aggregation : (None)\n Maximum Frame Size : 0\n Unknown TLVs Count : 0\n\nPort ID : 1:20 \n---------------------------------------------------------------------------\nRemote Entities Count : 0 \n (None)\n\nPort ID : 1:21 \n---------------------------------------------------------------------------\nRemote Entities Count : 0 \n (None)\n\nPort ID : 1:22 \n---------------------------------------------------------------------------\nRemote Entities Count : 0 \n (None)\n\nPort ID : 1:23 \n---------------------------------------------------------------------------\nRemote Entities Count : 0 \n (None)\n\nPort ID : 1:24 \n---------------------------------------------------------------------------\nRemote Entities Count : 1 \nEntity 1 \n Chassis ID Subtype : MAC Address \n Chassis ID : 00-15-E9-94-89-00\n Port ID Subtype : Local \n Port ID : 1/24\n Port Description : \n System Name : \n System Description : \n System Capabilities : \n Management Address Count : 0\n Port PVID : 0\n PPVID Entries Count : 0\n VLAN Name Entries Count : 0\n Protocol ID Entries Count : 0\n MAC/PHY Configuration/Status : (None)\n Power Via MDI : (None)\n Link Aggregation : (None)\n Maximum Frame Size : 0\n Unknown TLVs Count : 0\n\nPort ID : 1:25 \n---------------------------------------------------------------------------\nRemote Entities Count : 0 \n (None)\n\nPort ID : 1:26 \n---------------------------------------------------------------------------\nRemote Entities Count : 0 \n (None)\n\n\n'
- caps = 0
- match = <_sre.SRE_Match object at 0x7fda92d837a0>
- ------------------------------------------------------------------------
- File: core/script/base.py (Line: 246)
- Function: run
- 239 self.logger.info("Using cached result")
- 240 cache_hit = True
- 241 except KeyError:
- 242 pass
- 243 # Execute script
- 244 if not cache_hit:
- 245 try:
- 246 ==> result = self.execute(**self.args)
- 247 if self.cache and self.parent and result:
- 248 self.logger.info("Caching result")
- 249 self.set_cache(self.name, self.args, result)
- 250 finally:
- 251 if not self.parent:
- 252 # Close SNMP socket when necessary
- Variables:
- cache_hit = False
- self =
- <noc.sa.profiles.DLink.DxS.get_lldp_neighbors.Script object at 0x7fda93401d50>
- ------------------------------------------------------------------------
- File: commands/script.py (Line: 118)
- Function: handle
- 111 capabilities=caps,
- 112 args=args,
- 113 version=version,
- 114 timeout=3600,
- 115 name=script,
- 116 collect_beef=bool(beef)
- 117 )
- 118 ==> result = scr.run()
- 119 if pretty:
- 120 pprint.pprint(result)
- 121 elif yaml:
- 122 import yaml
- 123 import sys
- 124 yaml.dump(result, sys.stdout)
- Variables:
- obj = <ManagedObject: 10.170.112.9>
- beef = None
- service = <__main__.ServiceStub object at 0x7fda93401d10>
- script = u'DLink.DxS.get_lldp_neighbors'
- script_class = <class 'noc.sa.profiles.DLink.DxS.get_lldp_neighbors.Script'>
- self = <__main__.Command object at 0x7fdaa8004890>
- args = {}
- use_snmp = True
- caps =
- {u'DB | Interfaces': 26,
- u'Network | LLDP': True,
- u'SNMP': True,
- u'SNMP | Bulk': True,
- u'SNMP | IF-MIB': True,
- u'SNMP | IF-MIB | HC': True,
- u'SNMP | v1': True,
- u'SNMP | v2c': True,
- u'SNMP | v3': False}
- yaml = False
- object_name = ['10.170.112.9']
- version =
- {'platform': u'DXS-3326GSR', 'vendor': u'D-Link', 'version': u'4.50-B19'}
- arguments = []
- pretty = False
- credentials =
- {'access_preference': u'CS',
- 'address': u'10.170.112.9',
- 'cli_protocol': 'telnet',
- 'password': u'*****',
- 'path': None,
- 'raise_privileges': True,
- 'snmp_ro': u'public',
- 'snmp_version': 'v2c',
- 'super_password': u'admin',
- 'user': u'script2'}
- access_preference = None
- options = {}
- scr =
- <noc.sa.profiles.DLink.DxS.get_lldp_neighbors.Script object at 0x7fda93401d50>
- ------------------------------------------------------------------------
- File: core/management/base.py (Line: 75)
- Function: run_from_argv
- 68 enable_profiling = cmd_options.pop("enable_profiling", False)
- 69 show_metrics = cmd_options.pop("show_metrics", False)
- 70 if enable_profiling:
- 71 # Start profiler
- 72 import yappi
- 73 yappi.start()
- 74 try:
- 75 ==> return self.handle(*args, **cmd_options) or 0
- 76 except CommandError as e:
- 77 self.print(str(e))
- 78 return 1
- 79 except KeyboardInterrupt:
- 80 self.print("Ctrl+C")
- 81 return 3
- Variables:
- parser =
- ArgumentParser(prog='script.py', usage=None, description=None, version=None, formatter_class=<class 'argparse.HelpFormatter'>, conflict_handler='error', add_help=True)
- loglevel = 'debug'
- enable_profiling = False
- args = ()
- cmd_options =
- {'access_preference': None,
- 'arguments': [],
- 'beef': None,
- 'object_name': ['10.170.112.9'],
- 'pretty': False,
- 'script': ['get_lldp_neighbors'],
- 'use_snmp': True,
- 'yaml': False}
- argv = ['--debug', 'get_lldp_neighbors', '10.170.112.9']
- self = <__main__.Command object at 0x7fdaa8004890>
- show_metrics = False
- options =
- Namespace(access_preference=None, arguments=[], beef=None, object_name=['10.170.112.9'], pretty=False, script=['get_lldp_neighbors'], use_snmp=True, yaml=False)
- ------------------------------------------------------------------------
- END OF TRACEBACK
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement