Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- System LLDP: enable
- LLDP hello-time: 30(s) LLDP hold-time: 4 LLDP TTL: 120(s)
- Interface Ethernet 0/0/1
- Port LLDP: rxtx Pkt Tx: 0 Pkt Rx: 0
- Total neighbor count: 0
- Interface Ethernet 0/0/2
- Port LLDP: rxtx Pkt Tx: 57329 Pkt Rx: 0
- Total neighbor count: 0
- Interface Ethernet 0/0/3
- Port LLDP: rxtx Pkt Tx: 57258 Pkt Rx: 56341
- Total neighbor count: 1
- Neighbor (1):
- TTL: 118(s)
- Chassis ID: 00:1f:ce:72:a6:ed
- Port ID: 28
- System Name: KRD-SCH-GAGR25P3-SW41
- System Description: QSW-2800-28T-AC Device, Compiled Apr 07 10:40:02 2013
- SoftWare Version 6.3.100.38
- BootRom Version 5.1.2
- HardWare Version 1.0.2
- Device serial number A20008TK36
- Copyright (C) 2013 by QTECH LLC
- All rights reserved
- Port Description: UPLINK
- Port Link Aggregation: NULL
- Interface Ethernet 0/0/4
- Port LLDP: disabled
- Interface Ethernet 0/0/5
- Port LLDP: rxtx Pkt Tx: 0 Pkt Rx: 0
- Total neighbor count: 0
- Interface Ethernet 0/0/6
- Port LLDP: rxtx Pkt Tx: 57329 Pkt Rx: 55558
- Total neighbor count: 1
- Neighbor (1):
- TTL: 106(s)
- Chassis ID: 00:1f:ce:5e:5d:c1
- Port ID: 28
- System Name: KRD-SCH-KRSNRM24-SW37
- System Description: QSW-2800-28T-AC Device, Compiled Apr 07 10:40:02 2013
- SoftWare Version 6.3.100.38
- BootRom Version 5.1.2
- HardWare Version 1.0.2
- Device serial number 1208008381
- Copyright (C) 2013 by QTECH LLC
- All rights reserved
- Port Description: UPLINK
- Port Link Aggregation: NULL
- Interface Ethernet 0/0/7
- Port LLDP: rxtx Pkt Tx: 57329 Pkt Rx: 56607
- Total neighbor count: 1
- Neighbor (1):
- TTL: 97(s)
- Chassis ID: 00:1f:ce:10:8e:74
- Port ID: port e1/1
- System Name: KRD-SCH-GGRN49A-SW64
- System Description: QTECH Switch
- Port Description: NULL
- Management Address: 10.20.24.164
- Port Vlan ID: 1
- Port SetSpeed: not auto
- Port ActualSpeed: FULL-1000
- Port Link Aggregation: support ,not in aggregation
- Interface Ethernet 0/0/8
- Port LLDP: rxtx Pkt Tx: 57329 Pkt Rx: 55553
- Total neighbor count: 1
- Neighbor (1):
- TTL: 98(s)
- Chassis ID: 00:1f:ce:5e:d0:19
- Port ID: 28
- System Name: KRD-SCH-RBCH37P2-SW63
- System Description: QSW-2800-28T-AC Device, Compiled Apr 07 10:40:02 2013
- SoftWare Version 6.3.100.38
- BootRom Version 5.1.2
- HardWare Version 1.0.2
- Device serial number A200074D9S
- Copyright (C) 2013 by QTECH LLC
- All rights reserved
- Port Description: UPLINK
- Port Link Aggregation: NULL
- Interface Ethernet 0/0/9
- Port LLDP: rxtx Pkt Tx: 57329 Pkt Rx: 56868
- Total neighbor count: 1
- Neighbor (1):
- TTL: 116(s)
- Chassis ID: 00:1f:ce:10:8f:10
- Port ID: port e1/1
- System Name: KRD-SCH-RBCH39-SW58
- System Description: QTECH Switch
- Port Description: NULL
- Management Address: 10.20.24.158
- Port Vlan ID: 1
- Port SetSpeed: not auto
- Port ActualSpeed: FULL-1000
- Port Link Aggregation: support ,not in aggregation
- Interface Ethernet 0/0/10
- Port LLDP: rxtx Pkt Tx: 57329 Pkt Rx: 55813
- Total neighbor count: 1
- Neighbor (1):
- TTL: 107(s)
- Chassis ID: 00:1f:ce:56:5c:58
- Port ID: 28
- System Name: KRD-SCH-CHAIKV2B-SW62
- System Description: QSW-2800-28T-AC Device, Compiled Apr 07 10:40:02 2013
- SoftWare Version 6.3.100.38
- BootRom Version 5.1.2
- HardWare Version 1.0.1
- Device serial number 1203004788
- Copyright (C) 2013 by QTECH LLC
- All rights reserved
- Port Description: UPLINK
- Port Link Aggregation: NULL
- Interface Ethernet 0/0/11
- Port LLDP: rxtx Pkt Tx: 57329 Pkt Rx: 56627
- Total neighbor count: 1
- Neighbor (1):
- TTL: 105(s)
- Chassis ID: 00:1f:ce:59:ae:a0
- Port ID: 28
- System Name: KRD-SCH-CHKVS6-SW17
- System Description: QSW-2800-28T-AC Device, Compiled Apr 07 10:40:02 2013
- SoftWare Version 6.3.100.38
- BootRom Version 5.1.2
- HardWare Version 1.0.1
- Device serial number 1205005460
- Copyright (C) 2013 by QTECH LLC
- All rights reserved
- Port Description: UPLINK
- Port Link Aggregation: NULL
- Interface Ethernet 0/0/12
- Port LLDP: rxtx Pkt Tx: 57329 Pkt Rx: 56639
- Total neighbor count: 1
- Neighbor (1):
- TTL: 111(s)
- Chassis ID: 00:1f:ce:4b:d1:6e
- Port ID: 28
- System Name: KRD-SCH-CHKVS6-SW19
- System Description: QSW-2800-28T-AC Device, Compiled Apr 07 10:40:02 2013
- SoftWare Version 6.3.100.38
- BootRom Version 5.1.2
- HardWare Version 1.0.1
- Device serial number 1205004329
- Copyright (C) 2013 by QTECH LLC
- All rights reserved
- Port Description: UPLINK
- Port Link Aggregation: NULL
- Interface Ethernet 0/0/13
- Port LLDP: rxtx Pkt Tx: 57329 Pkt Rx: 56066
- Total neighbor count: 1
- Neighbor (1):
- TTL: 120(s)
- Chassis ID: 00:1f:ce:4b:d1:90
- Port ID: 28
- System Name: KRD-SCH-CHKVS8-SW21
- System Description: QSW-2800-28T-AC Device, Compiled Apr 07 10:40:02 2013
- SoftWare Version 6.3.100.38
- BootRom Version 5.1.2
- HardWare Version 1.0.1
- Device serial number 1205004346
- Copyright (C) 2013 by QTECH LLC
- All rights reserved
- Port Description: UPLINK
- Port Link Aggregation: NULL
- Interface Ethernet 0/0/14
- Port LLDP: rxtx Pkt Tx: 57156 Pkt Rx: 56268
- Total neighbor count: 1
- Neighbor (1):
- TTL: 113(s)
- Chassis ID: 00:1f:ce:4b:d1:96
- Port ID: 28
- System Name: KRD-SCH-CHKVS8-SW23
- System Description: QSW-2800-28T-AC Device, Compiled Apr 07 10:40:02 2013
- SoftWare Version 6.3.100.38
- BootRom Version 5.1.2
- HardWare Version 1.0.1
- Device serial number 1205004349
- Copyright (C) 2013 by QTECH LLC
- All rights reserved
- Port Description: UPLINK
- Port Link Aggregation: NULL
- Interface Ethernet 0/0/15
- Port LLDP: rxtx Pkt Tx: 57328 Pkt Rx: 55717
- Total neighbor count: 1
- Neighbor (1):
- TTL: 93(s)
- Chassis ID: 00:1f:ce:59:ae:0c
- Port ID: 28
- System Name: KRD-SCH-RBCH33A-SW38
- System Description: QSW-2800-28T-AC Device, Compiled Apr 07 10:40:02 2013
- SoftWare Version 6.3.100.38
- BootRom Version 5.1.2
- HardWare Version 1.0.1
- Device serial number 1205005386
- Copyright (C) 2013 by QTECH LLC
- All rights reserved
- Port Description: UPLINK
- Port Link Aggregation: NULL
- Interface Ethernet 0/0/16
- Port LLDP: rxtx Pkt Tx: 57328 Pkt Rx: 56571
- Total neighbor count: 1
- Neighbor (1):
- TTL: 101(s)
- Chassis ID: 00:1f:ce:4b:d2:2c
- Port ID: 28
- System Name: KRD-SCH-GGRN59-SW88
- System Description: QSW-2800-28T-AC Device, Compiled Apr 07 10:40:02 2013
- SoftWare Version 6.3.100.38
- BootRom Version 5.1.2
- HardWare Version 1.0.1
- Device serial number 1205004424
- Copyright (C) 2013 by QTECH LLC
- All rights reserved
- Port Description: UPLINK
- Port Link Aggregation: NULL
- Interface Ethernet 0/0/17
- Port LLDP: rxtx Pkt Tx: 57328 Pkt Rx: 56302
- Total neighbor count: 1
- Neighbor (1):
- TTL: 99(s)
- Chassis ID: 00:1f:ce:5e:6a:b3
- Port ID: 28
- System Name: KRD-SCH-CHK23D1P1-SW32
- System Description: QSW-2800-28T-AC Device, Compiled Apr 07 10:40:02 2013
- SoftWare Version 6.3.100.38
- BootRom Version 5.1.2
- HardWare Version 1.0.2
- Device serial number 1211001951
- Copyright (C) 2013 by QTECH LLC
- All rights reserved
- Port Description: UPLINK
- Port Link Aggregation: NULL
- Interface Ethernet 0/0/18
- Port LLDP: rxtx Pkt Tx: 57328 Pkt Rx: 56643
- Total neighbor count: 1
- Neighbor (1):
- TTL: 108(s)
- Chassis ID: 00:1f:ce:5e:3f:41
- Port ID: 28
- System Name: KRD-SCH-CHK23D1P2-SW33
- System Description: QSW-2800-28T-AC Device, Compiled Apr 07 10:40:02 2013
- SoftWare Version 6.3.100.38
- BootRom Version 5.1.2
- HardWare Version 1.0.1
- Device serial number 1208004477
- Copyright (C) 2013 by QTECH LLC
- All rights reserved
- Port Description: UPLINK
- Port Link Aggregation: NULL
- Interface Ethernet 0/0/19
- Port LLDP: disabled
- Interface Ethernet 0/0/20
- Port LLDP: disabled
- Interface Ethernet 0/0/21
- Port LLDP: rxtx Pkt Tx: 57328 Pkt Rx: 56296
- Total neighbor count: 1
- Neighbor (1):
- TTL: 99(s)
- Chassis ID: 00:1f:ce:5e:d0:09
- Port ID: 28
- System Name: KRD-SCH-ZVZDNYI-SW15
- System Description: QSW-2800-28T-AC Device, Compiled Apr 07 10:40:02 2013
- SoftWare Version 6.3.100.38
- BootRom Version 5.1.2
- HardWare Version 1.0.2
- Device serial number A200074DFF
- Copyright (C) 2013 by QTECH LLC
- All rights reserved
- Port Description: UPLINK
- Port Link Aggregation: NULL
- Interface Ethernet 0/0/22
- Port LLDP: rxtx Pkt Tx: 57328 Pkt Rx: 56650
- Total neighbor count: 1
- Neighbor (1):
- TTL: 116(s)
- Chassis ID: 00:1f:ce:5e:d0:05
- Port ID: 28
- System Name: KRD-SCH-GAGR3RSN-SW97
- System Description: QSW-2800-28T-AC Device, Compiled Apr 07 10:40:02 2013
- SoftWare Version 6.3.100.38
- BootRom Version 5.1.2
- HardWare Version 1.0.2
- Device serial number A200074DV2
- Copyright (C) 2013 by QTECH LLC
- All rights reserved
- Port Description: UPLINK
- Port Link Aggregation: NULL
- Interface Ethernet 0/0/23
- Port LLDP: rxtx Pkt Tx: 57328 Pkt Rx: 56451
- Total neighbor count: 1
- Neighbor (1):
- TTL: 104(s)
- Chassis ID: 00:1f:ce:5e:e7:6b
- Port ID: 10
- System Name: KRD-SCH-RBCH37-SW01
- System Description: QSW-2800-10T-AC Device, Compiled Apr 07 10:40:02 2013
- SoftWare Version 6.3.100.38
- BootRom Version 5.1.2
- HardWare Version 1.0.1
- Device serial number A20007E0G7
- Copyright (C) 2013 by QTECH LLC
- All rights reserved
- Port Description: UPLINK
- Port Link Aggregation: NULL
- Interface Ethernet 0/0/24
- Port LLDP: rxtx Pkt Tx: 57328 Pkt Rx: 56204
- Total neighbor count: 1
- Neighbor (1):
- TTL: 107(s)
- Chassis ID: 00:1f:ce:72:a6:b1
- Port ID: 28
- System Name: KRD-SCH-GAGR23P3-SW39
- System Description: QSW-2800-28T-AC Device, Compiled Apr 07 10:40:02 2013
- SoftWare Version 6.3.100.38
- BootRom Version 5.1.2
- HardWare Version 1.0.2
- Device serial number A20008TK10
- Copyright (C) 2013 by QTECH LLC
- All rights reserved
- Port Description: UPLINK
- Port Link Aggregation: NULL
- Interface Ethernet 0/1/1
- Port LLDP: rxtx Pkt Tx: 57327 Pkt Rx: 0
- Total neighbor count: 0
- Interface Ethernet 0/1/2
- Port LLDP: rxtx Pkt Tx: 0 Pkt Rx: 0
- Total neighbor count: 0
- ====get_lldp_neighbors.py====
- rx_int = re.compile(r"Interface Ethernet (?P<interface>\S+)\n"
- r"Port.+\n"
- r"Total.+count:\s(?P<count>\d)\n\n"
- r"Neighbor.+\nTTL.+\n"
- r"Chassis ID:\s(?P<chassis_id>.+)\n"
- r"Port ID:\s(?P<port_id>.+)\n"
- r"System Name:\s(?P<remote_system>\S+)\n")
- ========
- ===lldp_discovery.log====
- 12 11:03:52.347724 Running job
- 2016-01-12 11:03:52.348717 Running script get_lldp_neighbors
- 2016-01-12 11:03:55.479360 Running job handler
- 2016-01-12 11:03:55.479654 Entering transaction management
- 2016-01-12 11:03:55.599668 get_neighbor(00:1F:CE:72:A6:ED, 4) -> KRD-SCH-GAGR25P3-SW41
- 2016-01-12 11:03:55.599964 Remote port name: 28
- 2016-01-12 11:03:55.603211 get_neighbor(00:1F:CE:5E:5D:C1, 4) -> KRD-SCH-KRSNRM24-SW37
- 2016-01-12 11:03:55.603404 Remote port name: 28
- 2016-01-12 11:03:55.606492 get_neighbor(00:1F:CE:10:8E:74, 4) -> KRD-SCH-GGRN49A-SW64
- 2016-01-12 11:03:55.606688 Remote port name: port e1/1
- 2016-01-12 11:03:55.609885 get_neighbor(00:1F:CE:10:8F:10, 4) -> KRD-SCH-RBCH39-SW58
- 2016-01-12 11:03:55.610068 Remote port name: port e1/1
- 2016-01-12 11:03:55.613387 get_neighbor(00:1F:CE:56:5C:58, 4) -> KRD-SCH-CHAIKV2B-SW62
- 2016-01-12 11:03:55.613568 Remote port name: 28
- 2016-01-12 11:03:55.616652 get_neighbor(00:1F:CE:4B:D1:6E, 4) -> KRD-SCH-CHKVS6-SW19
- 2016-01-12 11:03:55.616833 Remote port name: 28
- 2016-01-12 11:03:55.620081 get_neighbor(00:1F:CE:4B:D1:96, 4) -> KRD-SCH-CHKVS8-SW23
- 2016-01-12 11:03:55.620254 Remote port name: 28
- 2016-01-12 11:03:55.623307 get_neighbor(00:1F:CE:59:AE:0C, 4) -> KRD-SCH-RBCH33A-SW38
- 2016-01-12 11:03:55.623478 Remote port name: 28
- 2016-01-12 11:03:55.626464 get_neighbor(00:1F:CE:5E:6A:B3, 4) -> KRD-SCH-CHK23D1P1-SW32
- 2016-01-12 11:03:55.626632 Remote port name: 28
- 2016-01-12 11:03:55.629792 get_neighbor(00:1F:CE:5E:D0:05, 4) -> KRD-SCH-GAGR3RSN-SW97
- 2016-01-12 11:03:55.629967 Remote port name: 28
- 2016-01-12 11:03:55.633019 get_neighbor(00:1F:CE:72:A6:B1, 4) -> KRD-SCH-GAGR23P3-SW39
- 2016-01-12 11:03:55.633188 Remote port name: 28
- 2016-01-12 11:03:55.634593 Commiting transaction
- 2016-01-12 11:03:55.634856 Leaving transaction management
- 2016-01-12 11:03:55.634992 Job completed successfully (155.63ms)
- =======
Advertisement
Add Comment
Please, Sign In to add comment