Currently, our network consists of a Ubiquiti EdgeRouter Lite, Netgear GS728TP, and two EnGenius EAP600 access points. Here is a list of useful CLI commands that I’ve used to manage them.
EdgeRouter Lite
show configuration commands --
prints out the current configuration in “command format”. You can copy/paste this to reconfigure the switch.
compare
— Displays uncommitted changes
sort -n -t . -k 1,1 -k 2,2 -k 3,3 -k 4,4 /etc/hosts | column -t
— Shows a list of all the hosts that the router knows about, and aligns the columns to make it easy to read.
Netgear GS728TP
show running-config
– prints out the current configuration from the command line
show startup-config interface GigabitEthernet1
– prints a single interfaces configuration
show running-config interface GigabitEthernet1-24
– print configuration for multiple interfaces
show tech-support
– print a whole bunch of debugging information in addition to the current switch configuration. This takes a long time to print out.
terminal datadump
– Dump all output of a show command without prompting
EnGenius EAP600
top
— goes immediately back to the root of the cli structure (instead of having to type exit multiple times to get back up the tree.)
http://x.x.x.x/cgi-bin/luci/html/CM_BackupRestore?backup=1
— quick way to download a copy of the AP’s configuration. This is the same as going to “Backup/Restore Settings” and saving a copy.