برای مشاهده متوسط پهنای باند مصرفی یک اینترفیس در سیسکو از دستور show interfaces به صورت زیر استفاده میکنیم.
CISCO-RT#show interfaces fastEthernet 0/0/0 FastEthernet0/0/0 is up, line protocol is up Hardware is FastEthernet, address is 6073.5c5a.21a1 (bia 6073.5c5a.21a1) Description: Ostan-RT Internet address is 192.168.128.2/28 MTU 1500 bytes, BW 100000 Kbit/sec, DLY 100 usec, reliability 255/255, txload 6/255, rxload 23/255 Encapsulation ARPA, loopback not set Keepalive set (10 sec) Full-duplex, 100Mb/s, 100BaseTX/FX ARP type: ARPA, ARP Timeout 04:00:00 Last input 00:00:22, output 00:00:00, output hang never Last clearing of "show interface" counters never Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0 Queueing strategy: fifo Output queue: 0/40 (size/max) 5 minute input rate 9363000 bits/sec, 1291 packets/sec 5 minute output rate 2455000 bits/sec, 978 packets/sec 3282793932 packets input, 3130287350 bytes Received 0 broadcasts (0 IP multicasts) 0 runts, 0 giants, 0 throttles 0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored 0 watchdog 0 input packets with dribble condition detected 2561132695 packets output, 2955630510 bytes, 0 underruns 0 output errors, 0 collisions, 1 interface resets 196370 unknown protocol drops 0 babbles, 0 late collision, 0 deferred 0 lost carrier, 0 no carrier 0 output buffer failures, 0 output buffers swapped out CISCO-RT# CISCO-RT#show interfaces fastEthernet 0/0/0 | include rate Queueing strategy: fifo 5 minute input rate 5717000 bits/sec, 957 packets/sec 5 minute output rate 1252000 bits/sec, 682 packets/sec
این دستور متوسط پهنای باند مصرفی ۵ دقیقه گذشته را نشان میدهد.
برای تغییر این زمان به صورت زیر عمل میکنیم. در این مثال این مقدار به ۳۰ ثانیه تغییر پیدا کرده است:
CISCO-RT(config)#int fa 0/0/0 CISCO-RT(config-if)#load-interval ? <30-600> Load interval delay in seconds CISCO-RT(config-if)#load-interval 30 CISCO-RT#show interfaces fastEthernet 0/0/0 | include rate Queueing strategy: fifo 30 second input rate 6948000 bits/sec, 1057 packets/sec 30 second output rate 1389000 bits/sec, 759 packets/sec CISCO-RT#
سیستم عامل مورد استفاده: c2800nm-adventerprisek9-mz.151-3.T3.bin