扫一扫
关注微信公众号

路由器设置可选择性数据包丢弃(2)
2007-08-30   中国IT实验室 

=== aggressive mode ===

* 如果spd工作在aggressive mode,所有的畸形包会被丢弃,例如invalid checksum、incorrect version、incorrect header length、incorrect packet length等。

* 通过命令ip spd mode aggressive开启aggressive mode

* 12000系列路由器不支持aggressive mode,因为畸形包在会被每个linecard丢弃,而不需要由GRP(gigabit route processor)处理

==== Input Queue Check ====

=== input queue ===

SPD state check是基于RP的,而Input Queue Check是基于interface的。如果不开启spd的话,默认情况下每个interface的queue是75,当queue中的数据大于75时,大于75的部分会被丢弃。这个queue可以通过show interface看到。

GigabitEthernet1/2 is up, line protocol is up 

Hardware is GigMac 3 Port GigabitEthernet, address is 0005.5ffd.4082

(bia 0005.5ffd.4082)

Description: sample

Internet address is x.x.x.x/30

MTU 1500 bytes, BW 1000000 Kbit, DLY 10 usec, rely 255/255, load 131/255

Encapsulation ARPA, loopback not set

Keepalive set (10 sec)

Full Duplex, 1000Mbps, link type is force-up, media type is LX

output flow-control is unsupported, input flow-control is unsupported

ARP type: ARPA, ARP Timeout 04:00:00

Last input 00:00:00, output 00:00:03, output hang never

Last clearing of "show interface" counters never

Queueing strategy: fifo

Output queue 0/40, 0 drops; input queue 0/75, 25 drops //[就在这里]

30 second input rate 613917000 bits/sec, 122041 packets/sec

30 second output rate 517166000 bits/sec, 123695 packets/sec

77400124545 packets input, 44369025705444 bytes, 0 no buffer

Received 5898 broadcasts, 0 runts, 0 giants, 0 throttles

647964 input errors, 0 CRC, 0 frame, 485923 overrun, 162041 ignored

0 watchdog, 0 multicast, 0 pause input

69912443364 packets output, 41951561990047 bytes, 0 underruns

Transmitted 1 broadcasts

0 output errors, 0 collisions, 0 interface resets

0 babbles, 0 late collision, 0 deferred

0 lost carrier, 0 no carrier, 0 pause output

0 output buffer failures, 0 output buffers swapped out

热词搜索:

上一篇:路由器设置可选择性数据包丢弃(1)
下一篇:路由器设置可选择性数据包丢弃(3)

分享到: 收藏