Ãâó :
http://connect.microsoft.com/WNDP/Downloads/DownloadDetails.aspx?DownloadID=18130
QoS Traffic Generator (Daytona), v. 1.0
Usage:
Sink: qostraffic -sink -tcp/-udp/-tcp_a [-dest destIP,destPort -local localIP,localPort] ...
Source: qostraffic -source -tcp/-udp/-tcp_a -dest destIP,destPort -throttle rate [-local localIP,localPort -duration sec] ...
Sink flags:
-tcp/-udp Listens for TCP/UDP traffic
default: listens on all addresses, port 9999
-tcp_a Connects to source and then begins receiving traffic
Source must also specify -tcp_a flag
Note: start the source first, then the sink
-dest OPTIONAL
Destination address to connect to for -tcp_a
Ignored for -tcp/-udp cases
-local OPTIONAL
Listens on specific local address/port
default port: 9999
Note: Can specify different port to listen on with ,localPort only.
-qwave OPTIONAL
Starts up qWave service.
Used for adaptive flows from the source.
-noconsole OPTIONAL
Suppresses console output
default is not suppressed
Source flags:
-tcp/-udp Listens for TCP/UDP traffic
-tcp_a Accepts connection from sink then sends traffic
Sink must also specify -tcp_a flag
Note: start the source first, then the sink
-dest Send traffic to destination address/port
default port: 9999
Note: ignored for -tcp_a case
-throttle Throttles traffic at specified rate (bits/sec)
-pull OPTIONAL
Operates the source in pull mode.
Note: supported for TCP traffic only.
-local OPTIONAL
Send traffic from specified local address/port
default port: 9999
Note: for -tcp_a case, this is the local address to listen on
-duration OPTIONAL
Send traffic for specified time (sec)
default: infinite
-stats OPTIONAL
Prints out statistics for specified time (msec)
default: 1000 msec
minimum: 200 msec
-qwave OPTIONAL
Uses qWave with the specified options (all optional)
<trafficType>,<adaptive>,<lltd>
trafficType: traffic type defined by QoS subsystem
BE - best effort (default)
BCK - background
EE - excellent effort
AV - audio/video
VO - voice
CTRL - control
adaptive: force use adaptive flow
default is nonadaptive
lltd: force use LLTD packets
default lets system choose LLTD or not
flowfund: prints out QueryFlowFundamentals
prints bandwidth estimations every 25 ms
only supported when using adaptive flows
EXAMPLE: -qwave AV,LLTD
-server Optional, when used with qWave will prevent doing QOSStartTracking/QOSStopTracking
Note: conflicts with -tc flag.
-tc OPTIONAL
Uses TC with the specified options (all optional)
<dscp>,<1p>
dscp: DSCP value ranging from 0 to 63
default lets system choose
1p: 802.1p tag ranging from 0 to 7
default lets system choose
Specifying -1 for either value is equivalent to default.
EXAMPLE: -tc 40,4
Note: conflicts with -qwave flag. Must be run as admin.
-packet OPTIONAL
Performs packet experiments with given options (all required)
<size>,<num>,<interval>
size - size of each packet in bytes
num - number of packets to send
interval - time between each send in ms
EXAMPLE: -packet 59,50,100
This will send a 59 byte packet every 100 ms, 50 times total.
Note: packets can be tagged by using -tc options.
-log OPTIONAL
Logs to the specified file
default filename: is "daytona_<timestamp>.txt"
-noconsole OPTIONAL
Suppresses console output
default is not suppressed
-localstats OPTIONAL
Prints statistics from source
default is sink side stats
Note: conflicts with packet option, results will be undefined
-tolerance OPTIONAL
Specify tolerance
If no tolerance will assume 2%