Community discussions

MikroTik App
 
vish1234
just joined
Topic Author
Posts: 5
Joined: Tue Feb 19, 2019 3:47 pm

power cycle ping ip address

Wed Feb 20, 2019 8:54 am

I have a board on which power cycle ping ip address was set via a script with command /interface ethernet poe set ether5 power-cycle-ping-enabled=yes power-cycle-ping-timeout=15m power-cycle-ping-address=X.X.X.X. Now I have to find X.X.X.X. I cant figure out a command for it. I tried /interface ethernet poe print. but it does not give ip address.

Thanks
 
User avatar
vecernik87
Forum Veteran
Forum Veteran
Posts: 882
Joined: Fri Nov 10, 2017 8:19 am

Re: power cycle ping ip address  [SOLVED]

Wed Feb 20, 2019 11:47 am

"print" is just a list of entries. To get a full config, you need to use an "export" command:
/interface ethernet export
or
/interface ethernet poe export
(I don't have RB with poe available right now so I can't check which one is it)
 
vish1234
just joined
Topic Author
Posts: 5
Joined: Tue Feb 19, 2019 3:47 pm

Re: power cycle ping ip address

Wed Feb 20, 2019 12:39 pm

Thanks for answering. I tried both /interface ethernet export and /interface ethernet poe export. Both print this output

# feb/20/2019 02:35:49 by RouterOS 6.42.5
# software id = EKAF-R2MH
#
# model = RouterBOARD mAP 2nD
# serial number = 71E00617C0C1

Is export supposed to write config to a file? I cant see any file being created? What am I missing?

Thanks
 
vish1234
just joined
Topic Author
Posts: 5
Joined: Tue Feb 19, 2019 3:47 pm

Re: power cycle ping ip address

Wed Feb 20, 2019 1:03 pm

Ok got it. It is /interface ethernet export verbose.

Thanks

Who is online

Users browsing this forum: saied and 28 guests