1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77
| create host-interface name G0 delete host-interface name G0
set int state G0 up set int state G0 down
set interface mtu 9000 eth1
create sub-interfaces G1 100 delete sub-interfaces G1.100
set int ip address G0 192.168.59.134/24 set int ip address del G0 192.168.59.134/24 set int ip address G0.2 192.168.59.134/24 set int ip address del G0.2 192.168.59.134/24
ip route add 0.0.0.0/0 via 0.0.0.0 ip route del 0.0.0.0/0 via 0.0.0.0
set int mac address G0 00:00:00:00:00:00 set int mac address del G0 00:00:00:00:00:00
pcap trace rx tx drop max 100000 file vpp_any.pcap max-bytes-per-pkt 1000 pcap trace rx tx drop max [number] intfc [eth] file [filename.pcap] max-bytes-per-pkt [number] pcap trace rx tx max [number] pcap trace rx tx status pcap trace off
pcap dispatch trace on max 100000 file vpp-dispatch-trace.pcap pcap dispatch trace off
show int show int addr show hardware-interfaces show ip fib show ip arp show ip neighbor show ip6 neighbor show dpdk buffer show dpdk int show version show plugin show threads show memory
ip table add <table-id> ip table del <table-id>
create bridge-domain 100 delete bridge-domain 100
set int l2 bridge G1.100 100
set int l3 G0 create bridge-domain 100 del
create interface memif id 0 master create interface memif id 0 slave set int state memif0/0 up set int ip address host-vpp 10.0.0.2/24 delete interface memif memif0/0 delete memif socket id 0
|