Tuesday, March 24, 2009

network study..

Lets study basic IOS command line..here i listed out some of the basic IOS command line that i've studied.kene study blk...da forgot sume already maa....need to study again...wuwu

Basic IOS command line

Privileged Mode

enable - get to privileged mode
disable - get to user mode
enable password - sets privileged mode password
enable secret - sets encrypted privileged mode password



Setting Passwords

enable secret - set encrypted password for privilegedaccess
enable password - set password for privileged access (used when there is no enable secret and when using older software)



Set password for console access:
(config)#line console 0
(config-line)#login
(config-line)#password



Set password for virtual terminal (telnet) access (password must be set to access router through telnet):

(config)#line vty 0 4
(config-line)#login
(config-line)#password



Configuring the Router

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 - 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

There's lot more..will be added next session..hee

0 coretan yang menyinggah: