Router(config)#ip route <Destination Network> <Subnet Mask> <Next-hop Address> or <Exit Interface>
Syntax for Default Routing (ip route command)
Router(config)#ip route 0.0.0.0 0.0.0.0 <Next-hop Address> or <Exit Interface>
Syntax for Routing Information Protocol (router rip command)
Router(config)#router rip
Router(config-router)#network <Subnet Address>
Useful Cisco Commands:
Syntax that lists all commands available in the current command mode
Router#?
Command that lists all show commands available
Router#show ?
Command that moves user from user mode to privileged mode
Router>enable
Command that performs the same function as exit
Router#logout
Command that displays information about current IOS
Router#show version
Command that configures a router name (name can be any word you choose)
Router#hostname <router's name>
Command that sets enable password in a router
Router(config)#enable password <password>
Command that removes enable (not encrypted) password in a router
Router(config)#no enable password
Command that sets enable secret (encrypted) in a router
Router(config)#enable secret <password>
Command that removes enable secret in a router
Router(config)#no enable secret
Command that applies a weak encryption to passwords
Router(config)#service password-encryption
Command that turns off password encryption
Router(config)#no service password-encryption
Command that sets console-line mode password to console
Router(config)#line con 0
Router(config-line)#password <password>
Router(config-line)#login
Command that removes console-line mode password to console
Router(config)#line con 0
Router(config-line)#no password
Router(config-line)#no login
Command that sets vty password to telnet
Router(config)#line vty 0 4
Router(config-line)#password <password> (e.g.P@$$w0rd)