Useful Commands
Useful Commands
ROUTER CONFIGURATION
========================
The commands used for router configuration are ordered in a tree structure. This is easy to
forget. DON’T DO THAT!
IMPORTANT NOTES:
While at the configuration console you must remember that:
• Pressing the tab key (<TAB>) will give you command recognition.
• Pressing ? will give you a list of available commands in a certain mode.
• All the information commands must be given in “user” mode.
• To configure the router, you must enter the configuration mode: configure terminal
(conf t).
• In the configuration mode the router accepts commands that may alter its present
state, i.e., the router can be configured manually from the console terminal.
• All commands, which change the router’s state, have an exact opposite starting with
no negating, changing or undoing a configuration command. See the example below.
COMMAND EXPLANATION
copy running config startup config Stores current configuration (RAM to NVRAM).
1
USEFUL COMMANDS
Disables name to address translation in the
no ip domain lookup
router.
no service udp small services Disables all UDP services.
ip ospf cost value Assign a new value for the metric of an interface.
2
USEFUL COMMANDS
COMPUTER CONFIGURATION
===========================
COMMAND EXPLANATION
reboot Nicest way to reboot the computer (Do not use).