How to know explicit info/error about anything (CLI) ?

Hi there,

I’ve recently installed, for testing purpose, 4/5 RB951G-2HnD and i’m playing with those :slight_smile:

I’ve noticed that i can activate & get some log with /system logging but i want explicit information about error : typicaly when i see “I” (invalid) in whatever conf, for example while i’m doing /ip dhcp-server p (which is invalid on 2 boxs and valid on 2 others boxs :smiley:)

Thanks,

XaT

Well i’ve done that for loggin (all to echo) for testing

[admin@MikroTik] > system logging p             
Flags: X - disabled, I - invalid, * - default 
 #    TOPICS                                                        ACTION                                                       PREFIX    
 0  * info                                                          echo                                                                   
 1  * error                                                         echo                                                                   
 2  * warning                                                       echo                                                                   
 3  * critical                                                      echo                                                                   
 4    debug                                                         echo                                                                   
 5    system                                                        echo                                                                   
 6    dhcp                                                          echo

While i’m disable/re-enable my 2nd dhcp-server (which is invalid), i don’t get error or any information about the invalid dhcp-server

@edit: just added wireless & interface to echo log

XaT

Normally the dhcp server shows invalid if the interface is disabled or no longer exists.

Nop, in that case my wlan is running, accepting connection and well connected to -at least- one device.

This is a VirtualAP connected to wlan1 with specific security policy

XaT

Post “/interface wireless”. I use VAPs also. It only shows invalid if I disable the VAP interface.

If I do this…

[admin@test] /interface wireless> pri
Flags: X - disabled, R - running
 0    name="wlan1" mtu=1500 mac-address=00:0C:42:2B:B8:B4 arp=enabled
      interface-type=Atheros AR5413 mode=ap-bridge ssid="OhSh" frequency=2412
      band=2ghz-b channel-width=20mhz scan-list=default
      wireless-protocol=unspecified antenna-mode=ant-a wds-mode=dynamic
      wds-default-bridge=none wds-ignore-ssid=no bridge-mode=enabled
      default-authentication=yes default-forwarding=yes default-ap-tx-limit=0
      default-client-tx-limit=0 hide-ssid=no security-profile=wpa
      compression=no

 1 X  name="wlan2" mtu=1500 mac-address=00:01:02:03:04:05 arp=enabled
      interface-type=virtual-AP master-interface=wlan1 ssid="newap"
      wds-mode=disabled wds-default-bridge=none wds-ignore-ssid=no
      bridge-mode=enabled default-authentication=yes default-forwarding=yes
      default-ap-tx-limit=0 default-client-tx-limit=0 hide-ssid=no
      security-profile=wpa

…it shows this:

[admin@test] /ip dhcp-server> pri
Flags: X - disabled, I - invalid
 #   NAME     INTERFACE     RELAY           ADDRESS-POOL     LEASE-TIME ADD-ARP
 0   dhcp2    ether2                        dhcp_pool2       1h
 1   dhcp3    ether3                        dhcp_pool3       10m
 2 I dhcp4    wlan2                         dhcp_pool4       2d
 3   dhcp1    wlan1                         dhcp_pool6       1d
echo: wireless,debug wlan2: A0:0B:BA:B5:B7:96 not in local ACL, by default accept
echo: wireless,info A0:0B:BA:B5:B7:96@wlan2: connected
echo: route,debug,event Interface change
echo: route,debug,event     interface=wlan2
echo: route,debug,event     status=UP,RUNNING
echo: route,debug,event     mtu=1500
echo: route,debug,calc Begin calculation
echo: route,debug,event Link up
echo: route,debug,event     interface=wlan2
echo: route,debug,event Update
echo: route,debug,event     interface=wlan2
echo: route,debug,calc End calculation
[admin@MikroTik] > in w p
Flags: X - disabled, R - running 
 0 X  name="AP" mtu=1500 mac-address=D6:CA:6D:CC:50:85 arp=enabled interface-type=virtual-AP master-interface=wlan1 ssid="AP" 
      wds-mode=disabled wds-default-bridge=none wds-ignore-ssid=no bridge-mode=enabled default-authentication=yes default-forwarding=yes 
      default-ap-tx-limit=0 default-client-tx-limit=0 hide-ssid=no security-profile=clariap 

 1    name="wlan1" mtu=1500 mac-address=D4:CA:6D:CC:50:85 arp=enabled interface-type=Atheros AR9300 mode=ap-bridge ssid="ClariSpot" 
      frequency=2412 band=2ghz-b/g/n channel-width=20/40mhz-ht-above scan-list=default wireless-protocol=802.11 wds-mode=disabled 
      wds-default-bridge=none wds-ignore-ssid=no bridge-mode=enabled default-authentication=yes default-forwarding=yes 
      default-ap-tx-limit=0 default-client-tx-limit=0 hide-ssid=no security-profile=default compression=no 

 2  R name="wlan2" mtu=1500 mac-address=D6:CA:6D:CC:50:86 arp=enabled interface-type=virtual-AP master-interface=wlan1 ssid="AP1" 
      wds-mode=disabled wds-default-bridge=none wds-ignore-ssid=no bridge-mode=enabled default-authentication=yes default-forwarding=yes 
      default-ap-tx-limit=0 default-client-tx-limit=0 hide-ssid=no security-profile=test



[admin@MikroTik] > ip dhcp-server p           
Flags: X - disabled, I - invalid 
 #   NAME                         INTERFACE                         RELAY           ADDRESS-POOL                         LEASE-TIME ADD-ARP
 0   default                      bridge-local                                      dhcp                                 10m       
 1   dhcp1                        wlan1                                             hs-pool-6                            10m       
 2 I dhcp2                        wlan2                                             test                                 3d

I know it’s related with my virtualap “wlan2” but i don’t want to find the solution (i find the solution by logic, no adress was set on Vap) : i just want explicit error :smiley:

XaT