X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=build-root%2Fdeb%2Fdebian%2Fvpp-bin.README.Debian;fp=build-root%2Fdeb%2Fdebian%2Fvpp-bin.README.Debian;h=0000000000000000000000000000000000000000;hb=4d2f86a1ebcfc952080386603354c4767d2c8825;hp=192289696efb5229ef6a022b78787d2a99e113ab;hpb=e67c1d8242fec255e7449fedcbdec5c66bb3f7b2;p=vpp.git diff --git a/build-root/deb/debian/vpp-bin.README.Debian b/build-root/deb/debian/vpp-bin.README.Debian deleted file mode 100644 index 192289696ef..00000000000 --- a/build-root/deb/debian/vpp-bin.README.Debian +++ /dev/null @@ -1,53 +0,0 @@ -To run vpp with the debug shell: - -sudo vpp unix interactive - -which will result in a prompt that looks like: - -DBGvpd# - -To give it a spin, we can create a tap interface and try a simple ping -(with trace). - -To create the tap: - -DBGvpd# tap connect foobar -Created tap-0 for Linux tap 'foobar' -DBGvpd# show int - -To assign it an ip address (and 'up' the interface): - -DBGvpd# set int ip address tap-0 192.168.1.1/24 -DBGvpd# set int state tap-0 up - -To turn on packet tracing for the tap interface: -DBGvpd# trace add tapcli-rx 10 - -Now, to set up and try the other end from the unix prompt: -vagrant@vagrant-ubuntu-trusty-64:~$ sudo ip addr add 192.168.1.2/24 dev foobar -vagrant@vagrant-ubuntu-trusty-64:~$ ping -c 3 192.168.1.1 - -To look at the trace, back in the vpp CLI: -DBGvpd# show trace - -And to stop tracing: - -DBGvpd# clear trace - -Other fun things to look at: - -The vlib packet processing graph: -DBGvpd# show vlib graph - -which will produce output like: - - Name Next Previous -ip4-icmp-input error-punt [0] ip4-local - ip4-icmp-echo-request [1] - vpe-icmp4-oam [2] - -To read this, the first column (Name) is the name of the node. -The second column (Next) is the name of the children of that node. -The third column (Previous) is the name of the parents of this node. - -END