I need to show something like the following, but on a single line
Show arp | include 192.168.120
Show arp | include Incomplete
but I can't find the structure on how to do this in the same command line. I have way too many IP's on this subnet, and too many overall that are incomplete, to do this using either one command.
I found this once, after hours of searching, but I can't seem to figure it out again.
you can do this on one line using the "or" operation.
show arp | inc 192.168.1.120|Incomplete
Right, but I need to do an and, such as all ARP entries that include:
192.168.120 (and) Incomplete
that way I can broadcast ping my subnet, and easily find the IP's that are not responding. it's a 6509 with a ton of other vlans etc on there, so filtering by just 192.168.120 after I ping the whole subnet gives me ~254 entries, which I then have to filter through excel.
show arp | inc 192.168.120\..*Incomplete
The above gets the first three octets. The reason for \. is just for consistency. For example if you don "12" that would match "12" and "120". However 12\. would only match 12 in the third octet. Then the .* is one or more or anything. Then we have "Incomplete". So this will match all incomplete arps on 192.168.120.0/24.