R1#sho ip int bri
Interface
IP-Address OK? Method
Status Protocol
FastEthernet0/0
10.1.13.1 YES manual up up
FastEthernet1/0
10.1.12.1 YES manual up up
FastEthernet2/0
unassigned YES unset administratively down down
Loopback0
1.1.1.1 YES manual up up
R2#sho ip int bri
Interface
IP-Address OK? Method
Status Protocol
FastEthernet0/0
10.1.12.2 YES manual up up
FastEthernet1/0
10.1.25.2 YES manual up up
FastEthernet2/0
unassigned YES unset administratively down down
Loopback0
2.2.2.2 YES manual up up
R3#sho ip int bri
Interface
IP-Address OK? Method
Status Protocol
FastEthernet0/0
10.1.34.3 YES manual up up
FastEthernet1/0
10.1.13.3 YES manual up up
Loopback0
3.3.3.3 YES manual up up
R4#sho ip int bri
Interface
IP-Address OK? Method
Status Protocol
FastEthernet0/0
10.1.34.4 YES manual up up
Loopback0
4.4.4.4 YES manual up up
R5#sho ip int bri
Interface
IP-Address OK? Method
Status Protocol
FastEthernet0/0
10.1.25.5 YES manual up up
Loopback0
5.5.5.5 YES manual up up
R1#sho run | s ospf
router ospf 1
log-adjacency-changes
no auto-cost
area 1 nssa
network 1.1.1.0
0.0.0.255 area 0
network 10.1.12.0
0.0.0.255 area 0
network 10.1.13.0
0.0.0.255 area 1
R2#sho run | s ospf
router ospf 1
log-adjacency-changes
no auto-cost
network 2.2.2.0
0.0.0.255 area 0
network 10.1.12.0
0.0.0.255 area 0
network 10.1.25.0
0.0.0.255 area 2
R3#sho run | s ospf
redistribute ospf 1
metric 1 1 1 1 1
router ospf 1
log-adjacency-changes
area 1 nssa
redistribute eigrp
100 metric-type 1 subnets
network 3.3.3.0
0.0.0.255 area 1
network 10.1.13.0
0.0.0.255 area 1
R3#sho run | s eigrp
router eigrp 100
redistribute ospf 1
metric 1 1 1 1 1
network 10.1.34.0
0.0.0.255
no auto-summary
redistribute eigrp
100 metric-type 1 subnets
R4#sho run | s eigrp
router eigrp 100
network 4.4.4.0
0.0.0.255
network 10.1.34.0 0.0.0.255
no auto-summary
R5#sho run | s ospf
router ospf 1
log-adjacency-changes
no auto-cost
network 5.5.5.0
0.0.0.255 area 2
network 10.1.25.0
0.0.0.255 area 2
R2#sho ip ospf neighbor
Neighbor ID
Pri State Dead Time Address
Interface
1.1.1.1
1 FULL/BDR 00:00:35 10.1.12.1 FastEthernet0/0
5.5.5.5
1 FULL/DR 00:00:37 10.1.25.5 FastEthernet1/0
R2#sho ip ospf
database
OSPF
Router with ID (2.2.2.2) (Process ID 1)
Router
Link States (Area 0) LSA Type 1
Link ID ADV
Router Age Seq# Checksum Link count
1.1.1.1
1.1.1.1 927 0x80000006 0x0015BE 2
2.2.2.2 2.2.2.2 1589 0x80000006 0x0023A5 2
Net
Link States (Area 0) LSA Type 2
Link ID ADV
Router Age Seq# Checksum
10.1.12.2
2.2.2.2 1589 0x80000002 0x00B05B
Summary
Net Link States (Area 0) LSA Type 3
Link ID ADV
Router Age Seq# Checksum
3.3.3.3
1.1.1.1 901 0x80000001 0x004FD2
5.5.5.5
2.2.2.2 1589 0x80000002 0x00D242
10.1.13.0
1.1.1.1 1524 0x80000003 0x00AD67
10.1.25.0
2.2.2.2 1589 0x80000003 0x000BF9
Router
Link States (Area 2) LSA Type 1
Link ID ADV
Router Age Seq# Checksum Link count
2.2.2.2
2.2.2.2 1589 0x80000003 0x003493 1
5.5.5.5
5.5.5.5 1651 0x80000005 0x009BEA 2
Net
Link States (Area 2) LSA Type 2
Link ID ADV
Router Age Seq# Checksum
10.1.25.5
5.5.5.5 1651 0x80000002 0x00419E
Summary
Net Link States (Area 2) LSA Type 3
Link ID ADV
Router Age Seq# Checksum
1.1.1.1
2.2.2.2 1591 0x80000002 0x008B99
2.2.2.2
2.2.2.2 1591 0x80000002 0x00F832
3.3.3.3 2.2.2.2
902 0x80000001 0x00957E
10.1.12.0
2.2.2.2 1591 0x80000003 0x009A77
10.1.13.0
2.2.2.2 1591 0x80000003 0x00F313
Summary
ASB Link States (Area 2) LSA Type 4
Link ID ADV
Router Age
Seq# Checksum
1.1.1.1
2.2.2.2 924 0x80000001 0x0075B0
Type-5
AS External Link States LSA Type 5
Link ID ADV
Router Age Seq# Checksum Tag
4.4.4.0
1.1.1.1 902 0x80000001 0x004CB8 0
10.1.34.0
1.1.1.1 905 0x80000001 0x00D60D 0
R1(config)#router ospf 1
R1(config-router)#area 1 nssa
R3(config)#router ospf 1
R3(config-router)#area 1 nssa
R1#sho ip ospf database
OSPF
Router with ID (1.1.1.1) (Process ID 1)
Router
Link States (Area 0) LSA Type 1
Link ID ADV
Router Age Seq# Checksum Link count
1.1.1.1
1.1.1.1 1551 0x80000006 0x0015BE 2
2.2.2.2 2.2.2.2 219 0x80000007 0x0021A6 2
Net
Link States (Area 0) LSA Type 2
Link ID ADV
Router Age Seq# Checksum
10.1.12.2
2.2.2.2 219 0x80000003 0x00AE5C
Summary
Net Link States (Area 0) LSA Type 3
Link ID ADV
Router Age Seq# Checksum
3.3.3.3
1.1.1.1 1525 0x80000001 0x004FD2
5.5.5.5
2.2.2.2 219 0x80000003 0x00D043
10.1.13.0
1.1.1.1 123 0x80000004 0x00AB68
10.1.25.0
2.2.2.2 219 0x80000004 0x0009FA
Router
Link States (Area 1) LSA Type 1
Link ID ADV
Router Age Seq# Checksum Link count
1.1.1.1
1.1.1.1 1530 0x80000006 0x00FAE4 1
3.3.3.3
3.3.3.3 1530 0x80000007 0x005B5E 2
Net
Link States (Area 1)
LSA Type 2
Link ID ADV
Router Age Seq# Checksum
10.1.13.3
3.3.3.3 1533 0x80000001 0x0047B5
Summary
Net Link States (Area 1) LSA Type 3
Link ID ADV
Router Age Seq# Checksum
1.1.1.1
1.1.1.1 1554 0x80000003 0x00E843
2.2.2.2
1.1.1.1 1554 0x80000004 0x001DFF
5.5.5.5
1.1.1.1 1554 0x80000004 0x00F610
10.1.12.0
1.1.1.1 1554 0x80000004 0x005CB2
10.1.25.0
1.1.1.1 1554 0x80000004 0x0031C6
Type-7
AS External Link States (Area 1) LSA Type 7
Link ID ADV
Router Age Seq# Checksum Tag
4.4.4.0
3.3.3.3 1534 0x80000001 0x007B77 0
10.1.34.0
3.3.3.3 1535 0x80000001 0x0006CB 0
Type-5
AS External Link States LSA Type 5
Link ID ADV
Router Age Seq# Checksum Tag
4.4.4.0
1.1.1.1 1529 0x80000001 0x004CB8 0
10.1.34.0
1.1.1.1 1529 0x80000001 0x00D60D 0
Before nssa
R1#sho ip ospf database external
OSPF
Router with ID (1.1.1.1) (Process ID 1)
Type-5
AS External Link States
Routing Bit Set on
this LSA
LS age: 29
Options: (No
TOS-capability, DC)
LS Type: AS External
Link
Link State ID:
4.4.4.0 (External Network Number )
Advertising Router:
3.3.3.3
LS Seq Number:
80000001
Checksum: 0x798F
Length: 36
Network Mask: /24
Metric
Type: 1 (Comparable directly to link state metric)
TOS: 0
Metric: 20
Forward
Address: 0.0.0.0
External
Route Tag: 0
Routing Bit Set on
this LSA
LS age: 28
Options: (No
TOS-capability, DC)
LS Type: AS External
Link
Link State ID:
10.1.34.0 (External Network Number )
Advertising Router:
3.3.3.3
LS Seq Number:
80000001
Checksum: 0x4E3
Length: 36
Network Mask: /24
Metric Type:
1 (Comparable directly to link state metric)
TOS: 0
Metric: 20
Forward Address: 0.0.0.0
External
Route Tag: 0
After nssa
R1#sho ip ospf database external
OSPF
Router with ID (1.1.1.1) (Process ID 1)
Type-5
AS External Link States
LS age: 1727
Options: (No
TOS-capability, DC)
LS Type: AS External
Link
Link State ID:
4.4.4.0 (External Network Number )
Advertising Router:
1.1.1.1
LS Seq Number:
80000001
Checksum: 0x4CB8
Length: 36
Network Mask: /24
Metric Type:
1 (Comparable directly to link state metric)
TOS: 0
Metric: 20
Forward
Address: 3.3.3.3
External
Route Tag: 0
LS age: 1727
Options: (No
TOS-capability, DC)
LS Type: AS External
Link
Link State ID:
10.1.34.0 (External Network Number )
Advertising Router: 1.1.1.1
LS Seq Number:
80000001
Checksum: 0xD60D
Length: 36
Network Mask: /24
Metric
Type: 1 (Comparable directly to link state metric)
TOS: 0
Metric: 20
Forward Address: 3.3.3.3
External
Route Tag: 0
R4#sho ip route
Gateway of last resort is not set
1.0.0.0/32 is
subnetted, 1 subnets
D EX 1.1.1.1
[170/2560002816] via 10.1.34.3, 00:01:44, FastEthernet0/0
2.0.0.0/32 is
subnetted, 1 subnets
D EX 2.2.2.2
[170/2560002816] via 10.1.34.3, 00:01:44, FastEthernet0/0
3.0.0.0/24 is
subnetted, 1 subnets
D EX 3.3.3.0
[170/2560002816] via 10.1.34.3, 00:47:14, FastEthernet0/0
4.0.0.0/24 is
subnetted, 1 subnets
C 4.4.4.0 is
directly connected, Loopback0
5.0.0.0/32 is
subnetted, 1 subnets
D EX 5.5.5.5
[170/2560002816] via 10.1.34.3, 00:01:46, FastEthernet0/0
10.0.0.0/24 is
subnetted, 4 subnets
D EX 10.1.13.0
[170/2560002816] via 10.1.34.3, 00:47:16, FastEthernet0/0
D EX 10.1.12.0
[170/2560002816] via 10.1.34.3, 00:01:46, FastEthernet0/0
D EX 10.1.25.0
[170/2560002816] via 10.1.34.3, 00:01:47, FastEthernet0/0
C 10.1.34.0 is
directly connected, FastEthernet0/0
R5#sho ip route
Gateway of last resort is not set
1.0.0.0/32 is
subnetted, 1 subnets
O IA 1.1.1.1 [110/21]
via 10.1.25.2, 01:16:50, FastEthernet0/0
2.0.0.0/32 is
subnetted, 1 subnets
O IA 2.2.2.2
[110/11] via 10.1.25.2, 01:17:46, FastEthernet0/0
3.0.0.0/32 is
subnetted, 1 subnets
O IA 3.3.3.3
[110/31] via 10.1.25.2, 00:02:28, FastEthernet0/0
4.0.0.0/24 is
subnetted, 1 subnets
O E1 4.4.4.0
[110/50] via 10.1.25.2, 00:02:25, FastEthernet0/0
5.0.0.0/24 is
subnetted, 1 subnets
C 5.5.5.0 is
directly connected, Loopback0
10.0.0.0/24 is
subnetted, 4 subnets
O IA 10.1.13.0
[110/30] via 10.1.25.2, 01:16:34, FastEthernet0/0
O IA 10.1.12.0
[110/20] via 10.1.25.2, 01:17:40, FastEthernet0/0
C 10.1.25.0 is
directly connected, FastEthernet0/0
O E1 10.1.34.0
[110/50] via 10.1.25.2, 00:02:27, FastEthernet0/0
R4#ping 5.5.5.5
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 5.5.5.5, timeout is 2
seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max =
40/88/192 ms
R5#ping 4.4.4.4
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 4.4.4.4, timeout is 2
seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max =
20/60/96 ms
0 comments:
Post a Comment