MY 교육수강/CCNA(8.16~26)

18(목) - 실습 5 (첨부)

광천스러움 2011. 8. 18. 17:56


실습 5



PC0



PC1



PC2, PC3 - 내용 없음
PC4





라우터1
Router>
Router>!
Router>en
Router#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
Router(config)#!
Router(config)#!
Router(config)#no ip domain-lookup
Router(config)#line con 0
Router(config-line)#logging synch
Router(config-line)#exec-t 0 0
Router(config-line)#exit
Router(config)#ho R1
R1(config)#
R1(config)#
R1(config)#int fa0/0
R1(config-if)#ip add 1.10.10.1 255.255.255.0
R1(config-if)#no sh

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

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

R1(config-if)#
R1(config-if)#exit
R1(config)#
R1(config)#int s0/0
R1(config-if)#ip add 1.1.12.1
R1(config-if)#ip add 1.1.12.1 255.255.255.0
R1(config-if)#clock rate 64000
R1(config-if)#no sh

%LINK-5-CHANGED: Interface Serial0/0, changed state to down
R1(config-if)#
R1(config-if)#exit
R1(config)#
R1(config)#
R1(config)#
%LINK-5-CHANGED: Interface Serial0/0, changed state to up

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

R1(config)#
R1(config)#
R1(config)#
R1(config)#router rip
R1(config-router)#version 2
R1(config-router)#no auto-summary
R1(config-router)#network 1.1.12.0
R1(config-router)#network 1.10.10.0
R1(config-router)#do sh run
Building configuration...

Current configuration : 903 bytes
!
version 12.2
no service timestamps log datetime msec
no service timestamps debug datetime msec
no service password-encryption
!
hostname R1
!
!
!
!
!
!
!
!
!
!
!
!
no ip domain-lookup
!
!
!
!
!
!
interface FastEthernet0/0
 ip address 1.10.10.1 255.255.255.0
 duplex auto
 speed auto
!
interface FastEthernet0/1
 no ip address
 duplex auto
 speed auto
 shutdown
!
interface Serial0/0
 ip address 1.1.12.1 255.255.255.0
 clock rate 64000
!
interface Serial0/1
 no ip address
 shutdown
!
interface Serial0/2
 no ip address
 shutdown
!
interface Serial0/3
 no ip address
 shutdown
!
interface FastEthernet1/0
 no ip address
 duplex auto
 speed auto
 shutdown
!
interface FastEthernet1/1
 no ip address
 duplex auto
 speed auto
 shutdown
!
router rip
 version 2
 network 1.0.0.0
 no auto-summary
!
ip classless
!
!
!
!
!
!
!
line con 0
 exec-timeout 0 0
 logging synchronous
line vty 0 4
 login
!
!
!
end


R1(config-router)#
R1(config-router)#
R1(config-router)#
R1(config-router)#
R1(config-router)#
R1(config-router)#
R1(config-router)#
R1(config-router)#
R1(config-router)#
R1(config-router)#do sh ip rou
Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP
       D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
       N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
       E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
       i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area
       * - candidate default, U - per-user static route, o - ODR
       P - periodic downloaded static route

Gateway of last resort is not set

     1.0.0.0/24 is subnetted, 2 subnets
C       1.1.12.0 is directly connected, Serial0/0
C       1.10.10.0 is directly connected, FastEthernet0/0
R    200.200.10.0/24 [120/1] via 1.1.12.2, 00:00:08, Serial0/0
R    200.200.20.0/24 [120/1] via 1.1.12.2, 00:00:08, Serial0/0
R1(config-router)#
R1(config-router)#


라우터2
Router>
Router>!
Router>en
Router#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
Router(config)#!
Router(config)#!
Router(config)#no ip domain-lookup
Router(config)#line con 0
Router(config-line)#logging synch
Router(config-line)#exec-t 0 0
Router(config-line)#exit
Router(config)#ho R2
R2(config)#
R2(config)#
R2(config)#
R2(config)#int s0/0
R2(config-if)#ip add 1.1.12.2 255.255.255.0
R2(config-if)#
R2(config-if)#no sh

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

