Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
  • P p4-learning
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • p4git
  • p4-learning
  • Wiki
  • Debugging and Troubleshooting

Debugging and Troubleshooting · Changes

Page history
Updated Debugging and Troubleshooting (markdown) authored Jul 26, 2021 by Jurij Nota's avatar Jurij Nota
Hide whitespace changes
Inline Side-by-side
Showing with 3 additions and 6 deletions
+3 -6
  • Debugging-and-Troubleshooting.md Debugging-and-Troubleshooting.md +3 -6
  • No files found.
Debugging-and-Troubleshooting.md
View page @ 4ab62241
......@@ -19,18 +19,15 @@ Pcap logging will create several files using the following naming: `<sw_name>-<i
If you enable pcap in the `p4app.json` configuration file, switches will be started with the `--pcap` option and use as output dir `./pcap`.
### Wireshark/Tshark:
### *Wireshark*/*TShark*:
Another option is to observe the traffic as it flows. For that you can use tools like `tshark` and its GUI version `wireshark`. Wireshark
is already installed in the VM, you can find its executable in the desktop.
To capture traffic with tshark run:
Another option is to observe the traffic as it flows. For that you can use tools like *TShark* and its GUI version *Wireshark*, which are already installed in the VM. To capture traffic with *TShark* run:
```bash
sudo tshark -i <interface_name>
```
### Tcpdump:
### *Tcpdump*:
Similarly, and if you prefer, you can use `tcpdump` (also already installed in the VM).
......
Clone repository

P4-Learning Documentation

  • BMv2 Simple Switch
  • Control Plane
  • Debugging and Troubleshooting

沪ICP备19002739号