Community Record
58
Posts
48
Kudos
0
Solutions
Badges
Jun 3 2024
2:33 PM
I posted this same question and it was flagged as SPAM. We are still down.
... View more
Jun 3 2024
2:25 PM
We cannot log into the dashboard. status.meraki.net says everything is fine. I have staff all over the USA and they cannot get in. Anyone else having this issue?
... View more
Labels:
- Labels:
-
Administrators
-
Other
Mar 14 2024
12:16 PM
I wrote this using the Meraki PowerShell Module. It doesn't reset them 100% but it is very close. Note: This will reset all SSIDs for the entire organization use with caution. PowerShell Module # Reset All SSID to Unconfigured v1.9
Import-Module Meraki
$AuthToken = "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
$OrganizationID = "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
$SiteNames = Get-MerakiOrganizationDevices -AuthToken $AuthToken -OrganizationID $OrganizationID | Where-Object {$_.Model -like "*MX*"} | Select-Object Name,NetworkID
$SiteNumber = 0
ForEach ($NetworkID in $SiteNames.NetworkID) {
$SiteNumber = $SiteNumber + 1
Write-Host $SiteNames.Name[$SiteNumber]
ForEach($Count in 0..14){
$SSIDName = "Unconfigured SSID "+$Count
$SSIDConfig = [PSCustomObject]@{
name=$SSIDName
enabled="true"
authMode="Open"
ipAssignmentMode="NAT mode"
mandatoryDhcpEnabled="False"
splashPage="none"
perClientBandwidthLimitUp="0"
perClientBandwidthLimitDown="0"
perSsidBandwidthLimitUp="0"
perSsidBandwidthLimitDown="0"
}
$SSIDConfig = $SSIDConfig | ConvertTo-Json -Compress
Set-MerakiNetworkWirelessSSID -AuthToken $AuthToken -NetworkId $NetworkId -SSIDNumber $Count -SSIDConfig $SSIDConfig
$trafficShapingRules = [PSCustomObject]@{
trafficShapingEnabled=$false
defaultRulesEnabled=$false
}
$trafficShapingRules = $trafficShapingRules | ConvertTo-Json -Compress
Set-MerakiNetworkWirelessSsidTrafficShapingRules -AuthToken $AuthToken -NetworkId $NetworkId -SSIDNumber $Count -trafficShapingRules $trafficShapingRules
$L3FirewallRules = [PSCustomObject]@{
allowLanAccess = "true"
}
$L3FirewallRules = $L3FirewallRules | ConvertTo-Json -Compress
Set-MerakiNetworkWirelessSSIDFirewallL3FirewallRules -AuthToken $AuthToken -NetworkId $NetworkId -SSIDNumber $Count -L3FirewallRule $L3FirewallRules
}
ForEach($Count in 0..14){
$SSIDName = "Unconfigured SSID "+$Count
$SSIDConfig = [PSCustomObject]@{
enabled="false"
}
$SSIDConfig = $SSIDConfig | ConvertTo-Json -Compress
Set-MerakiNetworkWirelessSSID -AuthToken $AuthToken -NetworkId $NetworkId -SSIDNumber $Count -SSIDConfig $SSIDConfig
}
}
... View more
Jan 17 2024
2:57 PM
Looks like LanIsolationEnabled is not in the Set-MerakiNetworkApplianceSSID creation list, and I have to have that command because these SSIDs cannot have access to the local LAN. here is the return completed without error message: number : 8
name : Test
enabled : True
splashPage : None
ssidAdminAccessible : False
authMode : psk
psk : TestTest1
dot11w : @{enabled=False; required=False}
dot11r : @{enabled=False; adaptive=False}
encryptionMode : wpa
wpaEncryptionMode : WPA3 Transition Mode
ipAssignmentMode : NAT mode
adultContentFilteringEnabled : False
dnsRewrite : @{enabled=False; dnsCustomNameservers=System.Object[]}
minBitrate : 11
bandSelection : Dual band operation
perClientBandwidthLimitUp : 0
perClientBandwidthLimitDown : 0
perSsidBandwidthLimitUp : 0
perSsidBandwidthLimitDown : 0
mandatoryDhcpEnabled : False
visible : True
availableOnAllAps : True
availabilityTags : {}
speedBurst : @{enabled=False}
... View more
Jan 17 2024
2:52 PM
The Set-MerakiNetworkWirelessSSID works if I remove the following parameters. ipAssignmentMode bandSelection lanIsolationEnabled It supports them but removing them created the SSID on our network. So we are a lot closer.
... View more
Jan 17 2024
2:45 PM
We are using an MX65 Firewall with an MR57 WAP in the test enjoinment.
... View more
Jan 17 2024
2:42 PM
2 Kudos
@DocNougat I don't have a GitHub account, but I could set one up. However I have an idea. I am willing to send you FREE a firewall and 2 WAPs that you can keep and use however you like if that will help with the development of this module. I see a huge value for us. We manage a lot of networks and PowerShell commands would make our lives a lot easier. Thoughts ??
... View more
Jan 17 2024
1:41 PM
Set-MerakiNetworkWirelessSSID Gives the same error if prompted or in the comannd. The remote server returned an error: (400) Bad Request.
... View more
Jan 17 2024
1:39 PM
Two different messages: Entering the number at the prompt: Set-MerakiNetworkApplianceSSID : The remote server returned an error: (400) Bad Request.
At line:1 char:1
+ Set-MerakiNetworkApplianceSSID -AuthToken "7xxxxxxxxxxxxxxxxxx ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorException
+ FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Set-MerakiNetworkApplianceSSID With the value in the commend string: Set-MerakiNetworkApplianceSSID : A parameter cannot be found that matches parameter name 'Number'.
At line:1 char:120
+ ... xxxxxxxxxxxxxx" -NetworkId "L_xxxxxxxxxxxxx2" -Number 0 -SSID ...
+ ~~~~~~~
+ CategoryInfo : InvalidArgument: (:) [Set-MerakiNetworkApplianceSSID], ParameterBindingException
+ FullyQualifiedErrorId : NamedParameterNotFound,Set-MerakiNetworkApplianceSSID
... View more
Jan 17 2024
1:19 PM
This command prompts for the number .... Set-MerakiNetworkApplianceSSID -AuthToken "7xxxxxxxxxxxxxx" -NetworkId "L_6xxxxxxxxxxxxxxxxxxx" -SSIDConfig $SSIDConfig cmdlet Set-MerakiNetworkApplianceSSID at command pipeline position 1 Supply values for the following parameters: SSIDNumber: I entered 0, 1, 2, 3 and 4 it then returns error message below: Set-MerakiNetworkApplianceSSID : The remote server returned an error: (400) Bad Request. At line:1 char:1 + Set-MerakiNetworkApplianceSSID -AuthToken "7xxxxxxxxxxxxx ... + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorException + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Set-MerakiNetworkApplianceSSID
... View more
Jan 17 2024
1:15 PM
Darn, same error message using the boolean. The remote server returned an error: (400) Bad Request.
... View more
Jan 17 2024
1:13 PM
IMHO Set-MerakiNetworkApplianceSSID would not need a number there is only one SSID. MX65W is an example of a firewall with built in WiFi Set-MerakiNetworkWirelessSSID should have numbers because there are many. We have 170 networks so I have many many different firewalls and many different WAPs on the network. I will be more happy to help you debug this module. Thanks
... View more
Jan 17 2024
12:22 PM
We have 170 Meraki Networks. I am trying to push out a standard SSID to all the sites {networks} We need all of them to have the exact same SSID. This test is just doing one network to test once I get it correct I will write the PowerShell to enumerate all the networks and update them.
... View more
Jan 17 2024
12:19 PM
I am trying to use PowerShell to update 170 Meraki Network SSIDs.
... View more
Jan 17 2024
12:16 PM
Here is the whole thing in case you see something wrong (Errors in RED): PS > $SSIDConfig = [PSCustomObject]@{ >> name = "Test" >> enabled = "True" >> authMode = "psk" >> psk = "TestTest1" >> encryptionMode = "wpa" >> wpaEncryptionMode = "WPA3 Transition Mode" >> ipAssignmentMode = "NAT Mode" >> bandSelection = "Dual band operation" >> lanIsolationEnabled = "False" >> } PS > $SSIDConfig = $SSIDConfig | ConvertTo-Json -Compress PS > Set-MerakiNetworkWirelessSSID -AuthToken "7xxxxxxxxxxxxxxxxxxx" -NetworkId "L_xxxxxxxxxxxxxxxxxxxxxx" -Number 2 -SSIDConfig $SSIDConfig The remote server returned an error: (400) Bad Request. PS > $SSIDConfig {"name":"Test","enabled":"True","authMode":"psk","psk":"TestTest1","encryptionMode":"wpa","wpaEncryptionMode":"WPA3 Transition Mode","ipAssignmentMode":"NAT Mode","bandSelection":"Dual band operation","lanIsolationEnabled":"False"} PS > Set-MerakiNetworkApplianceSSID -AuthToken "7xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" -NetworkId "L_^xxxxxxxxxxxxxxxxxxx" -Number 2 -SSIDConfig $SSIDConfig Set-MerakiNetworkApplianceSSID : A parameter cannot be found that matches parameter name 'Number'. At line:1 char:120 + ... xxxxxx" -NetworkId "L_6xxxxxxxxx" -Number 2 -SSID ... + ~~~~~~~ + CategoryInfo : InvalidArgument: (:) [Set-MerakiNetworkApplianceSSID], ParameterBindingException + FullyQualifiedErrorId : NamedParameterNotFound,Set-MerakiNetworkApplianceSSID
... View more
Jan 17 2024
12:08 PM
Tried the above code and I get: The remote server returned an error: (400) Bad Request.
... View more
Jan 17 2024
12:07 PM
I assumed the Set-MerakiNetworkApplianceSSID was for the Firewalls that have the WiFi built in?
... View more
Jan 17 2024
10:53 AM
2 Kudos
I think the problem is that as a hashtable it is not in JSON format. Here is what is stored for the variable but that is not the right format. PS > $SSIDConfig {"enabled":"True","ipAssignmentMode":"NAT Mode","encryptionMode":"wpa","wpaEncryptionMode":"WPA3 Transition Mode","name":"Test","authMode":"psk","psk":"TestTest1","lanIsolationEnabled":"False","bandSelection":"Dual band operation"} Should look something like this: {"Attributes":[],"File":null,"IsFilter":false,"IsConfiguration":false,"Module":null,"StartPosition":{"Content":"{name:Test,enabled:True,authMode:psk,psk:TestTest1,encryptionMode:wpa,wpaEncryptionMode:WPA3 Transition Mode,ipAssignmentMode:NAT Mode,bandSelection:Dual band operation,lanIsolationEnabled:False}","Type":19,"Start":14,"Length":205,"StartLine":1,"StartColumn":15,"EndLine":1,"EndColumn":220},"DebuggerHidden":false,"Id":"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx","Ast":{"Attributes":[],"UsingStatements":[],"ParamBlock":null,"BeginBlock":null,"ProcessBlock":null,"EndBlock":{"Unnamed":true,"BlockKind":130,"Statements":"name:Test,enabled:True,authMthMode:psk,psk:TestTest1,encryptionMode:wpa,wpaEncryptionMode:WPA3 Transition Mode,ipAssignmentMode:NAT Mode,bandSelection:Dual band operation,lanIsolationEnabled:False","Parent":"{name:Test,enabled:True,authMode:psk,psk:TestTest1,encryptionMode:wpa,wpaEncryptionMode:WPA3 Transition Mode,ipAssignmentMode:NAT Mode,bandSelection:Dual band operation,lanIsolationEnabled:False
... View more
Jan 17 2024
10:47 AM
Opps forgot the = ... did that and it works but you get the error from PS The remote server returned an error: (400) Bad Request.
... View more
Jan 17 2024
10:44 AM
Thanks. I think I tried that and then you get prompted for more information from PS. Yup tested it just now and I get the PS >> prompt requesting more information. $SSIDConfig = @{"name":"Test";"enabled":"True";"authMode":"psk";"psk":"TestTest1";"encryptionMode":"wpa";"wpaEncryptionMode":"WPA3 Transition Mode";"ipAssignmentMode":"NAT Mode";"bandSelection":"Dual band operation";"lanIsolationEnabled":"False"} >>
... View more
Jan 17 2024
9:23 AM
Thanks for the idea, however same Error: $SSIDConfig = {"name":"Test","enabled":"True","authMode":"psk","psk":"TestTest1","encryptionMode":"wpa","wpaEncryptionMode":"WPA3 Transition Mode","ipAssignmentMode":"NAT Mode","bandSelection":"Dual band operation","lanIsolationEnabled":"False"} At line:1 char:23 + $SSIDConfig = {"name":"Test","enabled":"True","authMode":"psk","psk" ... + ~~~~~~~ Unexpected token ':"Test"' in expression or statement. At line:1 char:30 + $SSIDConfig = {"name":"Test","enabled":"True","authMode":"psk","psk" ... + ~ Missing argument in parameter list. + CategoryInfo : ParserError: (:) [], ParentContainsErrorRecordException + FullyQualifiedErrorId : UnexpectedToken
... View more
Jan 16 2024
1:11 PM
2 Kudos
@DocNougat I add this module and it looks extremely promising. I need to update a SSID across 170 networks and have been playing with the following commands but I keep getting error messages. I think there is a bug in the code or there is just not enough information to write the commands correctly on my part. Any help you can provide would be greatly appreciated. $SSIDConfig = {"name":"TEST- Vendor 2" "enabled":"True" "authMode":"psk" "psk":"TestTest1" "encryptionMode":"wpa" "wpaEncryptionMode":"WPA3 Transition Mode" "ipAssignmentMode":"NAT Mode" "bandSelection":"Dual band operation" "lanIsolationEnabled":"False"} $SSIDConfig = $SSIDConfig | ConvertTo-Json -Compress Set-MerakiNetworkWirelessSSID -AuthToken "7xxxxxxxxxxxxxxxxxxxxxxx" -NetworkId "L_6xxxxxxxxxxxxxxxxxxx" -Number 2 -SSIDConfig $SSIDConfig The first issue is that it does not like the {"name":"Test - Vendor 2" .... I have tired comas, spaces, semi-colons, as well as single quotes and double quotes, etc. I have also tried @{"name":"TEST- Vendor 2" .....} in case it thinks it is an ARRAY. So far I cannot get past this. Error: At line:1 char:18 + $SSIDConfig = {"name":"TEST - Vendor 2","enabled":"True","authMo ... + ~~~ Unexpected token ':"TEST - Vendor 2"' in expression or statement. I tried the following which does not give me an error for the $SSIDConfig but does give me a message when I use the Set-MerakiNetworkWirelessSSID command. $SSIDConfig = {name:TEST - Vendor 2,enabled:True,authMode:psk,psk:TestTest1,encryptionMode:wpa,wpaEncryptionMode:WPA3 Transition Mode,ipAssignmentMode:NAT Mode,bandSelection:Dual band operation,lanIsolationEnabled:False} $SSIDConfig = $SSIDConfig | ConvertTo-Json -Compress Set-MerakiNetworkWirelessSSID -AuthToken "7xxxxxxxxxxxxxxxxxxxxxxx" -NetworkId "L_6xxxxxxxxxxxxxxxxxxx" -Number 2 -SSIDConfig $SSIDConfig Error: The remote server returned an error: (400) Bad Request. Any suggestions or help would be most helpful. Thanks.
... View more
Jul 20 2023
12:32 PM
Yes you could have mix configurations at the switch or only one VLAN on a switch. Example: Switch 1 has VLAN 11 and 70 on it. Switch 2 only has VLAN 10 on it. It would take more hardware but it can be done that way. Most of us networking type don't want to buy more than we have too or are on a tight budget...so you can have all the VLANs access able on a single switch(es) or stack of switches. You can set the VLANs per PORT or have it a trunk port and set the VLAN on the device or or or. Very flexible.
... View more
Jul 20 2023
12:10 PM
I am unsure of the end goal so I can only assume you want certain addresses for certain devices? Using the VLANs doesn't require anything special, you don't have to create polices, and you don't need to over complicate it. In my example you could set VLAN 11 as the default and then anything plugged into the switch would get an address from VLAN 11 DCHP range. Then set VLAN 70 as VoIP and all the phones get those addresses. Then setup your WAPs for VLAN 12. You then configure the printers to VLAN 10 and they will get a DHCP or you can use static in some cases. I just did some basic VLANing, you may have a management VLAN, a Server VLAN and a VPN VLAN, depending on what you need and are doing. Also the IP range doesn't have to be part of the 10.10.0.0/16. You could have: VLAN 11 = 10.10.10.0/24 VLAN 200 = 192.168.200.0/24 But my thoughts to your question were you wanted to create DHCP groups so to speak.
... View more
Jul 20 2023
10:56 AM
You could use VLANs to narrow your DHCP assignments. Say your network is 10.10.0.0/16. Instead of using the whole network for DHCP. You could assign VLANs to subnets of the /16 and then set DHCP for those VLANs. Example: VLAN 10 - 10.10.10.0/24 (Printers) VLAN 11 - 10.10.11.0/24 (Desktops) VLAN 12 - 10.10.12.0/24 (Wireless) VLAN 70 - 10.10.70.0/24 (VoIP) etc.
... View more
My Top Kudoed Posts
Subject | Kudos | Views |
---|---|---|
14 | 5519 | |
5 | 110183 | |
4 | 148648 | |
2 | 9365 | |
2 | 9493 |