mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-03-28 21:16:20 +01:00
tcpreplay: add page (#15286)
Co-authored-by: Wiktor Perskawiec <git@spageektti.cc>
This commit is contained in:
parent
2a19d8db59
commit
a7852618b7
1 changed files with 28 additions and 0 deletions
28
pages/common/tcpreplay.md
Normal file
28
pages/common/tcpreplay.md
Normal file
|
@ -0,0 +1,28 @@
|
|||
# tcpreplay
|
||||
|
||||
> Replay network traffic stored in a `pcap` file.
|
||||
> More information: <https://tcpreplay.appneta.com/>.
|
||||
|
||||
- List available network interfaces:
|
||||
|
||||
`tcpreplay --listnics`
|
||||
|
||||
- Replay traffic to interface:
|
||||
|
||||
`tcpreplay -i {{eth0}} {{traffic.pcap}}`
|
||||
|
||||
- Replay traffic to interface and `stdout`:
|
||||
|
||||
`tcpreplay -i {{eth0}} --verbose {{traffic.pcap}}`
|
||||
|
||||
- Replay traffic to interface as fast as possible:
|
||||
|
||||
`tcpreplay -i {{eth0}} --topspeed {{traffic.pcap}}`
|
||||
|
||||
- Replay traffic to interface at given Mbps:
|
||||
|
||||
`tcpreplay -i {{eth0}} -M {{10}} {{traffic.pcap}}`
|
||||
|
||||
- Replay traffic to interface several times:
|
||||
|
||||
`tcpreplay -i {{eth0}} --loop={{num_times}} {{traffic.pcap}}`
|
Loading…
Add table
Reference in a new issue