Advertisement
Guest User

Untitled

a guest
Jul 19th, 2012
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 43.87 KB | None | 0 0
  1. # -*- coding: utf-8 -*-
  2. ##----------------------------------------------------------------------
  3. ## DLink.DxS_Cisco_CLI.get_lldp_neighbors test
  4. ## Auto-generated by ./noc debug-script at 19.07.2012 15:50:39
  5. ##----------------------------------------------------------------------
  6. ## Copyright (C) 2007-2012 The NOC Project
  7. ## See LICENSE for details
  8. ##----------------------------------------------------------------------
  9.  
  10. ## NOC modules
  11. from noc.lib.test import ScriptTestCase
  12.  
  13.  
  14. class DLink_DxS_Cisco_CLI_get_lldp_neighbors_Test(ScriptTestCase):
  15. script = "DLink.DxS_Cisco_CLI.get_lldp_neighbors"
  16. vendor = "DLink"
  17. platform = "DGS-3610-26G"
  18. version = "10.3(5T16)"
  19. input = {}
  20. result = [{'local_interface': 'Gi 0/1',
  21. 'neighbors': [{'remote_capabilities': 4,
  22. 'remote_chassis_id': '70:72:CF:15:FA:74',
  23. 'remote_chassis_id_subtype': 4,
  24. 'remote_port': '70:72:CF:15:FA:7D',
  25. 'remote_port_subtype': 3,
  26. 'remote_system_name': 'GOR_8'}]},
  27. {'local_interface': 'Gi 0/2',
  28. 'neighbors': [{'remote_capabilities': 4,
  29. 'remote_chassis_id': '70:72:CF:1E:97:20',
  30. 'remote_chassis_id_subtype': 4,
  31. 'remote_port': '70:72:CF:1E:97:29',
  32. 'remote_port_subtype': 3,
  33. 'remote_system_name': 'GOR_43'}]},
  34. {'local_interface': 'Gi 0/3',
  35. 'neighbors': [{'remote_capabilities': 4,
  36. 'remote_chassis_id': '70:72:CF:56:BE:85',
  37. 'remote_chassis_id_subtype': 4,
  38. 'remote_port': '70:72:CF:56:BE:8F',
  39. 'remote_port_subtype': 3,
  40. 'remote_system_name': 'GOR_35'}]},
  41. {'local_interface': 'Gi 0/4',
  42. 'neighbors': [{'remote_capabilities': 4,
  43. 'remote_chassis_id': '70:72:CF:15:FE:B4',
  44. 'remote_chassis_id_subtype': 4,
  45. 'remote_port': '70:72:CF:15:FE:BD',
  46. 'remote_port_subtype': 3,
  47. 'remote_system_name': 'GOR_28'}]},
  48. {'local_interface': 'Gi 0/5',
  49. 'neighbors': [{'remote_capabilities': 4,
  50. 'remote_chassis_id': '70:72:CF:56:BE:B5',
  51. 'remote_chassis_id_subtype': 4,
  52. 'remote_port': '70:72:CF:56:BE:BE',
  53. 'remote_port_subtype': 3,
  54. 'remote_system_name': 'IND_67'}]},
  55. {'local_interface': 'Gi 0/6',
  56. 'neighbors': [{'remote_capabilities': 4,
  57. 'remote_chassis_id': '70:72:CF:16:00:E4',
  58. 'remote_chassis_id_subtype': 4,
  59. 'remote_port': '70:72:CF:16:00:ED',
  60. 'remote_port_subtype': 3,
  61. 'remote_system_name': 'IND_76'}]},
  62. {'local_interface': 'Gi 0/8',
  63. 'neighbors': [{'remote_capabilities': 4,
  64. 'remote_chassis_id': '00:1C:F0:5B:24:00',
  65. 'remote_chassis_id_subtype': 4,
  66. 'remote_port': '24',
  67. 'remote_port_subtype': 5,
  68. 'remote_system_name': 'VCH_10'}]},
  69. {'local_interface': 'Gi 0/9',
  70. 'neighbors': [{'remote_capabilities': 6,
  71. 'remote_chassis_id': '1C:BD:B9:9B:8B:5C',
  72. 'remote_chassis_id_subtype': 4,
  73. 'remote_port': '17',
  74. 'remote_port_subtype': 7,
  75. 'remote_system_name': 'BMV_13'}]},
  76. {'local_interface': 'Gi 0/13',
  77. 'neighbors': [{'remote_capabilities': 4,
  78. 'remote_chassis_id': '70:72:CF:1E:97:70',
  79. 'remote_chassis_id_subtype': 4,
  80. 'remote_port': '70:72:CF:1E:97:7A',
  81. 'remote_port_subtype': 3,
  82. 'remote_system_name': 'KIR_16'}]},
  83. {'local_interface': 'Gi 0/15',
  84. 'neighbors': [{'remote_capabilities': 4,
  85. 'remote_chassis_id': '70:72:CF:56:C3:65',
  86. 'remote_chassis_id_subtype': 4,
  87. 'remote_port': '70:72:CF:56:C3:6E',
  88. 'remote_port_subtype': 3,
  89. 'remote_system_name': 'LIS_25'}]},
  90. {'local_interface': 'Gi 0/16',
  91. 'neighbors': [{'remote_capabilities': 4,
  92. 'remote_chassis_id': '00:12:CF:F3:E0:06',
  93. 'remote_chassis_id_subtype': 4,
  94. 'remote_port': '00:12:CF:F3:E0:0F',
  95. 'remote_port_subtype': 3,
  96. 'remote_system_name': 'LIS_40'}]},
  97. {'local_interface': 'Gi 0/17',
  98. 'neighbors': [{'remote_capabilities': 4,
  99. 'remote_chassis_id': '70:72:CF:15:FE:44',
  100. 'remote_chassis_id_subtype': 4,
  101. 'remote_port': '70:72:CF:15:FE:4D',
  102. 'remote_port_subtype': 3,
  103. 'remote_system_name': 'SL_3'}]},
  104. {'local_interface': 'Gi 0/18',
  105. 'neighbors': [{'remote_capabilities': 6,
  106. 'remote_chassis_id': '1C:BD:B9:9B:9A:5C',
  107. 'remote_chassis_id_subtype': 4,
  108. 'remote_port': '17',
  109. 'remote_port_subtype': 7,
  110. 'remote_system_name': 'SL_42'}]},
  111. {'local_interface': 'Gi 0/20',
  112. 'neighbors': [{'remote_capabilities': 4,
  113. 'remote_chassis_id': '00:12:CF:F3:DE:D6',
  114. 'remote_chassis_id_subtype': 4,
  115. 'remote_port': '00:12:CF:F3:DE:E0',
  116. 'remote_port_subtype': 3,
  117. 'remote_system_name': 'GUT_25'}]},
  118. {'local_interface': 'Gi 0/21',
  119. 'neighbors': [{'remote_capabilities': 128,
  120. 'remote_chassis_id': '00:15:17:91:80:8C',
  121. 'remote_chassis_id_subtype': 4,
  122. 'remote_port': 'em0',
  123. 'remote_port_subtype': 5,
  124. 'remote_system_name': 'nas-1'}]},
  125. {'local_interface': 'Gi 0/22',
  126. 'neighbors': [{'remote_capabilities': 20,
  127. 'remote_chassis_id': '00:12:CF:74:F9:21',
  128. 'remote_chassis_id_subtype': 4,
  129. 'remote_port': '24',
  130. 'remote_port_subtype': 5,
  131. 'remote_system_name': 'ES4626'}]},
  132. {'local_interface': 'Gi 0/23',
  133. 'neighbors': [{'remote_capabilities': 128,
  134. 'remote_chassis_id': '00:15:17:B8:FD:0C',
  135. 'remote_chassis_id_subtype': 4,
  136. 'remote_port': 'em0',
  137. 'remote_port_subtype': 5,
  138. 'remote_system_name': 'nas-4'}]},
  139. {'local_interface': 'Te 1/1',
  140. 'neighbors': [{'remote_capabilities': 20,
  141. 'remote_chassis_id': '00:E0:B1:88:7A:B8',
  142. 'remote_chassis_id_subtype': 4,
  143. 'remote_port': '1025',
  144. 'remote_port_subtype': 7,
  145. 'remote_system_name': 'Alcatel6850'}]}]
  146. motd = ''
  147. cli = {
  148. ## 'show lldp neighbor-information'
  149. 'show lldp neighbor-information': """show lldp neighbor-information
  150. ----------------------------------------------------------------------------
  151. Lldp neighbor-information of port [GigabitEthernet 0/1]
  152. ----------------------------------------------------------------------------
  153. Neighbor index : 1
  154. Device type : LLDP Device
  155. Update time : 9day 7hour 31minute 19second
  156.  
  157. Chassis ID type : MAC address
  158. Chassis ID : 7072.cf15.fa74
  159. System name : GOR_8
  160. System description : ES3510MA
  161. System capabilities supported : Bridge
  162. System capabilities enabled : Bridge
  163.  
  164. Management address subtype : ipv4
  165. Management address : 10.200.10.2
  166. Interface numbering subtype : ifIndex
  167. Interface number : 1080
  168. Object identifier :
  169.  
  170.  
  171. Port ID type : MAC address
  172. Port ID : 7072.cf15.fa7d
  173. Port description : Ethernet Port on unit 0, port 9
  174.  
  175. 802.1 organizationally information
  176. Port VLAN ID : 80
  177. Port and protocol VLAN ID(PPVID) : 0
  178. PPVID Supported : YES
  179. PPVID Enabled : NO
  180. VLAN name of VLAN 80 : vlan80
  181. VLAN name of VLAN 81 : vlan81
  182. VLAN name of VLAN 82 : vlan82
  183. VLAN name of VLAN 83 : vlan83
  184. VLAN name of VLAN 84 : vlan84
  185. VLAN name of VLAN 85 : vlan85
  186. VLAN name of VLAN 86 : vlan86
  187. VLAN name of VLAN 87 : vlan87
  188. VLAN name of VLAN 88 : vlan88
  189. VLAN name of VLAN 89 : vlan89
  190. VLAN name of VLAN 1000 : vlan1000
  191. Protocol Identity (index = 1 ) :
  192. 0x88 0xcc
  193.  
  194.  
  195. 802.3 organizationally information
  196. Auto-negotiation supported :
  197. Auto-negotiation enabled :
  198. PMD auto-negotiation advertised :
  199. Operational MAU type :
  200. PoE support : NO
  201. Link aggregation supported :
  202. Link aggregation enabled :
  203. Aggregation port ID :
  204. Maximum frame Size :
  205. ----------------------------------------------------------------------------
  206. Lldp neighbor-information of port [GigabitEthernet 0/2]
  207. ----------------------------------------------------------------------------
  208. Neighbor index : 1
  209. Device type : LLDP Device
  210. Update time : 9day 7hour 41minute 55second
  211.  
  212. Chassis ID type : MAC address
  213. Chassis ID : 7072.cf1e.9720
  214. System name : GOR_43
  215. System description : ES3510MA
  216. System capabilities supported : Bridge
  217. System capabilities enabled : Bridge
  218.  
  219. Management address subtype : ipv4
  220. Management address : 10.200.10.66
  221. Interface numbering subtype : ifIndex
  222. Interface number : 1090
  223. Object identifier :
  224.  
  225.  
  226. Port ID type : MAC address
  227. Port ID : 7072.cf1e.9729
  228. Port description : Ethernet Port on unit 0, port 9
  229.  
  230. 802.1 organizationally information
  231. Port VLAN ID : 90
  232. Port and protocol VLAN ID(PPVID) : 0
  233. PPVID Supported : YES
  234. PPVID Enabled : NO
  235. VLAN name of VLAN 90 : vlan90
  236. VLAN name of VLAN 91 : vlan91
  237. VLAN name of VLAN 92 : vlan92
  238. VLAN name of VLAN 93 : vlan93
  239. VLAN name of VLAN 94 : vlan94
  240. VLAN name of VLAN 95 : vlan95
  241. VLAN name of VLAN 96 : vlan96
  242. VLAN name of VLAN 97 : vlan97
  243. VLAN name of VLAN 98 : vlan98
  244. VLAN name of VLAN 99 : vlan99
  245. VLAN name of VLAN 1000 : vlan1000
  246. Protocol Identity (index = 1 ) :
  247. 0x88 0xcc
  248.  
  249.  
  250. 802.3 organizationally information
  251. Auto-negotiation supported :
  252. Auto-negotiation enabled :
  253. PMD auto-negotiation advertised :
  254. Operational MAU type :
  255. PoE support : NO
  256. Link aggregation supported :
  257. Link aggregation enabled :
  258. Aggregation port ID :
  259. Maximum frame Size :
  260. ----------------------------------------------------------------------------
  261. Lldp neighbor-information of port [GigabitEthernet 0/3]
  262. ----------------------------------------------------------------------------
  263. Neighbor index : 1
  264. Device type : LLDP Device
  265. Update time : 20day 12hour 53minute 53second
  266.  
  267. Chassis ID type : MAC address
  268. Chassis ID : 7072.cf56.be85
  269. System name : GOR_35
  270. System description : ES3510MA
  271. System capabilities supported : Bridge
  272. System capabilities enabled : Bridge
  273.  
  274. Management address subtype : ipv4
  275. Management address : 10.200.10.130
  276. Interface numbering subtype : ifIndex
  277. Interface number : 1100
  278. Object identifier :
  279.  
  280.  
  281. Port ID type : MAC address
  282. Port ID : 7072.cf56.be8f
  283. Port description : Ethernet Port on unit 0, port 10
  284.  
  285. 802.1 organizationally information
  286. Port VLAN ID : 100
  287. Port and protocol VLAN ID(PPVID) : 0
  288. PPVID Supported : YES
  289. PPVID Enabled : NO
  290. VLAN name of VLAN 1 : DefaultVlan
  291. VLAN name of VLAN 100 : vlan100
  292. VLAN name of VLAN 101 : vlan101
  293. VLAN name of VLAN 102 : vlan102
  294. VLAN name of VLAN 103 : vlan103
  295. VLAN name of VLAN 104 : vlan104
  296. VLAN name of VLAN 105 : vlan105
  297. VLAN name of VLAN 106 : vlan106
  298. VLAN name of VLAN 107 : vlan107
  299. VLAN name of VLAN 108 : vlan108
  300. VLAN name of VLAN 1000 : vlan1000
  301. Protocol Identity (index = 1 ) :
  302. 0x88 0xcc
  303.  
  304.  
  305. 802.3 organizationally information
  306. Auto-negotiation supported :
  307. Auto-negotiation enabled :
  308. PMD auto-negotiation advertised :
  309. Operational MAU type :
  310. PoE support : NO
  311. Link aggregation supported :
  312. Link aggregation enabled :
  313. Aggregation port ID :
  314. Maximum frame Size :
  315. ----------------------------------------------------------------------------
  316. Lldp neighbor-information of port [GigabitEthernet 0/4]
  317. ----------------------------------------------------------------------------
  318. Neighbor index : 1
  319. Device type : LLDP Device
  320. Update time : 9day 7hour 41minute 53second
  321.  
  322. Chassis ID type : MAC address
  323. Chassis ID : 7072.cf15.feb4
  324. System name : GOR_28
  325. System description : ES3510MA
  326. System capabilities supported : Bridge
  327. System capabilities enabled : Bridge
  328.  
  329. Management address subtype : ipv4
  330. Management address : 10.200.10.194
  331. Interface numbering subtype : ifIndex
  332. Interface number : 1110
  333. Object identifier :
  334.  
  335.  
  336. Port ID type : MAC address
  337. Port ID : 7072.cf15.febd
  338. Port description : Ethernet Port on unit 0, port 9
  339.  
  340. 802.1 organizationally information
  341. Port VLAN ID : 110
  342. Port and protocol VLAN ID(PPVID) : 0
  343. PPVID Supported : YES
  344. PPVID Enabled : NO
  345. VLAN name of VLAN 110 : vlan110
  346. VLAN name of VLAN 111 : vlan111
  347. VLAN name of VLAN 112 : vlan112
  348. VLAN name of VLAN 113 : vlan113
  349. VLAN name of VLAN 114 : vlan114
  350. VLAN name of VLAN 115 : vlan115
  351. VLAN name of VLAN 116 : vlan116
  352. VLAN name of VLAN 117 : vlan117
  353. VLAN name of VLAN 118 : vlan118
  354. VLAN name of VLAN 119 : vlan119
  355. VLAN name of VLAN 1000 : vlan1000
  356. Protocol Identity (index = 1 ) :
  357. 0x88 0xcc
  358.  
  359.  
  360. 802.3 organizationally information
  361. Auto-negotiation supported :
  362. Auto-negotiation enabled :
  363. PMD auto-negotiation advertised :
  364. Operational MAU type :
  365. PoE support : NO
  366. Link aggregation supported :
  367. Link aggregation enabled :
  368. Aggregation port ID :
  369. Maximum frame Size :
  370. ----------------------------------------------------------------------------
  371. Lldp neighbor-information of port [GigabitEthernet 0/5]
  372. ----------------------------------------------------------------------------
  373. Neighbor index : 1
  374. Device type : LLDP Device
  375. Update time : 3minute 52second
  376.  
  377. Chassis ID type : MAC address
  378. Chassis ID : 7072.cf56.beb5
  379. System name : IND_67
  380. System description : ES3510MA
  381. System capabilities supported : Bridge
  382. System capabilities enabled : Bridge
  383.  
  384. Management address subtype : ipv4
  385. Management address : 10.200.11.2
  386. Interface numbering subtype : ifIndex
  387. Interface number : 1120
  388. Object identifier :
  389.  
  390.  
  391. Port ID type : MAC address
  392. Port ID : 7072.cf56.bebe
  393. Port description : Ethernet Port on unit 0, port 9
  394.  
  395. 802.1 organizationally information
  396. Port VLAN ID : 120
  397. Port and protocol VLAN ID(PPVID) : 0
  398. PPVID Supported : YES
  399. PPVID Enabled : NO
  400. VLAN name of VLAN 1 : DefaultVlan
  401. VLAN name of VLAN 120 : vlan120
  402. VLAN name of VLAN 121 : vlan121
  403. VLAN name of VLAN 122 : vlan122
  404. VLAN name of VLAN 123 : vlan123
  405. VLAN name of VLAN 124 : vlan124
  406. VLAN name of VLAN 125 : vlan125
  407. VLAN name of VLAN 126 : vlan126
  408. VLAN name of VLAN 127 : vlan127
  409. VLAN name of VLAN 128 : vlan128
  410. VLAN name of VLAN 1000 : vlan1000
  411. Protocol Identity (index = 1 ) :
  412. 0x88 0xcc
  413.  
  414.  
  415. 802.3 organizationally information
  416. Auto-negotiation supported :
  417. Auto-negotiation enabled :
  418. PMD auto-negotiation advertised :
  419. Operational MAU type :
  420. PoE support : NO
  421. Link aggregation supported :
  422. Link aggregation enabled :
  423. Aggregation port ID :
  424. Maximum frame Size :
  425. ----------------------------------------------------------------------------
  426. Lldp neighbor-information of port [GigabitEthernet 0/6]
  427. ----------------------------------------------------------------------------
  428. Neighbor index : 1
  429. Device type : LLDP Device
  430. Update time : 9day 7hour 43minute 53second
  431.  
  432. Chassis ID type : MAC address
  433. Chassis ID : 7072.cf16.00e4
  434. System name : IND_76
  435. System description : ES3510MA
  436. System capabilities supported : Bridge
  437. System capabilities enabled : Bridge
  438.  
  439. Management address subtype : ipv4
  440. Management address : 10.200.11.66
  441. Interface numbering subtype : ifIndex
  442. Interface number : 1130
  443. Object identifier :
  444.  
  445.  
  446. Port ID type : MAC address
  447. Port ID : 7072.cf16.00ed
  448. Port description : Ethernet Port on unit 0, port 9
  449.  
  450. 802.1 organizationally information
  451. Port VLAN ID : 130
  452. Port and protocol VLAN ID(PPVID) : 0
  453. PPVID Supported : YES
  454. PPVID Enabled : NO
  455. VLAN name of VLAN 130 : vlan130
  456. VLAN name of VLAN 131 : vlan131
  457. VLAN name of VLAN 132 : vlan132
  458. VLAN name of VLAN 133 : vlan133
  459. VLAN name of VLAN 134 : vlan134
  460. VLAN name of VLAN 135 : vlan135
  461. VLAN name of VLAN 136 : vlan136
  462. VLAN name of VLAN 137 : vlan137
  463. VLAN name of VLAN 138 : vlan138
  464. VLAN name of VLAN 139 : vlan139
  465. VLAN name of VLAN 1000 : vlan1000
  466. Protocol Identity (index = 1 ) :
  467. 0x88 0xcc
  468.  
  469.  
  470. 802.3 organizationally information
  471. Auto-negotiation supported :
  472. Auto-negotiation enabled :
  473. PMD auto-negotiation advertised :
  474. Operational MAU type :
  475. PoE support : NO
  476. Link aggregation supported :
  477. Link aggregation enabled :
  478. Aggregation port ID :
  479. Maximum frame Size :
  480. ----------------------------------------------------------------------------
  481. Lldp neighbor-information of port [GigabitEthernet 0/8]
  482. ----------------------------------------------------------------------------
  483. Neighbor index : 1
  484. Device type : LLDP Device
  485. Update time : 21day 23hour 59minute 2second
  486.  
  487. Chassis ID type : MAC address
  488. Chassis ID : 001c.f05b.2400
  489. System name : VCH_10
  490. System description : DGS-3100-24 Gigabit stackable L2 Managed Switch
  491. System capabilities supported : Bridge
  492. System capabilities enabled : Bridge
  493.  
  494. Management address subtype : ipv4
  495. Management address : 10.200.16.2
  496. Interface numbering subtype : ifIndex
  497. Interface number : 100029
  498. Object identifier :
  499.  
  500.  
  501. Port ID type : Interface name
  502. Port ID : 1:24
  503. Port description : Ethernet Interface
  504.  
  505. 802.1 organizationally information
  506. Port VLAN ID :
  507. Port and protocol VLAN ID(PPVID) :
  508. PPVID Supported :
  509. PPVID Enabled :
  510. VLAN name :
  511. Protocol Identity :
  512.  
  513.  
  514. 802.3 organizationally information
  515. Auto-negotiation supported : YES
  516. Auto-negotiation enabled : YES
  517. PMD auto-negotiation advertised : 1000BASE-T full duplex mode
  518. Operational MAU type :
  519. PoE support : NO
  520. Link aggregation supported :
  521. Link aggregation enabled :
  522. Aggregation port ID :
  523. Maximum frame Size :
  524. ----------------------------------------------------------------------------
  525. Lldp neighbor-information of port [GigabitEthernet 0/9]
  526. ----------------------------------------------------------------------------
  527. Neighbor index : 1
  528. Device type : LLDP Device
  529. Update time : 9day 8hour 7minute 31second
  530.  
  531. Chassis ID type : MAC address
  532. Chassis ID : 1cbd.b99b.8b5c
  533. System name : BMV_13
  534. System description : Fast Ethernet Switch
  535. System capabilities supported : Repeater, Bridge
  536. System capabilities enabled : Repeater, Bridge
  537.  
  538.  
  539. Port ID type : Locally assigned
  540. Port ID : 1/17
  541. Port description : D-Link DES-3200-18 R1.60 Port 17
  542.  
  543. 802.1 organizationally information
  544. Port VLAN ID : 360
  545. Port and protocol VLAN ID(PPVID) :
  546. PPVID Supported :
  547. PPVID Enabled :
  548. VLAN name of VLAN 360 : 360
  549. VLAN name of VLAN 361 : 361
  550. VLAN name of VLAN 362 : 362
  551. VLAN name of VLAN 363 : 363
  552. VLAN name of VLAN 364 : 364
  553. VLAN name of VLAN 365 : 365
  554. VLAN name of VLAN 366 : 366
  555. VLAN name of VLAN 367 : 367
  556. VLAN name of VLAN 368 : 368
  557. VLAN name of VLAN 369 : 369
  558. VLAN name of VLAN 370 : 370
  559. VLAN name of VLAN 371 : 371
  560. VLAN name of VLAN 372 : 372
  561. VLAN name of VLAN 373 : 373
  562. VLAN name of VLAN 374 : 374
  563. VLAN name of VLAN 375 : 375
  564. VLAN name of VLAN 376 : 376
  565. Protocol Identity :
  566.  
  567.  
  568. 802.3 organizationally information
  569. Auto-negotiation supported :
  570. Auto-negotiation enabled :
  571. PMD auto-negotiation advertised :
  572. Operational MAU type :
  573. PoE support : NO
  574. Link aggregation supported :
  575. Link aggregation enabled :
  576. Aggregation port ID :
  577. Maximum frame Size :
  578. ----------------------------------------------------------------------------
  579. Lldp neighbor-information of port [GigabitEthernet 0/13]
  580. ----------------------------------------------------------------------------
  581. Neighbor index : 1
  582. Device type : LLDP Device
  583. Update time : 9day 7hour 45minute 38second
  584.  
  585. Chassis ID type : MAC address
  586. Chassis ID : 7072.cf1e.9770
  587. System name : KIR_16
  588. System description : ES3510MA
  589. System capabilities supported : Bridge
  590. System capabilities enabled : Bridge
  591.  
  592. Management address subtype : ipv4
  593. Management address : 10.200.12.130
  594. Interface numbering subtype : ifIndex
  595. Interface number : 1250
  596. Object identifier :
  597.  
  598.  
  599. Port ID type : MAC address
  600. Port ID : 7072.cf1e.977a
  601. Port description : Ethernet Port on unit 0, port 10
  602.  
  603. 802.1 organizationally information
  604. Port VLAN ID : 250
  605. Port and protocol VLAN ID(PPVID) : 0
  606. PPVID Supported : YES
  607. PPVID Enabled : NO
  608. VLAN name of VLAN 250 : vlan250
  609. VLAN name of VLAN 251 : vlan251
  610. VLAN name of VLAN 252 : vlan252
  611. VLAN name of VLAN 253 : vlan253
  612. VLAN name of VLAN 254 : vlan254
  613. VLAN name of VLAN 255 : vlan255
  614. VLAN name of VLAN 256 : vlan256
  615. VLAN name of VLAN 257 : vlan257
  616. VLAN name of VLAN 258 : vlan258
  617. VLAN name of VLAN 259 : vlan259
  618. VLAN name of VLAN 1000 : vlan1000
  619. Protocol Identity (index = 1 ) :
  620. 0x88 0xcc
  621.  
  622.  
  623. 802.3 organizationally information
  624. Auto-negotiation supported :
  625. Auto-negotiation enabled :
  626. PMD auto-negotiation advertised :
  627. Operational MAU type :
  628. PoE support : NO
  629. Link aggregation supported :
  630. Link aggregation enabled :
  631. Aggregation port ID :
  632. Maximum frame Size :
  633. ----------------------------------------------------------------------------
  634. Lldp neighbor-information of port [GigabitEthernet 0/15]
  635. ----------------------------------------------------------------------------
  636. Neighbor index : 1
  637. Device type : LLDP Device
  638. Update time : 5minute 6second
  639.  
  640. Chassis ID type : MAC address
  641. Chassis ID : 7072.cf56.c365
  642. System name : LIS_25
  643. System description : ES3510MA
  644. System capabilities supported : Bridge
  645. System capabilities enabled : Bridge
  646.  
  647. Management address subtype : ipv4
  648. Management address : 10.200.14.66
  649. Interface numbering subtype : ifIndex
  650. Interface number : 1150
  651. Object identifier :
  652.  
  653.  
  654. Port ID type : MAC address
  655. Port ID : 7072.cf56.c36e
  656. Port description : Ethernet Port on unit 0, port 9
  657.  
  658. 802.1 organizationally information
  659. Port VLAN ID : 150
  660. Port and protocol VLAN ID(PPVID) : 0
  661. PPVID Supported : YES
  662. PPVID Enabled : NO
  663. VLAN name of VLAN 150 : vlan150
  664. VLAN name of VLAN 151 : vlan151
  665. VLAN name of VLAN 152 : vlan152
  666. VLAN name of VLAN 153 : vlan153
  667. VLAN name of VLAN 154 : vlan154
  668. VLAN name of VLAN 155 : vlan155
  669. VLAN name of VLAN 156 : vlan156
  670. VLAN name of VLAN 157 : vlan157
  671. VLAN name of VLAN 158 : vlan158
  672. VLAN name of VLAN 1000 : vlan1000
  673. Protocol Identity (index = 1 ) :
  674. 0x88 0xcc
  675.  
  676.  
  677. 802.3 organizationally information
  678. Auto-negotiation supported :
  679. Auto-negotiation enabled :
  680. PMD auto-negotiation advertised :
  681. Operational MAU type :
  682. PoE support : NO
  683. Link aggregation supported :
  684. Link aggregation enabled :
  685. Aggregation port ID :
  686. Maximum frame Size :
  687. ----------------------------------------------------------------------------
  688. Lldp neighbor-information of port [GigabitEthernet 0/16]
  689. ----------------------------------------------------------------------------
  690. Neighbor index : 1
  691. Device type : LLDP Device
  692. Update time : 9day 7hour 47minute 2second
  693.  
  694. Chassis ID type : MAC address
  695. Chassis ID : 0012.cff3.e006
  696. System name : LIS_40
  697. System description : ES3510MA
  698. System capabilities supported : Bridge
  699. System capabilities enabled : Bridge
  700.  
  701. Management address subtype : ipv4
  702. Management address : 10.200.14.130
  703. Interface numbering subtype : ifIndex
  704. Interface number : 1160
  705. Object identifier :
  706.  
  707.  
  708. Port ID type : MAC address
  709. Port ID : 0012.cff3.e00f
  710. Port description : Ethernet Port on unit 0, port 9
  711.  
  712. 802.1 organizationally information
  713. Port VLAN ID : 160
  714. Port and protocol VLAN ID(PPVID) : 0
  715. PPVID Supported : YES
  716. PPVID Enabled : NO
  717. VLAN name of VLAN 160 : vlan160
  718. VLAN name of VLAN 161 : vlan161
  719. VLAN name of VLAN 162 : vlan162
  720. VLAN name of VLAN 163 : vlan163
  721. VLAN name of VLAN 164 : vlan164
  722. VLAN name of VLAN 165 : vlan165
  723. VLAN name of VLAN 166 : vlan166
  724. VLAN name of VLAN 167 : vlan167
  725. VLAN name of VLAN 168 : vlan168
  726. VLAN name of VLAN 1000 : vlan1000
  727. VLAN name of VLAN 1076 : vlan1076
  728. Protocol Identity (index = 1 ) :
  729. 0x88 0xcc
  730.  
  731.  
  732. 802.3 organizationally information
  733. Auto-negotiation supported :
  734. Auto-negotiation enabled :
  735. PMD auto-negotiation advertised :
  736. Operational MAU type :
  737. PoE support : NO
  738. Link aggregation supported :
  739. Link aggregation enabled :
  740. Aggregation port ID :
  741. Maximum frame Size :
  742. ----------------------------------------------------------------------------
  743. Lldp neighbor-information of port [GigabitEthernet 0/17]
  744. ----------------------------------------------------------------------------
  745. Neighbor index : 1
  746. Device type : LLDP Device
  747. Update time : 9day 7hour 41minute 55second
  748.  
  749. Chassis ID type : MAC address
  750. Chassis ID : 7072.cf15.fe44
  751. System name : SL_3
  752. System description : ES3510MA
  753. System capabilities supported : Bridge
  754. System capabilities enabled : Bridge
  755.  
  756. Management address subtype : ipv4
  757. Management address : 10.200.8.2
  758. Interface numbering subtype : ifIndex
  759. Interface number : 1330
  760. Object identifier :
  761.  
  762.  
  763. Port ID type : MAC address
  764. Port ID : 7072.cf15.fe4d
  765. Port description : Ethernet Port on unit 0, port 9
  766.  
  767. 802.1 organizationally information
  768. Port VLAN ID : 330
  769. Port and protocol VLAN ID(PPVID) : 0
  770. PPVID Supported : YES
  771. PPVID Enabled : NO
  772. VLAN name of VLAN 330 : vlan330
  773. VLAN name of VLAN 331 : vlan331
  774. VLAN name of VLAN 332 : vlan332
  775. VLAN name of VLAN 333 : vlan333
  776. VLAN name of VLAN 334 : vlan334
  777. VLAN name of VLAN 335 : vlan335
  778. VLAN name of VLAN 336 : vlan336
  779. VLAN name of VLAN 337 : vlan337
  780. VLAN name of VLAN 338 : vlan338
  781. VLAN name of VLAN 339 : vlan339
  782. VLAN name of VLAN 1000 : vlan1000
  783. Protocol Identity (index = 1 ) :
  784. 0x88 0xcc
  785.  
  786.  
  787. 802.3 organizationally information
  788. Auto-negotiation supported :
  789. Auto-negotiation enabled :
  790. PMD auto-negotiation advertised :
  791. Operational MAU type :
  792. PoE support : NO
  793. Link aggregation supported :
  794. Link aggregation enabled :
  795. Aggregation port ID :
  796. Maximum frame Size :
  797. ----------------------------------------------------------------------------
  798. Lldp neighbor-information of port [GigabitEthernet 0/18]
  799. ----------------------------------------------------------------------------
  800. Neighbor index : 1
  801. Device type : LLDP Device
  802. Update time : 9day 8hour 3minute 48second
  803.  
  804. Chassis ID type : MAC address
  805. Chassis ID : 1cbd.b99b.9a5c
  806. System name : SL_42
  807. System description : Fast Ethernet Switch
  808. System capabilities supported : Repeater, Bridge
  809. System capabilities enabled : Repeater, Bridge
  810.  
  811.  
  812. Port ID type : Locally assigned
  813. Port ID : 1/17
  814. Port description : D-Link DES-3200-18 R1.60 Port 17
  815.  
  816. 802.1 organizationally information
  817. Port VLAN ID : 10
  818. Port and protocol VLAN ID(PPVID) :
  819. PPVID Supported :
  820. PPVID Enabled :
  821. VLAN name of VLAN 2 : 2
  822. VLAN name of VLAN 3 : 3
  823. VLAN name of VLAN 4 : 4
  824. VLAN name of VLAN 5 : 5
  825. VLAN name of VLAN 6 : 6
  826. VLAN name of VLAN 7 : 7
  827. VLAN name of VLAN 8 : 8
  828. VLAN name of VLAN 9 : 9
  829. VLAN name of VLAN 10 : 10
  830. VLAN name of VLAN 350 : 350
  831. VLAN name of VLAN 351 : 351
  832. Protocol Identity :
  833.  
  834.  
  835. 802.3 organizationally information
  836. Auto-negotiation supported :
  837. Auto-negotiation enabled :
  838. PMD auto-negotiation advertised :
  839. Operational MAU type :
  840. PoE support : NO
  841. Link aggregation supported :
  842. Link aggregation enabled :
  843. Aggregation port ID :
  844. Maximum frame Size :
  845. ----------------------------------------------------------------------------
  846. Lldp neighbor-information of port [GigabitEthernet 0/20]
  847. ----------------------------------------------------------------------------
  848. Neighbor index : 1
  849. Device type : LLDP Device
  850. Update time : 9day 7hour 41minute 53second
  851.  
  852. Chassis ID type : MAC address
  853. Chassis ID : 0012.cff3.ded6
  854. System name : GUT_25
  855. System description : ES3510MA
  856. System capabilities supported : Bridge
  857. System capabilities enabled : Bridge
  858.  
  859. Management address subtype : ipv4
  860. Management address : 10.200.15.130
  861. Interface numbering subtype : ifIndex
  862. Interface number : 1210
  863. Object identifier :
  864.  
  865.  
  866. Port ID type : MAC address
  867. Port ID : 0012.cff3.dee0
  868. Port description : Ethernet Port on unit 0, port 10
  869.  
  870. 802.1 organizationally information
  871. Port VLAN ID : 210
  872. Port and protocol VLAN ID(PPVID) : 0
  873. PPVID Supported : YES
  874. PPVID Enabled : NO
  875. VLAN name of VLAN 210 : vlan210
  876. VLAN name of VLAN 211 : vlan211
  877. VLAN name of VLAN 212 : vlan212
  878. VLAN name of VLAN 213 : vlan213
  879. VLAN name of VLAN 214 : vlan214
  880. VLAN name of VLAN 215 : vlan215
  881. VLAN name of VLAN 216 : vlan216
  882. VLAN name of VLAN 217 : vlan217
  883. VLAN name of VLAN 218 : vlan218
  884. VLAN name of VLAN 219 : vlan219
  885. VLAN name of VLAN 1000 : vlan1000
  886. Protocol Identity (index = 1 ) :
  887. 0x88 0xcc
  888.  
  889.  
  890. 802.3 organizationally information
  891. Auto-negotiation supported :
  892. Auto-negotiation enabled :
  893. PMD auto-negotiation advertised :
  894. Operational MAU type :
  895. PoE support : NO
  896. Link aggregation supported :
  897. Link aggregation enabled :
  898. Aggregation port ID :
  899. Maximum frame Size :
  900. ----------------------------------------------------------------------------
  901. Lldp neighbor-information of port [GigabitEthernet 0/21]
  902. ----------------------------------------------------------------------------
  903. Neighbor index : 1
  904. Device type : LLDP Device
  905. Update time : 1minute 59second
  906.  
  907. Chassis ID type : MAC address
  908. Chassis ID : 0015.1791.808c
  909. System name : nas-1
  910. System description : amd64/FreeBSD 7.4-RELEASE
  911. System capabilities supported : Station Only
  912. System capabilities enabled : Station Only
  913.  
  914. Management address subtype : ipv4
  915. Management address : 10.100.110.61
  916. Interface numbering subtype : system port number
  917. Interface number : 16777216
  918. Object identifier :
  919.  
  920.  
  921. Port ID type : Interface name
  922. Port ID : em0
  923. Port description : em0
  924.  
  925. 802.1 organizationally information
  926. Port VLAN ID :
  927. Port and protocol VLAN ID(PPVID) :
  928. PPVID Supported :
  929. PPVID Enabled :
  930. VLAN name :
  931. Protocol Identity :
  932.  
  933.  
  934. 802.3 organizationally information
  935. Auto-negotiation supported :
  936. Auto-negotiation enabled :
  937. PMD auto-negotiation advertised :
  938. Operational MAU type :
  939. PoE support : NO
  940. Link aggregation supported :
  941. Link aggregation enabled :
  942. Aggregation port ID :
  943. Maximum frame Size :
  944. ----------------------------------------------------------------------------
  945. Lldp neighbor-information of port [GigabitEthernet 0/22]
  946. ----------------------------------------------------------------------------
  947. Neighbor index : 1
  948. Device type : LLDP Device
  949. Update time : 2minute 2second
  950.  
  951. Chassis ID type : MAC address
  952. Chassis ID : 0012.cf74.f921
  953. System name : ES4626
  954. System description : ES4626 Device, Compiled Aug 17 18:18:36 2010
  955. SoftWare Version Vco.6.1.83.3
  956. BootRom Version 2.0.14
  957. HardWare Version R02
  958. Device serial number DCKD0747000038
  959. Copyright (C) 2001-2007 by Accton Technology Corp.
  960. All rights reserved
  961.  
  962. System capabilities supported : Bridge, Router
  963. System capabilities enabled : Bridge, Router
  964.  
  965.  
  966. Port ID type : Interface name
  967. Port ID : Ethernet1/24
  968. Port description : Ethernet1/24
  969.  
  970. 802.1 organizationally information
  971. Port VLAN ID :
  972. Port and protocol VLAN ID(PPVID) :
  973. PPVID Supported :
  974. PPVID Enabled :
  975. VLAN name :
  976. Protocol Identity :
  977.  
  978.  
  979. 802.3 organizationally information
  980. Auto-negotiation supported :
  981. Auto-negotiation enabled :
  982. PMD auto-negotiation advertised :
  983. Operational MAU type :
  984. PoE support : NO
  985. Link aggregation supported :
  986. Link aggregation enabled :
  987. Aggregation port ID :
  988. Maximum frame Size :
  989. ----------------------------------------------------------------------------
  990. Lldp neighbor-information of port [GigabitEthernet 0/23]
  991. ----------------------------------------------------------------------------
  992. Neighbor index : 1
  993. Device type : LLDP Device
  994. Update time : 13hour 3minute 21second
  995.  
  996. Chassis ID type : MAC address
  997. Chassis ID : 0015.17b8.fd0c
  998. System name : nas-4
  999. System description : amd64/FreeBSD 8.2-STABLE
  1000. System capabilities supported : Station Only
  1001. System capabilities enabled : Station Only
  1002.  
  1003. Management address subtype : ipv4
  1004. Management address : 10.100.110.64
  1005. Interface numbering subtype : system port number
  1006. Interface number : 16777216
  1007. Object identifier :
  1008.  
  1009.  
  1010. Port ID type : Interface name
  1011. Port ID : em0
  1012. Port description : em0
  1013.  
  1014. 802.1 organizationally information
  1015. Port VLAN ID :
  1016. Port and protocol VLAN ID(PPVID) :
  1017. PPVID Supported :
  1018. PPVID Enabled :
  1019. VLAN name :
  1020. Protocol Identity :
  1021.  
  1022.  
  1023. 802.3 organizationally information
  1024. Auto-negotiation supported :
  1025. Auto-negotiation enabled :
  1026. PMD auto-negotiation advertised :
  1027. Operational MAU type :
  1028. PoE support : NO
  1029. Link aggregation supported :
  1030. Link aggregation enabled :
  1031. Aggregation port ID :
  1032. Maximum frame Size :
  1033. ----------------------------------------------------------------------------
  1034. Lldp neighbor-information of port [TenGigabitEthernet 1/1]
  1035. ----------------------------------------------------------------------------
  1036. Neighbor index : 1
  1037. Device type : LLDP Device
  1038. Update time : 13day 16hour 57minute 54second
  1039.  
  1040. Chassis ID type : MAC address
  1041. Chassis ID : 00e0.b188.7ab8
  1042. System name : Alcatel6850
  1043. System description : Alcatel-Lucent OS6850-U24X 6.4.4.343.R01 GA, June 23, 2011.
  1044. System capabilities supported : Bridge, Router
  1045. System capabilities enabled : Bridge, Router
  1046.  
  1047. Management address subtype : ipv4
  1048. Management address : 10.201.114.1
  1049. Interface numbering subtype : ifIndex
  1050. Interface number : 13600121
  1051. Object identifier :
  1052.  
  1053.  
  1054. Port ID type : Locally assigned
  1055. Port ID : 1025
  1056. Port description : Alcatel-Lucent 1/25
  1057.  
  1058. 802.1 organizationally information
  1059. Port VLAN ID : 1011
  1060. Port and protocol VLAN ID(PPVID) : 0
  1061. PPVID Supported : NO
  1062. PPVID Enabled : NO
  1063. VLAN name of VLAN 1011 : vlan1011
  1064. Protocol Identity (index = 1 ) :
  1065. 0x88 0xcc
  1066.  
  1067.  
  1068. 802.3 organizationally information
  1069. Auto-negotiation supported : NO
  1070. Auto-negotiation enabled : NO
  1071. PMD auto-negotiation advertised :
  1072. Operational MAU type :
  1073. PoE support : NO
  1074. Link aggregation supported :
  1075. Link aggregation enabled :
  1076. Aggregation port ID :
  1077. Maximum frame Size : """,
  1078. 'terminal length 0': 'terminal length 0\n',
  1079. }
  1080. snmp_get = {}
  1081. snmp_getnext = {}
  1082. http_get = {}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement