USG2000系列V100R005C00SPC300及以前版本在Nat環(huán)境下。使用IP-CAR限速無法限制。確定為軟件BUG,如何用其它辦法規(guī)避臨時處理。
使用QOS的辦法處理。
以下以USG2130V100R005C00SPC300為例:
1、定義ACL:
#
acl number 3521
rule 5 permit ip destination 192.168.1.21 0
#
acl number 3522
rule 5 permit ip destination 192.168.1.22 0
#
acl number 3523
rule 5 permit ip destination 192.168.1.23 0
#
acl number 3524
rule 5 permit ip destination 192.168.1.24 0
#
2、定義數(shù)據(jù)流類型:
traffic classifier 3521
if-match acl 3521
traffic classifier 3532
if-match acl 3532
traffic classifier 3523
if-match acl 3523
traffic classifier 3534
if-match acl 3535
3、定義流行為:
traffic behavior ipcar
car cir 2000000 cbs 1000000
4、定義QOS策略:
qos policy ipcar
classifier 3521 behavior ipcar
classifier 3522 behavior ipcar
classifier 3523 behavior ipcar
classifier 3524 behavior ipcar
5、trust接口應用策略
interface Vlanif1
ip address 192.168.1.1 255.255.255.0
qos apply policy ipcar outbound
此方法較為原始。效率較低。但是可以實現(xiàn)需要的效果。新版本已經(jīng)解決IP-CAR的問題。建議升級SPC303及以上版本。