Community discussions

MikroTik App
 
voerboer
just joined
Topic Author
Posts: 11
Joined: Wed Aug 01, 2007 3:20 pm

Command line problem (using Winbox)

Wed Aug 22, 2007 11:25 pm

Hi,

I have open an SSH session with winbox and am trying to get a list of hotspot users:
[admin@Robert HS] > /ip hotspot user print
Flags: X - disabled, D - dynamic 
 #   SERVER      NAME                                                     ADDRESS         PROFILE      UPTIME      
 0               guest                                                                    HotSpot 832  37m48s      
 1 X             00:02:6F:20:90:0B                                                        HotSpot 2048 2h45m53s    
 2               robert                                                                   HotSpot 2048 0s          
 3               igord                                                                    default      0s          
 4               user1                                                                    default      0s  
I now want to print a specific item with name=guest
[admin@Robert HS] > /ip hotspot user print name=guest
no such argument (name)
I now want to print a specific item with profile="HotSpot 832"
[admin@Robert HS] > /ip hotspot user print profile="HotSpot 832"
Flags: X - disabled, D - dynamic 
 #   SERVER      NAME                                                     ADDRESS         PROFILE      UPTIME      
 0               guest                                                                    HotSpot 832  37m48s      
Could someone help me with this? I need to list specific users by their names and do not know how to do this. My version RouterOS is:
RouterOS 2.9.39
Thanks!

Robert
 
User avatar
GWISA
Member
Member
Posts: 389
Joined: Tue Jan 31, 2006 2:37 pm
Location: Johannesburg, South Africa

Re: Command line problem (using Winbox)

Thu Aug 23, 2007 1:23 am

<hint> use <tab><tab> at each menu level to reveal the available menu items.

maybe what you are looking for is:

/ip hotspot user print detail

?
 
voerboer
just joined
Topic Author
Posts: 11
Joined: Wed Aug 01, 2007 3:20 pm

Re: Command line problem (using Winbox)

Thu Aug 23, 2007 8:03 pm

Hi Gwisa,

Thanks this the help! Exactly what I needed.
the command is:
ip hotspot user print detail from=aaa 

Where aaa is the user name
 
User avatar
GWISA
Member
Member
Posts: 389
Joined: Tue Jan 31, 2006 2:37 pm
Location: Johannesburg, South Africa

Re: Command line problem (using Winbox)

Thu Aug 23, 2007 8:37 pm

8)
 
User avatar
janisk
MikroTik Support
MikroTik Support
Posts: 6263
Joined: Tue Feb 14, 2006 9:46 am
Location: Riga, Latvia

Re: Command line problem (using Winbox)

Tue Aug 28, 2007 1:32 pm

i would point out, that in CLI you can use "?" to see what commands are available at this point and short description if available.

i entered ip firewall and pressed ? the result:
[admin@origin] > ip firewall
Firewall allows IP packet filtering on per packet basis.

.. -- go up to ip
address-list --
calea --
connection -- Active connections
export -- Print or save an export script that can be used to restore configuration
filter -- Firewall filters
mangle -- The packet marking management
nat -- Network Address Translation
service-port -- Service port management

Who is online

Users browsing this forum: Buckeye, GoogleOther [Bot], unhuzpt and 109 guests