096.55555.69
096.888.6300
0915.183535
0915.363436

CCNA R&S (CCNA5.0) Cấu hình Cơ bản và định tuyến IPv4, IPv6 trong bài lab openlab1-s2new (Phần 1)

CCNA R&S (CCNA5.0) Cấu hình Cơ bản và định tuyến IPv4, IPv6 trong bài lab openlab1-s2new (Phần 1)

thietbivienthongbachkhoa.com

Đề Bài

(up hình ảnh sau)

 

Soạn mẫu trên notepad:

 

Cau hinh BR1

copy doan cau hinh paste vao router>

ena

conf t

hos BR1

enable secret cisco@sec

line con 0

pass cisco@sec

login

exit

access-list 10 permit 172.16.1.0 0.0.0.255

line vty 0 4

access-class 10 in

password cisco@telnet

login

exit

interface GigabitEthernet0/0

ip address 10.1.1.1 255.255.255.0

no shut

interface GigabitEthernet0/1

ip address 10.1.12.1 255.255.255.0

no shut

exit

router rip

version 2

network 10.0.0.0

no auto-summary

exit

exit

wr

 

Sauk hi paste:

Router>

Router>

Router>ena

Router#conf t

Enter configuration commands, one per line.  End with CNTL/Z.

Router(config)#hos BR1

BR1(config)#enable secret cisco@sec

BR1(config)#line con 0

BR1(config-line)#pass cisco@sec

BR1(config-line)#login

BR1(config-line)#exit

BR1(config)#access-list 10 permit 172.16.1.0 0.0.0.255

BR1(config)#line vty 0 4

BR1(config-line)#access-class 10 in

BR1(config-line)#password cisco@telnet

BR1(config-line)#login

BR1(config-line)#exit

BR1(config)#interface GigabitEthernet0/0

BR1(config-if)#ip address 10.1.1.1 255.255.255.0

BR1(config-if)#no shut

 

BR1(config-if)#interface GigabitEthernet0/1

BR1(config-if)#ip address 10.1.12.1 255.255.255.0

BR1(config-if)#no shut

 

BR1(config-if)#exit

BR1(config)#router rip

BR1(config-router)#version 2

BR1(config-router)#network 10.0.0.0

BR1(config-router)#no auto-summary

%LINK-5-CHANGED: Interface GigabitEthernet0/0, changed state to up

 

%LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/0, changed state to up

 

%LINK-5-CHANGED: Interface GigabitEthernet0/1, changed state to up

           

BR1(config-router)#

BR1(config-router)#

BR1(config-router)#exit

BR1(config)#exit

BR1#

%SYS-5-CONFIG_I: Configured from console by console

 

BR1#wr

BR1#

 

 

Cau hinh Gate2

Sau crack pass

ena

conf t

hos GATE2

enable secret cisco@sec

line con 0

pass cisco@sec

login

exit

access-list 10 permit 172.16.1.0 0.0.0.255

line vty 0 4

access-class 10 in

password cisco@telnet

login

exit

interface GigabitEthernet0/0

ip address 192.168.123.2 255.255.255.0

no shut

interface GigabitEthernet0/1

ip address 10.1.12.2 255.255.255.0

no shut

exit

router rip

version 2

network 10.0.0.0

no auto-summary

redistribute ospf 1 metric 2

exit

router ospf 1

router-id 2.2.2.2

redistribute rip metric 100 subnets

network 192.168.123.0 0.0.0.255 area 0

exit

exit

wr

 

Router>

Router>ena

Router#conf t

Enter configuration commands, one per line.  End with CNTL/Z.

Router(config)#hos GATE2

GATE2(config)#enable secret cisco@sec

GATE2(config)#line con 0

GATE2(config-line)#pass cisco@sec

GATE2(config-line)#login

GATE2(config-line)#exit

GATE2(config)#access-list 10 permit 172.16.1.0 0.0.0.255

GATE2(config)#line vty 0 4

GATE2(config-line)#access-class 10 in

GATE2(config-line)#password cisco@telnet

GATE2(config-line)#login

GATE2(config-line)#exit

GATE2(config)#interface GigabitEthernet0/0

GATE2(config-if)#ip address 192.168.123.2 255.255.255.0

GATE2(config-if)#no shut

 

GATE2(config-if)#interface GigabitEthernet0/1

GATE2(config-if)#ip address 10.1.12.2 255.255.255.0

GATE2(config-if)#no shut

 

GATE2(config-if)#exit

GATE2(config)#router rip

GATE2(config-router)#version 2

GATE2(config-router)#network 10.0.0.0

GATE2(config-router)#no auto-summary

GATE2(config-router)#redistribute ospf 1 metric 2

GATE2(config-router)#exit

GATE2(config)#router ospf 1

GATE2(config-router)#router-id 2.2.2.2

