Community Record
14
Posts
2
Kudos
0
Solutions
Badges
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
Feb 26 2020
9:31 AM
1 Kudo
No, you are not able to leverage tags in order to upgrade individual devices in a network, it is going to upgrade all of the devices matching that device type within the Network. The idea for a segregated NW was just in case you wanted to do testing on an individual AP to evaluate firmware.
... View more
Feb 15 2020
10:29 AM
1 Kudo
Hi Mr. PhilipDAth Thank you very much for the recomendations. We have the procedure indicated to solve the problem and now the APs are functioning correctly outside the United States FCC, now they are working under the regulation of my country "SUTEL CR". B.Regards!
... View more
Mar 5 2019
11:30 AM
Hi friend! Thank you very much for your advice on using a CISCO MX, I would have liked it possible to do this directly in the cloud, without having an MX or an L3 switch, it seems to me that CISCO is extremely efficient and should allow to use the manual services of DHCP and create specific SCOPES directly in the cloud, but it does not matter, I'll keep dreaming of this, maybe one day CISCO will allow it. Best regards from Costa Rica!!
... View more
My Top Kudoed Posts
Subject | Kudos | Views |
---|---|---|
1 | 8286 | |
1 | 15626 |