Cisco Router Command Quick Reference
Cisco Router Command Quick Reference
Two basic levels of login: Standard Read Mode (prompt looks like router-name>) Enable Mode (Prompt looks like router-name#)
You only ever need to type enough of the command to distinguish from other commands You can always press tab to finish the command you start typing If you are locked up by router output enter: <ctrl><shift><6><x> ? is the universal help command To see what commands are available beyond an initial command enter: Initial command ? (example show ?) To save configuration changes: copy running-config startup-config To save configuration to a TFTP Server enter: copy running-config tftp then follow the prompts Some good show commands to utilize: Show Dial Show IP Route Show IP Protocol Show version To see debug output from a telnet session you must first enter: Terminal monitor To reboot the router enter: reload
Page 1 of 4
router(config-if)
router(config-router)#
Using Cisco Wildcard Mask Cisco wildcard mask for an entire subnet 255.255.255.255 - 255.255.192.0 ________________ 0. 0. 63.255 Cisco wildcard mask to match range 100.1.16.0 - 100.1.31.255 100.1.31.255 - 100.1.16.0 _____________ 0.0.15.255 Take the broadcast and sbutract from the network Packet filtering on CISCO routers Many routers offer some degree of packet filtering capabilities. Since CISCO routers are common place in WAN connectivity, and they offer such extended capabilities we have chosen to address them directly. This topic is not meant to be an introduction to the CISCO IOS but a discussion of packet filter implementation using CISCO IOS. For detailed information on CISCO IOS see appendix A References and Recommended Reading. CISCO routers implement packet filters as Access Control List (ACL) not to be confused with Windows NT ACLs. Basically put you create sets of ACLs and then apply them to the desired router interface as Access Groups. Here is a sample configuration: The first set of access list created describes the connections allowed into the network from the outside.
Page 2 of 4
Page 3 of 4