R1#sh ip bgp summary
BGP router identifier 1.1.1.1, local AS number 123
BGP table version is 1, main routing table version 1
Neighbor V AS MsgRcvd MsgSent TblVer
InQ OutQ Up/Down State/PfxRcd
10.1.12.2 4 123
24 24 1
0 0 00:00:35 0
R2#sho ip bgp summary
BGP router identifier 2.2.2.2, local AS number 123
BGP table version is 1, main routing table version 1
Neighbor V AS MsgRcvd MsgSent TblVer
InQ OutQ Up/Down State/PfxRcd
10.1.12.1 4 123
24 24 1
0 0 00:00:48 0
10.1.23.3 4 123
7 7 1
0 0 00:04:56 0
R3#sho ip bgp summary
BGP router identifier 3.3.3.3, local AS number 123
BGP table version is 1, main routing table version 1
Neighbor V AS MsgRcvd MsgSent TblVer
InQ OutQ Up/Down State/PfxRcd
10.1.23.2 4 123 8
8 1 0
0 00:05:01 0
R1#sho ip route
Codes: 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
Gateway of last resort is not set
1.0.0.0/32 is
subnetted, 1 subnets
C 1.1.1.1 is
directly connected, Loopback0
2.0.0.0/32 is
subnetted, 1 subnets
B 2.2.2.2
[200/0] via 10.1.12.2, 00:00:32
10.0.0.0/24 is
subnetted, 1 subnets
C 10.1.12.0 is
directly connected, FastEthernet0/0
R2#sho ip route
Codes: 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
Gateway of last resort is not set
1.0.0.0/32 is
subnetted, 1 subnets
B 1.1.1.1
[200/0] via 10.1.12.1, 00:00:52
2.0.0.0/32 is
subnetted, 1 subnets
C 2.2.2.2 is
directly connected, Loopback0
3.0.0.0/32 is
subnetted, 1 subnets
B 3.3.3.3
[200/0] via 10.1.23.3, 00:00:14
10.0.0.0/24 is
subnetted, 2 subnets
C 10.1.12.0 is
directly connected, FastEthernet0/0
C 10.1.23.0 is
directly connected, FastEthernet1/0
R3#sho ip route
Codes: 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
Gateway of last resort is not set
2.0.0.0/32 is
subnetted, 1 subnets
B 2.2.2.2
[200/0] via 10.1.23.2, 00:00:46
3.0.0.0/32 is
subnetted, 1 subnets
C 3.3.3.3 is
directly connected, Loopback0
10.0.0.0/24 is
subnetted, 1 subnets
C 10.1.23.0 is
directly connected, FastEthernet0/0
FULLY MESHED
R1(config-router)#neighbor 10.1.23.3 remote-as 123
R3(config-router)#neighbor 10.1.12.1 remote-as 123
R1#sho run | s bgp
router bgp 123
no synchronization
bgp
log-neighbor-changes
network 1.1.1.1 mask
255.255.255.255
neighbor 10.1.12.2
remote-as 123
neighbor 10.1.23.3
remote-as 123
no auto-summary
R2#sho run | s bgp
router bgp 123
no synchronization
bgp
log-neighbor-changes
network 2.2.2.2 mask
255.255.255.255
neighbor 10.1.12.1
remote-as 123
neighbor 10.1.23.3
remote-as 123
no auto-summary
R3#sho run | s bgp
router bgp 123
no synchronization
bgp
log-neighbor-changes
network 3.3.3.3 mask
255.255.255.255
neighbor 10.1.12.1
remote-as 123
neighbor 10.1.23.2
remote-as 123
no auto-summary
R1#sh ip bgp sum
R1#sh ip bgp summary
BGP router identifier 1.1.1.1, local AS number 123
BGP table version is 3, main routing table version 3
2 network entries using 234 bytes of memory
2 path entries using 104 bytes of memory
3/2 BGP path/bestpath attribute entries using 372 bytes of
memory
0 BGP route-map cache entries using 0 bytes of memory
0 BGP filter-list cache entries using 0 bytes of memory
BGP using 710 total bytes of memory
BGP activity 2/0 prefixes, 2/0 paths, scan interval 60 secs
Neighbor V AS MsgRcvd MsgSent TblVer
InQ OutQ Up/Down State/PfxRcd
10.1.12.2 4 123
52 52 3
0 0 00:27:24 1
10.1.23.3 4 123
0 0
0 0 0 never
Active
R2#sho ip bgp su
R2#sho ip bgp summary
BGP router identifier 2.2.2.2, local AS number 123
BGP table version is 4, main routing table version 4
3 network entries using 351 bytes of memory
3 path entries using 156 bytes of memory
3/2 BGP path/bestpath attribute entries using 372 bytes of
memory
0 BGP route-map cache entries using 0 bytes of memory
0 BGP filter-list cache entries using 0 bytes of memory
BGP using 879 total bytes of memory
BGP activity 3/0 prefixes, 3/0 paths, scan interval 60 secs
Neighbor V AS MsgRcvd MsgSent TblVer
InQ OutQ Up/Down State/PfxRcd
10.1.12.1 4 123
52 52 4
0 0 00:27:54 1
10.1.23.3 4 123
36 36 4
0 0 00:32:02 1
R3#sho ip bgp sum
R3#sho ip bgp summary
BGP router identifier 3.3.3.3, local AS number 123
BGP table version is 3, main routing table version 3
2 network entries using 234 bytes of memory
2 path entries using 104 bytes of memory
3/2 BGP path/bestpath attribute entries using 372 bytes of
memory
0 BGP route-map cache entries using 0 bytes of memory
0 BGP filter-list cache entries using 0 bytes of memory
BGP using 710 total bytes of memory
BGP activity 2/0 prefixes, 2/0 paths, scan interval 60 secs
Neighbor V AS MsgRcvd MsgSent TblVer
InQ OutQ Up/Down State/PfxRcd
10.1.12.1 4 123
0 0 0
0 0 never Active
10.1.23.2 4 123
36 36 3
0 0 00:32:21 1
R1#sho tcp bri
TCB Local
Address Foreign Address (state)
64EECCA8
10.1.12.1.179
10.1.12.2.13178 ESTAB
R2#sho tcp bri
TCB Local
Address Foreign Address (state)
64EF89CC 10.1.12.2.13178 10.1.12.1.179 ESTAB
64EFB1F0
10.1.23.2.21504
10.1.23.3.179 ESTAB
R3#sho tcp bri
TCB Local
Address Foreign Address (state)
64E8A588
10.1.23.3.179
10.1.23.2.21504 ESTAB
R1(config)#router ospf 1
R1(config-router)#int fa0/0
R1(config-if)#ip ospf 1 a 0
R1(config-if)#end
R2(config)#int fa0/0
R2(config-if)#ip ospf 1 a 0
R2(config-if)#int fa1/0
R2(config-if)#ip ospf 1 a 0
R2(config-if)#end
R3(config)#int fa0/0
R3(config-if)#ip ospf 1 a 0
R3(config-if)#end
R3#sho ip route
2.0.0.0/32 is
subnetted, 1 subnets
B 2.2.2.2
[200/0] via 10.1.23.2, 00:32:36
3.0.0.0/32 is
subnetted, 1 subnets
C 3.3.3.3 is
directly connected, Loopback0
10.0.0.0/24 is
subnetted, 2 subnets
O 10.1.12.0
[110/2] via 10.1.23.2, 00:00:03, FastEthernet0/0
C 10.1.23.0 is
directly connected, FastEthernet0/0
R2#sho ip route
1.0.0.0/32 is
subnetted, 1 subnets
B 1.1.1.1
[200/0] via 10.1.12.1, 00:32:46
2.0.0.0/32 is
subnetted, 1 subnets
C 2.2.2.2 is
directly connected, Loopback0
3.0.0.0/32 is
subnetted, 1 subnets
B 3.3.3.3
[200/0] via 10.1.23.3, 00:32:08
10.0.0.0/24 is
subnetted, 2 subnets
C 10.1.12.0 is
directly connected, FastEthernet0/0
C 10.1.23.0 is
directly connected, FastEthernet1/0
R1#sho ip route
1.0.0.0/32 is
subnetted, 1 subnets
C 1.1.1.1 is
directly connected, Loopback0
2.0.0.0/32 is
subnetted, 1 subnets
B 2.2.2.2
[200/0] via 10.1.12.2, 00:32:02
10.0.0.0/24 is
subnetted, 2 subnets
C 10.1.12.0 is
directly connected, FastEthernet0/0
10.1.23.0 [110/2]
via 10.1.12.2, 00:00:01, FastEthernet0/0
R1#sho tcp bri
TCB Local
Address Foreign Address (state)
64EECCA8
10.1.12.1.179
10.1.12.2.13178 ESTAB
64F520B0
10.1.12.1.179
10.1.23.3.64181 ESTAB
R3#sho tcp bri
TCB Local
Address Foreign Address (state)
6411F524
10.1.23.3.64181
10.1.12.1.179 ESTAB
64E8A588
10.1.23.3.179
10.1.23.2.21504 ESTAB
R1#ping 3.3.3.3
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 3.3.3.3, timeout is 2
seconds:
!!!!!
R3#ping 1.1.1.1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 1.1.1.1, timeout is 2
seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max =
20/31/40 ms
0 comments:
Post a Comment