GATE2(config-router)#redistribute rip metric 100 subnets

GATE2(config-router)#network 192.168.123.0 0.0.0.255 area 0

GATE2(config-router)#exit

GATE2(config)#exit

GATE2#wr

Normal 0 false false false EN-US X-NONE X-NONE MicrosoftInternetExplorer4

 

Cấu hình BR2

ena

conf t

hos BR2

enable secret cisco@sec

line con 0

pass cisco@sec

login

exit

access-list 10 permit 172.16.1.0 0.0.0.255

line vty 0 4

access-class 10 in

password cisco@telnet

login

exit

interface GigabitEthernet0/0

ip address 10.2.2.2 255.255.255.0

no shut

interface GigabitEthernet0/1

ip address 10.2.13.2 255.255.255.0

no shut

exit

router eigrp 100

network 10.2.2.0 0.0.0.255

network 10.2.23.0 0.0.0.255

no auto-summary

exit

exit

wr

 

Router>

Router>

Router>ena

Router#conf t

Enter configuration commands, one per line.  End with CNTL/Z.

Router(config)#hos BR2

BR2(config)#enable secret cisco@sec

BR2(config)#line con 0

BR2(config-line)#pass cisco@sec

BR2(config-line)#login

BR2(config-line)#exit

BR2(config)#access-list 10 permit 172.16.1.0 0.0.0.255

BR2(config)#line vty 0 4

BR2(config-line)#access-class 10 in

BR2(config-line)#password cisco@telnet

BR2(config-line)#login

BR2(config-line)#exit

BR2(config)#interface GigabitEthernet0/0

BR2(config-if)#ip address 10.2.2.2 255.255.255.0

BR2(config-if)#no shut

 

BR2(config-if)#interface GigabitEthernet0/1

BR2(config-if)#ip address 10.2.13.2 255.255.255.0

BR2(config-if)#no shut

 

BR2(config-if)#exit

BR2(config)#router eigrp 100

BR2(config-router)#network 10.2.2.0 0.0.0.255

BR2(config-router)#network 10.2.23.0 0.0.0.255

BR2(config-router)#no auto-summary

BR2(config-router)#exit

BR2(config)#exit

BR2#wr

 

  Normal 0 false false false EN-US X-NONE X-NONE MicrosoftInternetExplorer4

 

Cấu hình Gate3

ena

conf t

hos GATE3

enable secret cisco@sec

line con 0

pass cisco@sec

login

exit

access-list 10 permit 172.16.1.0 0.0.0.255

line vty 0 4

access-class 10 in

password cisco@telnet

login

exit

interface GigabitEthernet0/0

ip address 192.168.123.3 255.255.255.0

no shut

interface GigabitEthernet0/1

ip address 10.2.23.3 255.255.255.0

no shut

exit

router eigrp 100

network 10.2.23.0 0.0.0.255

no auto-summary

redistribute ospf 1 metric 10 10 10 10 10

exit

router ospf 1

router-id 3.3.3.3

redistribute eigrp 100 metric 200 metric-type 1 subnets

network 192.168.123.0 0.0.0.255 area 0

exit

exit

wr

 

Router>

Router>ena

Router#conf t

Enter configuration commands, one per line.  End with CNTL/Z.

Router(config)#hos GATE3

GATE3(config)#enable secret cisco@sec

GATE3(config)#line con 0

GATE3(config-line)#pass cisco@sec

GATE3(config-line)#login

GATE3(config-line)#exit

GATE3(config)#access-list 10 permit 172.16.1.0 0.0.0.255

GATE3(config)#line vty 0 4

GATE3(config-line)#access-class 10 in

GATE3(config-line)#password cisco@telnet

GATE3(config-line)#login

GATE3(config-line)#exit

GATE3(config)#interface GigabitEthernet0/0

GATE3(config-if)#ip address 192.168.123.3 255.255.255.0

GATE3(config-if)#no shut

 

GATE3(config-if)#interface GigabitEthernet0/1

GATE3(config-if)#ip address 10.2.23.3 255.255.255.0

GATE3(config-if)#no shut

 

GATE3(config-if)#exit

GATE3(config)#router eigrp 100

GATE3(config-router)#network 10.2.23.0 0.0.0.255

GATE3(config-router)#no auto-summary

GATE3(config-router)#redistribute ospf 1 metric 10 10 10 10 10

GATE3(config-router)#exit

GATE3(config)#router ospf 1

GATE3(config-router)#router-id 3.3.3.3

GATE3(config-router)#redistribute eigrp 100 metric 200 metric-type 1 subnets

GATE3(config-router)#network 192.168.123.0 0.0.0.255 area 0

GATE3(config-router)#exit

GATE3(config)#exit

GATE3#wr

 

Nguồn: Trung tâm thiết bị viễn thông bách khoa

Tags:
Nhắn tin qua Facebook