Il n'ya pas de batch dans le domaine.
a moins d' aller chercher du show int en telnet et éplucher les réponses.
genre:
C2924#show int fast 0/1
FastEthernet0/1 is up, line protocol is up
Hardware is Fast Ethernet, address is 0005.32aa.2701 (bia 0005.32aa.2701)
Description: Trunk C1924
MTU 1500 bytes, BW 100000 Kbit, DLY 100 usec,
reliability 255/255, txload 1/255, rxload 1/255
Encapsulation ARPA, loopback not set
Keepalive not set
Half-duplex, 100Mb/s, 100BaseTX/FX
ARP type: ARPA, ARP Timeout 04:00:00
Last input never, output 2w0d, output hang never
Last clearing of "show interface" counters never
Queueing strategy: fifo
Output queue 0/40, 0 drops; input queue 0/75, 0 drops
5 minute input rate 1000 bits/sec, 3 packets/sec
5 minute output rate 3000 bits/sec, 4 packets/sec
7387795 packets input, 753499241 bytes
Received 3073 broadcasts, 0 runts, 0 giants, 0 throttles
0 input errors, 0 CRC, 0 frame, 49 overrun, 49 ignored
0 watchdog, 402 multicast
0 input packets with dribble condition detected
11912020 packets output, 48307080 bytes, 0 underruns
0 output errors, 845674 collisions, 2 interface resets
0 babbles, 0 late collision, 4105 deferred
0 lost carrier, 0 no carrier
0 output buffer failures, 0 output buffers swapped out
C2924#
les CRC sont là:
0 input errors, 0 CRC, 0 frame, 49 overrun, 49 ignored
sinon,
il va falloir te coller au c++
ni moins.
enfin ... bosser quoi.
et ... Voili Voilou Voila !