R2(config-if)#
R2(config-if)#
R2(config-if)#exit
R2(config)#
R2(config)#
%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0, changed state to up

R2(config)#int fa0/0
R2(config-if)#no sh

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

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

R2(config-if)#
R2(config-if)#int fa0/0.10

%LINK-5-CHANGED: Interface FastEthernet0/0.10, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0.10, changed state to up
R2(config-subif)#
R2(config-subif)#en
R2(config-subif)#encapsulation dot
R2(config-subif)#encapsulation dot1Q 10
R2(config-subif)#ip add 200.200.10.1 255.255.255.0
R2(config-subif)#exit
R2(config)#
R2(config)#int fa0/0.20

%LINK-5-CHANGED: Interface FastEthernet0/0.20, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0.20, changed state to up
R2(config-subif)#
R2(config-subif)#en
R2(config-subif)#encapsulation do
R2(config-subif)#encapsulation dot1Q 20
R2(config-subif)#ip add 200.200.20.1 255.255.255.0
R2(config-subif)#exit
R2(config)#
R2(config)#
R2(config)#do ping 1.1.12.1

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

R2(config)#
R2(config)#
R2(config)#
R2(config)#router rip
R2(config-router)#version 2
R2(config-router)#no auto-summary
R2(config-router)#network 1.0.0.0
R2(config-router)#network 200.200.10.0
R2(config-router)#network 200.200.20.0
R2(config-router)#exit
R2(config)#
R2(config)#
R2(config)#sh ip rou
            ^
% Invalid input detected at '^' marker.
 
R2(config)#ip sh rou
              ^
% Invalid input detected at '^' marker.
 
R2(config)#do sh ip rou
Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP
       D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
       N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
       E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
       i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area
       * - candidate default, U - per-user static route, o - ODR
       P - periodic downloaded static route

Gateway of last resort is not set

     1.0.0.0/24 is subnetted, 2 subnets
C       1.1.12.0 is directly connected, Serial0/0
R       1.10.10.0 [120/1] via 1.1.12.1, 00:00:22, Serial0/0
C    200.200.10.0/24 is directly connected, FastEthernet0/0.10
C    200.200.20.0/24 is directly connected, FastEthernet0/0.20
R2(config)#


스위치1 - 내용 없음
스위치2
Switch>!
Switch>en
Switch#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
Switch(config)#!
Switch(config)#!
Switch(config)#no ip domain-lookup
Switch(config)#line con 0
Switch(config-line)#logging synch
Switch(config-line)#exec-t 0 0
Switch(config-line)#exit
Switch(config)#ho sw1
sw1(config)#
sw1(config)#
sw1(config)#
sw1(config)#int range fa/10 , fa0/13
                        ^
% Invalid input detected at '^' marker.
 
sw1(config)#int range fa0/10 , fa0/13
sw1(config-if-range)#sw mo trunk

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/13, changed state to down

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

sw1(config-if-range)#
sw1(config-if-range)#exit
sw1(config)#
sw1(config)#vtp mode server
Device mode already VTP SERVER.
sw1(config)#vtp domain ccna
Changing VTP domain name from NULL to ccna
sw1(config)#vtp password cisco
Setting device VLAN database password to cisco
sw1(config)#
sw1(config)#
sw1(config)#vlan 10
sw1(config-vlan)#name vlan_10
sw1(config-vlan)#exit
sw1(config)#
sw1(config)#vlan 20
sw1(config-vlan)#name vlan_20
sw1(config-vlan)#
sw1(config-vlan)#
sw1(config-vlan)#exit
sw1(config)#
sw1(config)#
sw1(config)#do sh vlan b

