Size: a a a

2021 August 20

ДК

Дмитрий Кураков... in NOC Project
капсы это что
источник

ДК

Дмитрий Кураков... in NOC Project
вывод того дебаг?
источник

ДК

Дмитрий Кураков... in NOC Project
короче он парсил конфиг
источник

ДК

Дмитрий Кураков... in NOC Project
потом добрался до интерфейсов
источник

ДК

Дмитрий Кураков... in NOC Project
2021-08-20 11:37:25,744 [script] [BDCOM.xPON.get_interfaces|10.2.3.151] [telnet] Setting timeout: 3600s, error=CLIConnectionReset
2021-08-20 11:37:25,744 [script] [BDCOM.xPON.get_interfaces|10.2.3.151] [telnet] Command: b'show interface'
show interface
GigaEthernet0/1 is up, line protocol is up
 protocolstatus upTimes 1, downTimes 0, last transition 2021-8-5 11:51:51
 Ifindex is 9, unique port number is 1
 Description: _DL_Statoter-6_JUN_1/1
 Hardware is Giga-TX, address is 8479.735b.3323 (bia 8479.735b.3323)
 MTU 2025 bytes, BW 1000000 kbit, DLY 10 usec
 Encapsulation ARPA
 Auto-Duplex(Full),  Auto-Speed(1000Mb/s),  Flow-Control Off
 5 minutes input rate 2046043 bits/sec, 410 packets/sec
 5 minutes output rate 11647286 bits/sec, 1106 packets/sec
 Real time input rate 0%, 704604 bits/sec, 339 packets/sec
 Real time output rate 1%, 11689382 bits/sec, 1048 packets/sec
 peak input rate 160864304 bits/sec, Aug  6 21:40:10
 peak input rate 13891 packets/sec, Aug  6 21:40:10
 peak output rate 148701640 bits/sec, Aug  7 15:52:46
 peak output rate 12536 packets/sec, Aug  7 15:52:46
    Received 690274638 packets, 458782632458 bytes
    126853 broadcasts, 396889 multicasts
    3 discard, 0 error, 0 PAUSE
    0 align, 0 FCS, 0 symbol
    0 jabber, 0 oversize, 0 undersize
источник

ДК

Дмитрий Кураков... in NOC Project
типа того
источник

ДК

Дмитрий Кураков... in NOC Project
Transmitted mpcp 0 discovery window
    0 request, 0 ack, 0 report
    2596853 gate, 1769 register
EPON0/1:1 is up, line protocol is up
 protocolstatus upTimes 1, downTimes 0, last transition 1970-1-1 0:6:44
 Ifindex is 33, unique port number is 7
 Hardware is Giga-LLID, address is 8479.735b.3329 (bia 8479.735b.3329)
 MTU 2025 bytes, BW 1000000 kbit, DLY 2000 usec
 Encapsulation ARPA
 Flow-Control Off
 5 minutes input rate 180082 bits/sec, 103 packets/sec
 5 minutes output rate 2561738 bits/sec, 236 packets/sec
    Received 153239598 packets, 45125869259 bytes
    7133 broadcasts, 0 multicasts
    0 discard, 0 error, 0 PAUSE
    0 align, 0 FCS, 0 symbol
    0 carriersense
    Received oam 1298057 infomation, 0 unique, 0 duplicate
    0 request, 0 response, 0 specific, 0 unsupported
    0 lost
    Received mpcp 0 frame, 0 timeout
    0 request, 1 ack, 1323578256 report
    0 gate, 0 register
    Transmitted 427204752 packets, 579016269824 bytes
    0 broadcasts, 0 multicasts
    0 discard, 0 error, 0 PAUSE
    0 sqettest, 0 deferred
    0 single, 0 multiple, 0 excessive, 0 late
    Transmitted oam 1308119 infomation, 0 unique, 0 duplicate
    0 request, 0 response, 486 specific, 0 unsupported
    Transmitted mpcp 0 discovery window
    0 request, 0 ack, 0 report
    1323578259 gate, 0 register
EPON0/1:2 is up, line protocol is up
 protocolstatus upTimes 1, downTimes 0, last transition 1970-1-1 0:6:44
 Ifindex is 34, unique port number is 7
 Hardware is Giga-LLID, address is 8479.735b.3329 (bia 8479.735b.3329)
 MTU 2025 bytes, BW 1000000 kbit, DLY 2000 usec
 Encapsulation ARPA
 Flow-Control Off
 5 minutes input rate 11588 bits/sec, 4 packets/sec
 5 minutes output rate 11434 bits/sec, 4
источник

ДК

Дмитрий Кураков... in NOC Project
типа этого
источник

ДК

Дмитрий Кураков... in NOC Project
и в конце
источник

ДК

Дмитрий Кураков... in NOC Project
2021-08-20 11:37:25,761 [script] [BDCOM.xPON.get_interfaces|10.2.3.151] [telnet] Closing stream
2021-08-20 11:37:25,761 [asyncio] Using selector: EpollSelector
2021-08-20 11:37:25,761 [script] [BDCOM.xPON.get_interfaces|10.2.3.151] [telnet] Send: b'exit'
2021-08-20 11:37:25,762 [script] [BDCOM.xPON.get_interfaces|10.2.3.151] Result: [{'forwarding_instance': 'default', 'type': 'table', 'interfaces': []}]
2021-08-20 11:37:25,763 [script] [BDCOM.xPON.get_interfaces|10.2.3.151] Complete (33479.66ms)
[{'forwarding_instance': 'default', 'type': 'table', 'interfaces': []}]
root@noc-node-01:/opt/noc#
источник

AA

Andrey Aversant in NOC Project
объясни пожалуйста человеку что ты от него хочешь
источник

AA

Andrey Aversant in NOC Project
внятно
источник

ДК

Дмитрий Кураков... in NOC Project
ничего говорит не нашел хозяин
источник

AA

Andrey Aversant in NOC Project
что за капсы
источник

AA

Andrey Aversant in NOC Project
откуда они
источник

E

E_zombie in NOC Project
./noc script --debug get_capabilities <MO>
источник

DL

Dmitry Luhtionov in NOC Project
источник

AA

Andrey Aversant in NOC Project
остановись пожалуйста
источник

AA

Andrey Aversant in NOC Project
./noc script --debug get_capabilities <MONAME>
источник

AA

Andrey Aversant in NOC Project
надо выполнить и посмотреть что покажет
источник