show running-config
configure terminal
commandshow startup-config
copy running-config startup-config
write memory
(old style)copy running-config tftp
copy startup-config tftp
copy startup-config flash:saved-config
copy flash:saved-config startup-config
Would you like to enter the initial configuration dialog? [yes/no]:
Router>
Router#
rommon 1>
Commands are activated immediately. So be careful when typing!
When working on serial console or via Telnet or SSH, commands can be copied from a text file and pasted into the terminal
router> router>enable ... type password ... router# router# configure terminal router(config)# ... type commands ... router(config)# end router# write memory
Router> - USER EXEC Router# - PRVILEDGED EXEC Router(config) - Global configuration Router(config-if) - Interface configuration Router(config-subif) - Sub-interface configuration Router(config-route-map) - Route-map configuration Router(config-router) - Routing protocol configuration Router(config-line) - Line configuration rommon 1> - ROM Monitor
Use “?” to obtain a list of commands available in your current configuration mode
Router(config)#? Configure commands: aaa Authentication, Authorization and Accounting. aal2-profile Configure AAL2 profile access-list Add an access list entry alarm-interface Configure a specific Alarm Interface Card alias Create command alias appfw Configure the Application Firewall policy application Define application archive Archive the configuration arp Set a static ARP entry ...
Use “?” also to see all possible parameters to an incomplete command:
Router(config)#username ? WORD User name Router#show ? aaa Show AAA value aal2 Show commands for AAL2 access-expression List access expression access-lists List access lists accounting Accounting data for active sessions ...
Use the Tab key to complete a command
router(config)#int<TAB> router(config)#interface et<TAB> router(config)#interface ethernet 0 router(config-if)#ip add<TAB> router(config-if)#ip address n.n.n.n m.m.m.m
You can just type the abbreviated form if it's unambiguous
router(config)#int e 0 router(config-if)#ip add n.n.n.n m.m.m.m
Move within command history:
Line editing:
show running-config show run interface f0/0 show ip int brief debug ip ospf hello / events / adj show log show version