0% found this document useful (0 votes)
62 views

Config Router

Uploaded by

Jack Cord
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
62 views

Config Router

Uploaded by

Jack Cord
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 33

Router Components

POST CPU
Bootstrap running- startup-
ROM RAM
config FLASH
IOS NVRAM
config
Mini IOS Console
Interface

Power-On Self-test
Mini IOS used to ROM Monitor > recovery password, upgrade IOS
show configuration
Step config

HyperTerminal COM Console


CRT RJ-45
Rollover CONSOLE
Putty Null-modem

Start  Program  Accessories  Communication  Hyper Terminal


Console Port
Console Port

© 2004, Cisco Systems, Inc. All rights reserved.


6
FastEthernet Port
RJ11
Console Port

Mini USB
Console Port
Console Connection

© 2004, Cisco Systems, Inc. All rights reserved.


11
Router Modes
User vs Privilege EXEC Mode

Router> exit 5 command show


Press RETURN to get started.
Router> enable
Router# 100 command show

Router> (angle bracket sign)


Router# (pound sign)
Router Hostname

Global Configuration Mode


Router# configure terminal
Router(config)# hostname VnPro
VnPro(config)# hostname Cisco
Cisco(config)#
Password Console vs Enable

Router> exit
Password:
Router> enable
Password:
Router#
Router(config)# line console 0
Router(config-line)# password vnpro
Router(config-line)# login
Router(config)# no enable password VnPro

Password có đặ


c tính Case-sensitive
Encrypt Password

VnPro(config)# service password-encryption

VnPro# show running-config


Current configuration : 497 bytes
!
version 12.4
! cisco
hostname VnPro
! MD7
line con 0
cisco
password 7 0822455D0A16
login

--More--
Configure Interface

VnPro(config)# interface fastethernet 0/0


VnPro(config)# interface f0/0
VnPro(config-if)# ip address 10.0.0.1 255.0.0.0
VnPro(config-if)# no shutdown
VnPro(config-if)# end
VnPro#

End = Ctrl + Z
show ip interface brief

Router# show ip interface brief


Interface IP-Address OK? Method Status Protocol

FastEthernet0/0 10.0.0.1 YES mannual up up

FastEthernet0/1 unassigned YES unset administratively down down

Serial0/0/0 unassigned YES unset administratively down down

Serial0/1/0 unassigned YES unset administratively down down

Serial0/2/0 unassigned YES unset administratively down down

Serial0/3/0 unassigned YES unset administratively down down

Router#
Keepalive

10.0.0.1 10.0.0.2

Router# show interfaces f0/0


f0/0 is up, line protocol is up
Hardware is Lance, address is 00e0.1e5d.ae2f (bia 00e0.1e5d.ae2f)
Internet address is 10.0.0.1/8
MTU 1500 bytes, BW 100000 Kbit, DLY 1000 usec, rely 255/255, load 1/255
Encapsulation ARPA, loopback not set, keepalive set (10 sec)
............

Router# ping 10.0.0.2


Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.0.0.10, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 4/4/4 ms
Save Config

wr
write memory
copy run star
VnPro# copy running-config startup-config
Destination filename [startup-config]?
VnPro#
Context-Sensitive Help
Context-Sensitive Help (Cont.)
Erase config & Reload

VnPro# erase startup-config


Erasing the nvram filesystem will remove all
configuration files! Continue? [confirm]
VnPro# reload
Proceed with reload? [confirm]
--- System Configuration Dialog ---

Continue with configuration dialog? [yes/no]: no

Ctrl + C để bỏ qua Initial Setup


Note

Router# ping 10.0.0.2


console

Con 0 Com
f0/0 NIC
10.0.0.1 10.0.0.2

C:\> ping 10.0.0.1


logging synchronous

VnPro# configure ter


%SYS-5-CONFIG_I: Configured from console by
console minal
VnPro(config)# line console 0
VnPro(config-line)# logging synchronous

VnPro# configure ter


%SYS-5-CONFIG_I: Configured from console by
console
VnPro# configure ter

no logging console
ip domain-lookup

Router(config)# ip domain-lookup

Router# cont
Translating "cont"...domain server (255.255.255.255)
% Unknown command or computer name, or unable to find computer address
Router#

Router(config)# no ip domain-lookup

Router# cont
Translating "cont"
% Bad IP address or host name% Unknown command or computer name, or
unable to find computer address
Router#

You might also like