Basic commands for configuring a router.

 Basic commands for configuring a router. 

Note : Sh means "Show"
  • sh running-config - details the running configuration file (RAM) 
  • sh startup-config - displays the configuration stored in NVRAM 
  • setup - Will start the the automatic setup; the same as when you first boot the router 
  • config t - use to execute configuration commands from the terminal 
  • config mem - executes configuration commands stored in NVRAM; copies startup-config to running-config 
  • config net - used to retrieve configuration info from a TFTP server 
  • copy running-config startup-config - copies saved config in running config (RAM) to NVRAM or "write memory" for IOS under ver.11 
  • copy startup-config running-config - copies from non-volatile (NVRAM) to current running config (RAM) 
  • boot system flash <put file filename here> - tells router which IOS file in flash to boot from 
  • boot system tftp - tells router which IOS file on the tftp server to boot from 
  • boot system rom - tell router to boot from ROM at next boot 
  • copy flash tftp - Copies flash to tftp server 
  • copy tftp flash - Restores flash from tftp server 
  • copy run tftp - Copies the current running-config to tftp server 
  • copy tftp run - Restores the running-config from tftp server

No comments:

Post a Comment