Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
linux:tipps:flusharp [2024/03/25 12:18] jslinux:tipps:flusharp [2024/03/25 12:18] (current) js
Line 4: Line 4:
 Command: <code bash>for e in $(arp -a | sed -n 's/.*(\([^()]*\)).*/\1/p'); do echo Remove $e; arp -d $e; done</code> Command: <code bash>for e in $(arp -a | sed -n 's/.*(\([^()]*\)).*/\1/p'); do echo Remove $e; arp -d $e; done</code>
  
-Example:<code bash>root@fsisrv 01:13:52 ~ →  for e in $(arp -a | sed -n 's/.*(\([^()]*\)).*/\1/p'); do echo Remove $e; arp -d $e; done+Example:<code bash>root@fsisrvfor e in $(arp -a | sed -n 's/.*(\([^()]*\)).*/\1/p'); do echo Remove $e; arp -d $e; done
 Remove 10.10.10.245 Remove 10.10.10.245
 Remove 10.10.10.8 Remove 10.10.10.8
Line 14: Line 14:
 Command: <code bash>ip -s -s neigh flush all</code> Command: <code bash>ip -s -s neigh flush all</code>
  
-Example: <code bash>root@fsisrv 01:14:00 ~ →  ip -s -s neigh flush all+Example: <code bash>root@fsisrvip -s -s neigh flush all
 10.10.10.245 dev eth0 lladdr 00:08:9b:f5:b4:5f used 36/31/3 probes 1 STALE 10.10.10.245 dev eth0 lladdr 00:08:9b:f5:b4:5f used 36/31/3 probes 1 STALE
 10.10.10.8 dev eth0 lladdr 00:50:56:01:01:01 used 243/243/215 probes 4 STALE 10.10.10.8 dev eth0 lladdr 00:50:56:01:01:01 used 243/243/215 probes 4 STALE