Transcription of Basic Config Router&Switch
1 Basic Config Router&Switch cisco ( Config ) (default) Config cisco 4 1. User EXEC Mode User Mode 2. Privileged Mode Enable Mode 3. Configuration Mode 4. Interface configuration mode Mode User Privileged Router> ( > User Mode) Router>enable ( enable Privileged Mode) Router# ( # Privileged Mode ) Router#configure terminal ( configure terminal Configuration Mode) Router( Config )# ( Configuration Mode ) Router( Config )#interface f0/0 ( interface f0/0 Interface configuration mode)
2 Router( Config -if)# ( Interface configuration mode ) Router( Config -if)#exit ( exit Interface configuration mode end Privileged Mode) Privileged Mode enable Mode command access CISCO 11 1 CISCO 1) Hostname : wanvisa 2) Enable password :1234 3) Enable secret : cisco 4) Banner Motd : ## Welcome to Jodoi## 5) Line console 0 : password cisco 6) Line vty 0 4 : password cisco 7) IP address Interface f0/0 : , Interface f0/0.
3 8) Save Configuration 9) Backup Configuration 10) Clear Configuration 11) Restore Configuration Step by Step Basic Config 1. Hostname Hostname Hostname priviledged exec mode Hostname Router>enable Router# Router#configure terminal Router( Config )# Router( Config )#hostname Wanvisa ( Hostname Wanvisa) Wanvisa( Config )# ( hostname Router hostname Wanvisa) 2) Enable password :1234 enable password Password user mode privileged mode Wanvisa #configure terminal Wanvisa( Config )#enable password 1234 ( password 1234) 3) Enable secret : cisco enable secret Password user mode privileged mode enable password show running- Config Wanvisa #configure terminal Wanvisa( Config )#enable secret cisco ( enable secret cisco) 4) Banner Motd.
4 ## Welcome to Jodoi## Banner banner motd ! ! ! Wanvisa #configure terminal Wanvisa( Config )#banner motd ! Enter TEXT message. End with the character '!'. ## Welcome to Jodoi## ! Wanvisa( Config )# 5) Line console 0 : password cisco line console line console (Line Console Console ) Wanvisa #configure terminal Wanvisa( Config )#line console 0 (console 0 console 0) Wanvisa( Config -line)#password cisco ( password cisco) Wanvisa( Config -line)#login ( Line Console Command login password Line Console ) 6) Line vty 0 4.
5 Password cisco line vty Service Remote Telnet IP address Command Prompt Wanvisa #configure terminal Wanvisa( Config )#line vty 0 4 (0 4 5 line 5 sessions Telnet 5 ) Wanvisa( Config -line)#password cisco ( password cisco) Wanvisa( Config -line)#login ( Line vty Command login password Line vty ) 7) IP address Interface f0/0 : , Interface f0/0: IP address command Interface Interface Port Config Command Wanvisa#configure terminal Wanvisa( Config )#interface f0/0 ( f0/0 ) Wanvisa( Config -if)#ip address ( IP address Subnet Mask) Wanvisa( Config -if)#no shutdown ( f0/0 ) %LINK-5-CHANGED.
6 Interface FastEthernet0/0, changed state to up ( Interface FastEthernet0/0, changed state to up ) 8) Save Configuration Router#copy <source> <destination> (Source destination Running-configuration, Startup-configuration, Tftp, Flash) Wanvisa#copy running- Config startup- Config Destination filename [startup- Config ]? Building [OK] Wanvisa# ( running configuration Start-up configuration Configuration NVRAM) 9) Backup Configuration running configuration tftp server running configuration tftp server Network Backup - tftp server - tftp ping - Backup Wanvisa#copy running- Config tftp.
7 address or name of remote host []? Destination filename [Wanvisa-confg]? backup13_12_2015 10) Clear Configuration NV-RAM Wanvisa#erase startup- Config Erasing the nvram filesystem will remove all configuration files! Continue? [confirm] [OK] Erase of nvram: complete %SYS-7-NV_BLOCK_INIT: Initialized the geometry of nvram 11) Restore Configuration Config Config backup Restore Configuration 3 1. flash: Copy to flash: file system 2.
8 Running- Config Copy configuration from system 3. startup- Config Copy startup configuration from system Wanvisa#copy tftp: running- Config address or name of remote host []? Source filename []? backup13_12_2015 Destination filename [running- Config ]? (Enter) OK CISCO Mail : Line ID : Miss Wanvisa Tawongsa (Fang)