Router 0 설정
- 시리얼 포트 0/0/0 설정 -
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#int se 0/0/0
Router(config-if)#ip add 10.1.12.1 255.255.255.0
Router(config-if)#no sh
%LINK-5-CHANGED: Interface Serial0/0/0, changed state to down
%LINK-5-CHANGED: Interface Serial0/0/0, changed state to up
Router(config-if)#clock rate 64000
%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0/0, changed state to up
Router(config-if)#no sh
Router(config-if)#end
%SYS-5-CONFIG_I: Configured from console by console
- eigrp 설정 -
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#router eigrp 1
Router(config-router)#network 10.1.12.1 0.0.0.0
%DUAL-5-NBRCHANGE: IP-EIGRP 1: Neighbor 10.1.12.2 (Serial0/0/0) is up: new adjacency
Router(config-router)#end
%SYS-5-CONFIG_I: Configured from console by console
- eigrp 설정 확인 (두 라우터가 모두 설정이 완료되어야 한다.) -
Router#show ip route
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
10.0.0.0/24 is subnetted, 1 subnets
C 10.1.12.0 is directly connected, Serial0/0/0
Router#show ip eigrp neighbors
IP-EIGRP neighbors for process 1
H Address Interface Hold Uptime SRTT RTO Q Seq
(sec) (ms) Cnt Num
0 10.1.12.2 Ser0/0/0 12 00:00:39 40 1000 0 1
Router#show ip eigrp topology
IP-EIGRP Topology Table for AS 1
Codes: P - Passive, A - Active, U - Update, Q - Query, R - Reply,
r - Reply status
P 10.1.12.0/24, 1 successors, FD is 2169856
via Connected, Serial0/0/0
Router#show ip protocols
Routing Protocol is "eigrp 1 "
Outgoing update filter list for all interfaces is not set
Incoming update filter list for all interfaces is not set
Default networks flagged in outgoing updates
Default networks accepted from incoming updates
EIGRP metric weight K1=1, K2=0, K3=1, K4=0, K5=0
EIGRP maximum hopcount 100
EIGRP maximum metric variance 1
Redistributing: eigrp 1
Automatic network summarization is in effect
Automatic address summarization:
Maximum path: 4
Routing for Networks:
10.1.12.1/32
Routing Information Sources:
Gateway Distance Last Update
10.1.12.2 90 441266
Distance: internal 90 external 170
Router#debug eigrp ?
fsm EIGRP Dual Finite State Machine events/actions
packets EIGRP packets
Router#debug eigrp packets
EIGRP Packets debugging is on
(UPDATE, REQUEST, QUERY, REPLY, HELLO, ACK )
Router#
EIGRP: Received HELLO on Serial0/0/0 nbr 10.1.12.2
AS 1, Flags 0x0, Seq 2/0 idbQ 0/0
Router#
EIGRP: Sending HELLO on Serial0/0/0
AS 1, Flags 0x0, Seq 2/0 idbQ 0/0 iidbQ un/rely 0/0
Router#
EIGRP: Received HELLO on Serial0/0/0 nbr 10.1.12.2
AS 1, Flags 0x0, Seq 2/0 idbQ 0/0
Router#
EIGRP: Sending HELLO on Serial0/0/0
AS 1, Flags 0x0, Seq 2/0 idbQ 0/0 iidbQ un/rely 0/0
Router#
EIGRP: Sending HELLO on Serial0/0/0
AS 1, Flags 0x0, Seq 2/0 idbQ 0/0 iidbQ un/rely 0/0
Router#
EIGRP: Received HELLO on Serial0/0/0 nbr 10.1.12.2
AS 1, Flags 0x0, Seq 2/0 idbQ 0/0
Router#un all
All possible debugging has been turned off
- 추가로 새로운 시리얼 포트 0/0/1 설정 -
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#int se 0/0/1
Router(config-if)#ip add 10.1.21.1 255.255.255.0
Router(config-if)#no sh
%LINK-5-CHANGED: Interface Serial0/0/1, changed state to up
Router(config-if)#clock rate 64000
%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0/1, changed state to up
Router(config-if)#end
%SYS-5-CONFIG_I: Configured from console by console
- 시리얼 포트 설정 확인 -
Router#show ip int brief
Interface IP-Address OK? Method Status Protocol
FastEthernet0/0 unassigned YES manual administratively down down
FastEthernet0/1 unassigned YES manual administratively down down
Serial0/0/0 10.1.12.1 YES manual up up
Serial0/0/1 10.1.21.1 YES manual up up
Vlan1 unassigned YES manual administratively down down
Router#show ip eigrp neighbors
IP-EIGRP neighbors for process 1
H Address Interface Hold Uptime SRTT RTO Q Seq
(sec) (ms) Cnt Num
0 10.1.12.2 Ser0/0/0 12 00:07:08 40 1000 0 2
- 새로운 시리얼 포트 0/0/1 eigrp 설정 -
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#router eigrp 1
Router(config-router)#network 10.1.21.1 255.255.255.0
%DUAL-5-NBRCHANGE: IP-EIGRP 1: Neighbor 10.1.21.2 (Serial0/0/1) is up: new adjacency
Router(config-router)#end
%SYS-5-CONFIG_I: Configured from console by console
- 새로운 시리얼 포트 0/0/1 eigrp 설정 확인 -
Router#show ip eigrp neighbors
IP-EIGRP neighbors for process 1
H Address Interface Hold Uptime SRTT RTO Q Seq
(sec) (ms) Cnt Num
0 10.1.12.2 Ser0/0/0 10 00:07:37 40 1000 0 2
1 10.1.21.2 Ser0/0/1 14 00:00:05 40 1000 0 4
------------------------------------------------------------------------------------------------------------------
Router 1 설정
- 시리얼 포트 0/0/0 설정 -
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#int se 0/0/0
Router(config-if)#ip add 10.1.12.2 255.255.255.0
Router(config-if)#no sh
%LINK-5-CHANGED: Interface Serial0/0/0, changed state to down
%LINK-5-CHANGED: Interface Serial0/0/0, changed state to up
Router(config-if)#exit
Router(config)#do ping 10.1.12.1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.1.12.1, timeout is 2 seconds:
Router(config)#!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 31/31/32 ms
Router(config)#exit
%SYS-5-CONFIG_I: Configured from console by console
- eigrp 설정 -
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#router eigrp ?
<1-65535> Autonomous system number
Router(config)#router eigrp 1
Router(config-router)#network 10.1.12.2 0.0.0.0
%DUAL-5-NBRCHANGE: IP-EIGRP 1: Neighbor 10.1.12.1 (Serial0/0/0) is up: new adjacency
Router(config-router)#end
%SYS-5-CONFIG_I: Configured from console by console
- eigrp 설정 확인 (두 라우터가 모두 설정이 완료되어야 한다.) -
Router#show ip route
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
10.0.0.0/24 is subnetted, 1 subnets
C 10.1.12.0 is directly connected, Serial0/0/0
Router#show ip eigrp neighbors
IP-EIGRP neighbors for process 1
H Address Interface Hold Uptime SRTT RTO Q Seq
(sec) (ms) Cnt Num
0 10.1.12.1 Ser0/0/0 13 00:01:01 40 1000 0 1
- 새로운 시리얼 포트 0/0/1 설정 -
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#int se 0/0/1
Router(config-if)#ip add 10.1.21.2 255.255.255.0
Router(config-if)#no sh
%LINK-5-CHANGED: Interface Serial0/0/1, changed state to down
%LINK-5-CHANGED: Interface Serial0/0/1, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0/1, changed state to up
Router(config-if)#end
%SYS-5-CONFIG_I: Configured from console by console
- 새로운 시리얼 포트 0/0/1 설정 확인 -
Router#show ip route
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
10.0.0.0/24 is subnetted, 2 subnets
C 10.1.12.0 is directly connected, Serial0/0/0
C 10.1.21.0 is directly connected, Serial0/0/1
Router#show ip int brief
Interface IP-Address OK? Method Status Protocol
FastEthernet0/0 unassigned YES manual administratively down down
FastEthernet0/1 unassigned YES manual administratively down down
Serial0/0/0 10.1.12.2 YES manual up up
Serial0/0/1 10.1.21.2 YES manual up up
Vlan1 unassigned YES manual administratively down down
Router#ping 10.1.21.1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.1.21.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 31/31/32 ms
Router#show ip eigrp neighbors
IP-EIGRP neighbors for process 1
H Address Interface Hold Uptime SRTT RTO Q Seq
(sec) (ms) Cnt Num
0 10.1.12.1 Ser0/0/0 12 00:05:18 40 1000 0 1
- 새로운 시리얼 포트 0/0/1 eigrp 설정 -
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#router eigrp 1
Router(config-router)#network 10.1.21.2 255.255.255.0
%DUAL-5-NBRCHANGE: IP-EIGRP 1: Neighbor 10.1.21.1 (Serial0/0/1) is up: new adjacency
Router(config-router)#end
%SYS-5-CONFIG_I: Configured from console by console
- 새로운 시리얼 포트 0/0/1 eigrp 설정 -
Router#show ip eigrp neighbors
IP-EIGRP neighbors for process 1
H Address Interface Hold Uptime SRTT RTO Q Seq
(sec) (ms) Cnt Num
0 10.1.12.1 Ser0/0/0 13 00:07:51 40 1000 0 4
1 10.1.21.1 Ser0/0/1 13 00:00:20 40 1000 0 6
'CCNA 기초' 카테고리의 다른 글
CDP (Cisco Discovery Protocol) (0) | 2008.12.04 |
---|---|
Router Flash Backup (0) | 2008.12.04 |
IP Routing - OSPF (0) | 2008.12.03 |
IP Routing - Distance Vector RIP Version (0) | 2008.12.02 |
IP Routing - Distance Vector RIP (0) | 2008.12.02 |
IP Routing - Dynamic routing RIP 이용 (0) | 2008.12.02 |