---
name: "traffic-exclude"
section: "8"
platform: "linux"
package: "traffic-vis"
version: "0.34-18"
release: "Debian 4.0 (Etch)"
platforms: ["linux"]
url: "https://new.carta.tech/traffic-exclude"
---

# traffic-exclude(8)

Remove specified hosts from traffic summary

## NAME

traffic-exclude - Remove specified hosts from traffic summary

## SYNOPSIS

**traffic-resolve** \[**-Vh**\] \[**-i, --input file**\] \[**-o, --output file**\] \[**-x, --exclude address-spec**\] \[**-c, --include address-spec**\]

## DESCRIPTION

*traffic-exclude* is a filter which accepts a report generated by  *traffic-collect(8)* on standard input and removes specified hosts. It then rewrites the report to standard output. Alternately input and output files may be  specified on the commandline using the '-o' and '-i' switches.

Addresses can be specifed as hostname, host  address (xx.xx.xx.xx) host/netmask (xx.xx.xx.xx/xx.xx.xx.xx) or in CIDR (xx.xx.xx.xx/xx) format.

## OPTIONS

- **-i --input file**

  Read input from **file** instead of standard input.

- **-o --output file**

  Write output to **file** instead of standard output.

- **-x --exclude address-spec**

  Removes the specified hosts from the report.

- **-c --include address-spec**

  Removes all but the the specified hosts from the report.

- **-h --help**

  Prints usage information.

- **-V --version**

  Prints program version.

## SEE ALSO

*traffic-collect(8),* *[traffic-sort(8)](/traffic-sort/8.md),* *[traffic-totext(8)](/traffic-totext/8.md),* *[traffic-tohtml(8)](/traffic-tohtml/8.md),* *[traffic-tops(8)](/traffic-tops/8.md),* *[traffic-togif(8)](/traffic-togif/8.md),*

## AUTHORS

Damien Miller \<dmiller@ilogic.com.au\>

http://www.ilogic.com.au/~dmiller/traffic-vis.html

## BUGS

Hopefully none, probably legion.
