Meraki MR30H - How to connect locally without an internet connection

DungHo
Conversationalist

Meraki MR30H - How to connect locally without an internet connection

Hi Community,

 

This is first time I experience with Meraki AP.

I'm wondering that is there any way connecting to Meraki MR30H locally without an internet connection?

And do the queries locally not via the cloud? Like 

 

curl -X GET \
  --url 'https://192.168.1.99/api/v0/organizations' \
  -H 'Accept: application/json'

 

Because of some information that I don't want connect Meraki to the internet, just work locally in a LAN network.

 

Thank you All.

3 REPLIES 3
BrechtSchamp
Kind of a big deal

The API queries the dashboard, so no. I think I've seen someone use a cgi script present on the devices. But that would be an "unofficial" feature. I'll see if I can find the info.

Here's the post (it's in the developer early access subforum so I'll just copy paste it):

 


@Greenberet wrote:

Maybe this will help to clarify what I want to do

 

Current Switchport configuration:

 

HTTP GET: http://switch.meraki.com/switch_ports_json.cgi

Response:

 

 

Spoiler
{
    "port_confs": [
          {
            "num": 7,
            "aggr": -1,
            "name": "",
            "enabled": true,
            "is_stackport": "false",
            "allowed_vlans": "1,2",
            "is_trunk": false,
            "native_vid": 1,
            "allow_untagged_in": true,
            "vid": 1,
            "use_stp": true,
            "access_policy_num": -1,
            "schedule_name": "",
            "access_policy_name": "",
            "show_stkport_dropdown": false,
            "link_negotiation": "auto",
            "no_half_duplex": false
        },
    ],
    "port_stats": {
        "rxBroadcastPkts": [
            45599,
            53642,
            23742,
            20,
            7,
            711,
            0,
            52354,
            0,
            0
        ],
        "rxMulticastPkts": [],
        "rxOctets": [],
        "txPkts": [],
        "txOctets": []
    },
    "port_status": [
        "1Gfdx",
        "1Gfdx",
        "10fdx",
        "1Gfdx",
        "100fdx",
        "1Gfdx",
        "",
        "1Gfdx",
        "",
        ""
    ]
}

I've removed ports 1-6&8-10 and some port stats from the output as the message was to long to post here on the forum.

Disable Port 7:

 

 

HTTP Post: http://switch.meraki.com/configure/swports_adjust.cgi

Header:

Content-Type=application/x-www-form-urlencoded

Post data:

port_7_enabled=disabled

 

Result:

Spoiler
{
  "success": true,
  "error_msg": ""
}

This is currently working on a "MS120-8LP" with Firmware "MS 11.27".

The Problem here is, that this is not published as an official api. Which means that it might not work with the next firmware release or a different switch type.


Props to @Greenberet 

 

But as stated before, unofficial. Could break anytime, and support won't help you out with this. Also, Meraki isn't designed to be used offline. So if that's your use-case, you'd better reconsider.

 

Nash
Kind of a big deal

As @BrechtSchamp says, Meraki is designed assuming an Internet uplink. If you really don't want to connect the device to the Internet, I would purchase a different product.

Get notified when there are additional replies to this discussion.
Welcome to the Meraki Community!
To start contributing, simply sign in with your Cisco account. If you don't yet have a Cisco account, you can sign up.
Labels