VLAN Name                             Status    Ports
---- -------------------------------- --------- -------------------------------
1    default                          active    Fa0/1, Fa0/2, Fa0/3, Fa0/4
                                                Fa0/5, Fa0/6, Fa0/7, Fa0/8
                                                Fa0/9, Fa0/10, Fa0/11, Fa0/12
                                                Fa0/14, Fa0/15, Fa0/16, Fa0/17
                                                Fa0/18, Fa0/19, Fa0/20, Fa0/21
                                                Fa0/22, Fa0/23, Fa0/24
10   vlan_10                          active   
20   vlan_20                          active   
1002 fddi-default                     active   
1003 token-ring-default               active   
1004 fddinet-default                  active   
1005 trnet-default                    active   
sw1(config)#
%LINK-5-CHANGED: Interface FastEthernet0/10, changed state to up

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

sw1(config)#


스위치3
Switch>!
Switch>en
Switch#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
Switch(config)#!
Switch(config)#!
Switch(config)#no ip domain-lookup
Switch(config)#line con 0
Switch(config-line)#logging synch
Switch(config-line)#exec-t 0 0
Switch(config-line)#exit
Switch(config)#ho sw2
sw2(config)#
sw2(config)#
sw2(config)#
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/13, changed state to down

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

sw2(config)#int fa0/13
sw2(config-if)#sw mo trunk
sw2(config-if)#exit
sw2(config)#
sw2(config)#
sw2(config)#vtp mode client
Setting device to VTP CLIENT mode.
sw2(config)#vtp domain ccna
Changing VTP domain name from NULL to ccna
sw2(config)#vtp password cisco
Setting device VLAN database password to cisco
sw2(config)#do sh vlan b

VLAN Name                             Status    Ports
---- -------------------------------- --------- -------------------------------
1    default                          active    Fa0/1, Fa0/2, Fa0/3, Fa0/4
                                                Fa0/5, Fa0/6, Fa0/7, Fa0/8
                                                Fa0/9, Fa0/10, Fa0/11, Fa0/12
                                                Fa0/14, Fa0/15, Fa0/16, Fa0/17
                                                Fa0/18, Fa0/19, Fa0/20, Fa0/21
                                                Fa0/22, Fa0/23, Fa0/24
1002 fddi-default                     active   
1003 token-ring-default               active   
1004 fddinet-default                  active   
1005 trnet-default                    active   
sw2(config)#
sw2(config)#
sw2(config)#
sw2(config)#
sw2(config)#do sh vlan b

VLAN Name                             Status    Ports
---- -------------------------------- --------- -------------------------------
1    default                          active    Fa0/1, Fa0/2, Fa0/3, Fa0/4
                                                Fa0/5, Fa0/6, Fa0/7, Fa0/8
                                                Fa0/9, Fa0/10, Fa0/11, Fa0/12
                                                Fa0/14, Fa0/15, Fa0/16, Fa0/17
                                                Fa0/18, Fa0/19, Fa0/20, Fa0/21
                                                Fa0/22, Fa0/23, Fa0/24
10   vlan_10                          active   
20   vlan_20                          active   
1002 fddi-default                     active   
1003 token-ring-default               active   
1004 fddinet-default                  active   
1005 trnet-default                    active   
sw2(config)#
sw2(config)#
sw2(config)#do show vtp status
VTP Version                     : 2
Configuration Revision          : 4
Maximum VLANs supported locally : 255
Number of existing VLANs        : 7
VTP Operating Mode              : Client
VTP Domain Name                 : ccna
VTP Pruning Mode                : Disabled
VTP V2 Mode                     : Disabled
VTP Traps Generation            : Disabled
MD5 digest                      : 0x7D 0x00 0x9F 0x1F 0x64 0x9B 0x50 0x86
Configuration last modified by 0.0.0.0 at 3-1-93 00:06:16
sw2(config)#


'MY 교육수강 > CCNA(8.16~26)' 카테고리의 다른 글

19(금) - 실습 2 (첨부)  (1) 2011.08.19
정리(2) 미완성 - 실습1의 연장  (0) 2011.08.19
18(목) - 실습 1  (0) 2011.08.18
18(목) - 실습 4  (0) 2011.08.18
18(목) - 실습 3  (0) 2011.08.18