hi every one…
suppose you have a proplem with some settings of mikrotik system.like dhcp server ,pppoe server,ip addresses ,wireless settings…etc.
so.the question is ( what do you have write in your new terminal window ,so your mikrotik system will show you your settings as a codes.later you can put these codes in mikrotik forum to analyse them.instead of taking a printscreen images of your proplems.
lets be more spesifice ..what is the order i have to print in the newterminal .so the mikrotik will show me my settings codes
The easiest way is to go to the section you want, and use the “export” command. This will output all commands needed to recreate the setup.
If the problem is with some stats (e.g. from queues or interfaces), you can use “print stats” on that menu to get all current stats data into the terminal window.
thank you very much for your replay .i typed the command order ( export ) in my terminal window .the result is this

now .if i have a proplem with dhcp server settings .is that mean i must type ( dhcp server export ) ??
another question how can i put these codes in mikrotik forum
Yes. And you can also place the output of export into a file, so that you can more easily copy&paste the contents, like:
/ip dhcp-server export file="DHCP.rsc"
(where you can open DHCP.rsc with any text editor)
You can also copy the terminal window’s contents by selecting the content with the mouse, and then doing a right click and “copy”.
i typed the command order /ip dhcp-server export file=“DHCP.rsc”
some file is added to my mikrotik files…

actually i could not open this file with any text editor
You need to copy it to your computer first, using the copy button at this window.
i did what do you say .but still i could not opened that file

What happens when you try? You should be seeing a dialog with two options, the second one of which should be something like “Choose a program on my computer”. Select that, click OK, and find Notepad or whatever other text editor you want.
your are right…sorry ..thank you very very much

another question .please
lets still in dhcp server subject.
i wuold like to change the rang of ip addresse from 192.168.1.1/24 to 192.168.2.1/24
is it simple to do that with command codes ?
Yes.
/ip pool set dhcp_pool1 ranges=192.168.2.2-192.168.2.254
/ip dhcp-server network set 0 address=192.168.2.0/24 gateway=192.168.2.1
The first command makes your DHCP server give out IPs from 192.168.2.2 to 192.168.2.254, while the second one ensures that IPs from that range will receive 192.168.2.1 as their gateway.
You’ll also have to adjust your router’s IP of course, which should be something like
/ip address set 0 address=192.168.2.1/24 network=192.168.2.0
but with “0” replaced with the number of the entry that currently has the address 192.168.1.1/24.
thank you .but do you see that using this method of setting up something is more difficult than using web managment method or entering winbox and reset up that configuration
I use Winbox myself when performing settings “manually”, and I do think that it is an easier way than typing commands.
However, commands are automatable. If you have to type multiple commands to achieve an effect, you can instead type the commands once in a file, and then just run that file when you need the effect. Certain parts of RouterOS, like the scheduler and netwatch can take scripts (as in “list of commands”) to be executed on certain events. With other means, like the API, you can go a step further, and execute one or more commands remotely, allowing you to achieve an effect from your own specialized web or desktop interface.
Also, commands are the only thing you can do if you’re at the router (rather than accessing it from a remote Windows machine) so basic knowledge of the command line syntax is never useless.
Scripting/API is about flexibility and automation. Winbox is about ease.