Hello everybody,i am new in Mikrotik devices and i am now learning the CLI configuration.
For example i add a new ip address:ip address add address=10.10.10.1/24 interface=ether5
And if i want to remove this ip address what is the correct command?
ip address remove numbers=what is it mean “numbers”?
I did not found in the Mikrotik wiki how is should use the remove command
Thank you very much for all answers
Hi Trackboy,
do this in a terminal window:
ip address pr
It will show you a list of current ip addresses. Note the numbers on the left of the screen. These are the numbers that are referred to when you use the remove command etc.
Hope this helps, Dave.
skot
January 25, 2013, 10:19pm
3
You can also do this, which is better practice if you’re planning to use it in scripts:
/ip address remove [find address="10.10.10.1/24"]
Thank you very much for your answers,these commands working:)