Appendix G. Command line reference

Table of Contents

G.1. General commands
G.1.1. Trace off
G.1.2. Trace on
G.1.3. Uptime
G.1.4. General status
G.1.5. Memory usage
G.1.6. Process/task usage
G.1.7. Login
G.1.8. Logout
G.1.9. See XML configuration
G.1.10. Load XML configuration
G.2. Networking commands
G.2.1. Subnets
G.2.2. Ping and trace
G.3. Firewalling commands
G.4. L2TP commands
G.5. BGP commands
G.6. Advanced commands
G.6.1. Panic
G.6.2. Reboot
G.6.3. Screen width
G.6.4. Make outbound command session
G.6.5. Show command sessions
G.6.6. Kill command session
G.6.7. Flash memory list
G.6.8. Delete block from flash
G.6.9. Boot log
G.6.10. Flash log

G.1. General commands

G.1.1. Trace off

troff

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

G.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.

G.1.3. Uptime

uptime
show uptime

Shows how long since the FB6000 restarted.

G.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.

G.1.5. Memory usage

show memory

Shows memory usage summary.

G.1.6. Process/task usage

show tasks

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

G.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.

G.1.8. Logout

logout
quit
exit

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

G.1.9. See XML configuration

show run
show configuration

Dumps the full XML configuration to the screen

G.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.