Appendix I. Command line reference

Table of Contents

I.1. General commands
I.1.1. Trace off
I.1.2. Trace on
I.1.3. Uptime
I.1.4. General status
I.1.5. Memory usage
I.1.6. Process/task usage
I.1.7. Login
I.1.8. Logout
I.1.9. See XML configuration
I.1.10. Load XML configuration
I.1.11. Show profile status
I.1.12. Enable profile control switch
I.1.13. Disable profile control switch
I.1.14. Show RADIUS servers
I.1.15. Show DNS resolvers
I.2. Networking commands
I.2.1. Subnets
I.2.2. Ping and trace
I.2.3. Show a route from the routing table
I.2.4. List routes
I.2.5. List routing next hops
I.2.6. See DHCP allocations
I.2.7. Clear DHCP allocations
I.2.8. Lock DHCP allocations
I.2.9. Unlock DHCP allocations
I.2.10. Name DHCP allocations
I.2.11. Show ARP/ND status
I.2.12. Show VRRP status
I.2.13. Send Wake-on-LAN packet
I.3. Firewalling commands
I.3.1. Check access to services
I.3.2. Check firewall logic
I.4. USB/dongle commands
I.4.1. Show dongle connectoons
I.4.2. Reset USB interface and all attached devices
I.4.3. Reset PPP/Dongle data connection
I.5. L2TP commands
I.6. BGP commands
I.7. OSPF commands
I.8. PPPoE commands
I.9. VoIP commands
I.10. Dongle/USB commands
I.11. Advanced commands
I.11.1. Panic
I.11.2. Reboot
I.11.3. Screen width
I.11.4. Make outbound command session
I.11.5. Show command sessions
I.11.6. Kill command session
I.11.7. Flash memory list
I.11.8. Delete block from flash
I.11.9. Boot log
I.11.10. Flash log

I.1. General commands

I.1.1. Trace off

troff

Stop interactive logging to this CLI session, lasts until logout or tron.

I.1.2. Trace on

tron

Restart interactive logging to this CLI session. Some types of logging can be set to log to console which shows on the CLI.

I.1.3. Uptime

uptime
show uptime

Shows how long since the FB2700 restarted.

I.1.4. General status

show status

Shows general status information, including uptime, who owns the FireBrick, etc. This is the same as the Status on the web control pages.

I.1.5. Memory usage

show memory

Shows memory usage summary.

I.1.6. Process/task usage

show tasks

Shows internal task list. This is mainly for diagnostics purposes.

I.1.7. Login

login

Normally when you connect you are prompted for a username and password. If this is incorrect you can use the login to try again.

I.1.8. Logout

logout
quit
exit

You can also use Ctrl-D to exit, or close the connection (if using telnet)

I.1.9. See XML configuration

show run
show configuration

Dumps the full XML configuration to the screen

I.1.10. Load XML configuration

import configuration

You then send the XML configuration, ending with a blank line. You would not normally import a configuration using this command, as you can use the web interface, and tools like curl to load configtations. This command is provided as a last resort for emergency use, so use with care.

I.1.11. Show profile status

show profiles

Shows profiles and current status.

I.1.12. Enable profile control switch

enable profile <string>

Turns a named profile control switch on.

I.1.13. Disable profile control switch

disable profile <string>

Turns a named profile control switch off.

I.1.14. Show RADIUS servers

show radius
show radius <IPAddr>

Shows details of RADIUS servers currently in use

I.1.15. Show DNS resolvers

show dns

Shows current DNS resolver list and status.