Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How To Arp Remove All (possible?) #33

Closed
davidcoopermine opened this issue Jul 11, 2018 · 1 comment
Closed

How To Arp Remove All (possible?) #33

davidcoopermine opened this issue Jul 11, 2018 · 1 comment

Comments

@davidcoopermine
Copy link

I am adding in the arp table

Dim cmd As ITikCommand = connection.CreateCommand("/ip/arp/add", connection.CreateParameter("address", ip), ' connection.CreateParameter("interface", "ether1"), connection.CreateParameter("mac-address", mac), ' connection.CreateParameter("comment", nome)) cmd.ExecuteScalar()

How to send command /ip arp remove [find] to delete all the arp table

@danikf
Copy link
Owner

danikf commented Jul 27, 2018

Hi,
use LoadAll<> and than delete items in foreach cycle.
D

@danikf danikf closed this as completed Jul 27, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants