R1#
R1#show ip route
Codes: L - local, C - connected, S - static, 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
i - IS-IS, su - IS-IS summary, 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, H - NHRP, l - LISP
+ - replicated route, % - next hop override
Gateway of last resort is not set
10.0.0.0/8 is variably subnetted, 6 subnets, 2 masks
C 10.1.1.0/24 is directly connected, Loopback0
L 10.1.1.1/32 is directly connected, Loopback0
C 10.1.2.0/24 is directly connected, Loopback1
L 10.1.2.1/32 is directly connected, Loopback1
C 10.1.3.0/24 is directly connected, Loopback2
L 10.1.3.1/32 is directly connected, Loopback2
192.168.0.0/24 is variably subnetted, 2 subnets, 2 masks
C 192.168.0.0/30 is directly connected, Serial1/0
L 192.168.0.1/32 is directly connected, Serial1/0
192.168.1.0/30 is subnetted, 1 subnets
O IA 192.168.1.0 [110/128] via 192.168.0.2, 00:00:07, Serial1/0
R1#
R1#
R1#sh ip ospf nei
Neighbor ID Pri State Dead Time Address Interface
2.2.2.2 0 FULL/ - - 192.168.0.2 OSPF_VL0
2.2.2.2 0 FULL/ - 00:00:38 192.168.0.2 Serial1/0
R1#
R1#show ip ospf virtual-links
Virtual Link OSPF_VL0 to router 2.2.2.2 is up
Run as demand circuit
DoNotAge LSA allowed.
Transit area 1, via interface Serial1/0
Topology-MTID Cost Disabled Shutdown Topology Name
0 64 no no Base
Transmit Delay is 1 sec, State POINT_TO_POINT,
Timer intervals configured, Hello 10, Dead 40, Wait 40, Retransmit 5
Hello due in 00:00:02
Adjacency State FULL (Hello suppressed)
Index 1/2, retransmission queue length 0, number of retransmission 0
First 0x0(0)/0x0(0) Next 0x0(0)/0x0(0)
Last retransmission scan length is 0, maximum is 0
Last retransmission scan time is 0 msec, maximum is 0 msec
R1#
R1#
R1#
R1#show run
Building configuration...
hostname R1
!
interface Loopback0
ip address 10.1.1.1 255.255.255.0
!
interface Loopback1
ip address 10.1.2.1 255.255.255.0
!
interface Loopback2
ip address 10.1.3.1 255.255.255.0
!
interface Serial1/0
ip address 192.168.0.1 255.255.255.252
!
router ospf 1
router-id 1.1.1.1
area 1 virtual-link 2.2.2.2
network 10.1.1.0 0.0.0.255 area 0
network 10.1.2.0 0.0.0.255 area 0
network 10.1.3.0 0.0.0.255 area 0
network 192.168.0.0 0.0.0.3 area 1
!
line con 0
line vty 0 4
!
end
R1#
R2#show ip route
Codes: L - local, C - connected, S - static, 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
i - IS-IS, su - IS-IS summary, 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, H - NHRP, l - LISP
+ - replicated route, % - next hop override
Gateway of last resort is not set
10.0.0.0/32 is subnetted, 3 subnets
O 10.1.1.1 [110/65] via 192.168.0.1, 00:02:55, Serial1/0
O 10.1.2.1 [110/65] via 192.168.0.1, 00:02:55, Serial1/0
O 10.1.3.1 [110/65] via 192.168.0.1, 00:02:55, Serial1/0
192.168.0.0/24 is variably subnetted, 2 subnets, 2 masks
C 192.168.0.0/30 is directly connected, Serial1/0
L 192.168.0.2/32 is directly connected, Serial1/0
192.168.1.0/24 is variably subnetted, 2 subnets, 2 masks
C 192.168.1.0/30 is directly connected, Serial1/1
L 192.168.1.2/32 is directly connected, Serial1/1
R2#
R2#
R2#show ip ospf virtual-links
Virtual Link OSPF_VL0 to router 1.1.1.1 is up
Run as demand circuit
DoNotAge LSA allowed.
Transit area 1, via interface Serial1/0
Topology-MTID Cost Disabled Shutdown Topology Name
0 64 no no Base
Transmit Delay is 1 sec, State POINT_TO_POINT,
Timer intervals configured, Hello 10, Dead 40, Wait 40, Retransmit 5
Hello due in 00:00:08
Adjacency State FULL (Hello suppressed)
Index 1/3, retransmission queue length 0, number of retransmission 0
First 0x0(0)/0x0(0) Next 0x0(0)/0x0(0)
Last retransmission scan length is 0, maximum is 0
Last retransmission scan time is 0 msec, maximum is 0 msec
R2#
R2#show ip ospf neighbor
Neighbor ID Pri State Dead Time Address Interface
1.1.1.1 0 FULL/ - - 192.168.0.1 OSPF_VL0
1.1.1.1 0 FULL/ - 00:00:31 192.168.0.1 Serial1/0
3.3.3.3 0 FULL/ - 00:00:37 192.168.1.1 Serial1/1
R2#
R2#
R2#sh run
Building configuration...
!
hostname R2
!
interface Serial1/0
ip address 192.168.0.2 255.255.255.252
!
interface Serial1/1
ip address 192.168.1.2 255.255.255.252
!
router ospf 1
router-id 2.2.2.2
area 1 virtual-link 1.1.1.1
network 10.2.2.0 0.0.0.255 area 2
network 192.168.0.0 0.0.0.3 area 1
network 192.168.1.0 0.0.0.3 area 2
!
line con 0
line vty 0 4
!
end
R2#
R3#show run
Building configuration...
!
hostname R3
!
interface Serial1/1
ip address 192.168.1.1 255.255.255.252
!
router ospf 1
router-id 3.3.3.3
network 192.168.1.0 0.0.0.3 area 2
!
line con 0
line vty 0 4
!
end
R3#
R3#
R3#show ip route
Codes: L - local, C - connected, S - static, 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
i - IS-IS, su - IS-IS summary, 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, H - NHRP, l - LISP
+ - replicated route, % - next hop override
Gateway of last resort is not set
10.0.0.0/32 is subnetted, 3 subnets
O IA 10.1.1.1 [110/129] via 192.168.1.2, 00:07:40, Serial1/1
O IA 10.1.2.1 [110/129] via 192.168.1.2, 00:07:40, Serial1/1
O IA 10.1.3.1 [110/129] via 192.168.1.2, 00:07:40, Serial1/1
192.168.0.0/30 is subnetted, 1 subnets
O IA 192.168.0.0 [110/128] via 192.168.1.2, 00:07:44, Serial1/1
192.168.1.0/24 is variably subnetted, 2 subnets, 2 masks
C 192.168.1.0/30 is directly connected, Serial1/1
L 192.168.1.1/32 is directly connected, Serial1/1
R3#
R3#
R3#show ip ospf nei
Neighbor ID Pri State Dead Time Address Interface
2.2.2.2 0 FULL/ - 00:00:37 192.168.1.2 Serial1/1
R3#
R3#
沒有留言:
張貼留言