Is it possible to import a list of static DHCP assignments to the USG FLEX 500 firewall?
We're switching from OPNsense to the USG FLEX 500 and don't want to manually retype 200+ entries of MAC and IP Adresses + client names. Is there a way to import a predefined list of these entries? I already have the exported list ready, but can't find a way to import it anywhere.
Tagged:
0
Accepted Solution
-
Hi @J0nas,
There no directly import function on management GUI.
Here a Windows tool that can help you to generate a CLI script file to import and run it on USG FLEX 500.
Note: USG FLEX 500 support max. 512 static DHCP entries.
Follow these steps,
1.Prepare your mapping list text file (the format you can refer example CSV file in ZIP package)
2.Run this tool
3.Click Browse to loading the mapping file
4.Edit the interface name (If you want different entries for different IP interface. You need to split the entries into different file. Loading one file, set interface name and generate one by one.)
5.Click "Generate zysh script". You will get a "static_dhcp_xxx.zysh" CLI script file.
Then login to USG FLEX 500 GUI.
1. Go to Maintenance > File Manager > Shell Script
2. Browse and upload the CLI script file.
3. Select the file and click Apply button to run the CLI.
2
All Replies
-
Hi @J0nas,
There no directly import function on management GUI.
Here a Windows tool that can help you to generate a CLI script file to import and run it on USG FLEX 500.
Note: USG FLEX 500 support max. 512 static DHCP entries.
Follow these steps,
1.Prepare your mapping list text file (the format you can refer example CSV file in ZIP package)
2.Run this tool
3.Click Browse to loading the mapping file
4.Edit the interface name (If you want different entries for different IP interface. You need to split the entries into different file. Loading one file, set interface name and generate one by one.)
5.Click "Generate zysh script". You will get a "static_dhcp_xxx.zysh" CLI script file.
Then login to USG FLEX 500 GUI.
1. Go to Maintenance > File Manager > Shell Script
2. Browse and upload the CLI script file.
3. Select the file and click Apply button to run the CLI.
2 -
Does this still work on the latest firmware USG flex 500? It stops working when it added the first ip/mac... then thoes nothing...?
Uploading a csv to the static dhcp table does nothing either.... Trying to get this fixed for hours without result :-|0 -
log says: ERROR: #configure terminal ip dhcp pool Static_lan1_64694E1C13D8 ip dhcp pool Static_lan1_9C5C8E6E341F, Parse error/command not found!
In the terminal the line should be:ip dhcp pool Static_lan1_00451DE3DC80host 192.168.0.11hardware-address 00:45:1D:E3:DC:80description wifi1exit <- MIND THE EXIT STATEMENT NOT GENERATED BY THE PROGRAM IN THIS POSTip dhcp pool Static_lan1_00451DE36CC0host 192.168.0.12hardware-address 00:45:1D:E3:6C:C0description wifi2exit <- MIND THE EXIT STATEMENT NOT GENERATED BY THE PROGRAM IN THIS POSTip dhcp pool Static_lan1_70D37993D1E0host 192.168.0.13hardware-address 70:D3:79:93:D1:E0description wifi3exit <- MIND THE EXIT STATEMENT NOT GENERATED BY THE PROGRAM IN THIS POST.....0 -
Hi @JohnK,
Thanks for the bug report of the tool.
Here the update version for bug fix.
Any question please let me know.
BRs,
Joshua0 -
Thanks @Zyxel_Joshua !0
Categories
- All Categories
- 415 Beta Program
- 2.4K Nebula
- 144 Nebula Ideas
- 94 Nebula Status and Incidents
- 5.6K Security
- 237 USG FLEX H Series
- 267 Security Ideas
- 1.4K Switch
- 71 Switch Ideas
- 1.1K Wireless
- 40 Wireless Ideas
- 6.3K Consumer Product
- 247 Service & License
- 384 News and Release
- 83 Security Advisories
- 29 Education Center
- 10 [Campaign] Zyxel Network Detective
- 3.2K FAQ
- 34 Documents
- 34 Nebula Monthly Express
- 83 About Community
- 71 Security Highlight