我设置了 Cisco CSR 1000v 路由器。我在 2 个路由器之间建立了 GRE 隧道,其中隧道的源是 GigabitEthernet1 接口。
我的目标是测量该 GRE 隧道上的负载。负载值可以计算如下:
Load (%) = Traffic (bps) / bandwidth or capacity (bps)
哪里Traffic(bps)是发送的流量量,bandwidth or capacity (bps)是隧道的容量。
从字面上看,该信息可以从路由器获得,但我很困惑在这种计算中必须使用哪一个。
在GRE tunnel得到了下面的配置,我知道我要送这是交通量100Mbps:
interface Tunnel0
bandwidth 256
ip address 10.10.1.1 255.255.255.252
load-interval 30
....
....
!
如上所示计算负载是否正确?
我还从 CLI 找到了有关界面的以下信息csr1000v#sh interfaces gigabitEthernet1:
csr1000v#show interfaces gigabitEthernet 1
GigabitEthernet1 is up, line protocol is up
...
reliability 255/255, txload 3/255, rxload 1/255
Encapsulation ARPA, loopback not set
Keepalive set (10 sec)
Full Duplex, 1000Mbps, link type is auto, media type is Virtual
output flow-control is unsupported, input flow-control is unsupported
...
Queueing strategy: fifo
Output queue: 0/40 (size/max)
30 second input rate 1000 bits/sec, 3 packets/sec
30 second output rate 4000 bits/sec, 1 packets/sec
1003836 packets input, 174201781 bytes, 0 no buffer
Received 0 broadcasts (0 IP multicasts)
...
169446 packets output, 80281698 bytes, 0 underruns
....
有这个txload和rxload值,会以某种方式用于测量负载吗?