TIPS/awk/設定流し込み

Last-modified: 2006-11-21 (火) 12:50:45

BBEX

stream 2/* を256個+queue 1個

awk 'BEGIN{for (i=1;i<=256;i++){ printf("create stream 2/%d qostype pq with queue 1\n",i)}}'

classify 256

awk 'BEGIN{for (i=1;i<=256;i++){ printf("add act cla %d/0/g nor m * * * * * * * * * %x08/ffff,,, to p 1\n",i,i-1)}}'