Vyatta Network OS Documentation

Learn how to install, configure and operate the Vyatta NOS, which helps drive our virtual networking & physical platforms portfolio.

monitor interfaces dataplane <interface-name> traffic

Displays captured traffic on a data plane interface.

monitor interfaces dataplane interface-name traffic [ detail [ filter filter-name | unlimited [ filter filter-name ] ] | filter filter-name | save filename | unlimited [ filter filter-name ] ]

Captured traffic for all ports on the specified interface is shown.

interface-name
The name of a data plane interface. For more information about the supported interface name formats, refer to Data Plane Interface.
detail
Provides detailed information about the monitored data plane traffic.
unlimited
Monitors an unlimited amount of traffic.
save filename
Saves the monitored traffic to the specified file.
filter filter-name
Applies the specific PCAP (packet capture) filter to traffic.

Operational mode

Use this command to display captured traffic on the first 1,000 packets through a data plane interface. Type Ctrl+c to stop the output.

The following example shows how to display captured traffic on the dp0p1p1 interface.

vyatta@vyatta:~$ monitor interfaces dataplane dp0p1p1 traffic
Capturing traffic on dp0p1p1 ...
  0.000000 fe80::ad08:8661:4d:b925 -> ff02::c      SSDP M-SEARCH * HTTP/1.1
  0.000067 fe80::69ca:5c11:bcf6:29da -> ff02::c      SSDP M-SEARCH * HTTP/1.1
  2.608804 fe80::8941:71ef:b55d:e348 -> ff02::1:2    DHCPv6 Solicit
  3.010862 fe80::ad08:8661:4d:b925 -> ff02::c      SSDP M-SEARCH * HTTP/1.1
  3.010901 fe80::69ca:5c11:bcf6:29da -> ff02::c      SSDP M-SEARCH * HTTP/1.1
  4.568357 192.168.1.254 -> 238.255.255.251 SSDP NOTIFY * HTTP/1.1
  4.568372 192.168.1.254 -> 238.255.255.251 SSDP NOTIFY * HTTP/1.1
...