Site Tools


cisco:labs:00700

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
cisco:labs:00700 [2025/12/26 23:23] – [Verification] Namecisco:labs:00700 [2025/12/27 04:52] (current) – removed Name
Line 1: Line 1:
-====== Lab 00700 eBGP 2 Routers, IOS-XE ====== 
- 
-{{ :cisco:labs:00700.jpg?700 |}} 
- 
-  - Complete [[cisco:labs:00000|Lab 00000 Initial Config 2 Routers, IOS-XE]]\\  
- 
-===== Router 1 ===== 
-<code>en 
-conf t 
-router bgp 64512 
- bgp log-neighbor-changes 
- network 1.1.1.1 mask 255.255.255.255 
- network 12.0.0.1 mask 255.255.255.255 
- neighbor 12.0.0.2 remote-as 64512</code> 
- 
-===== Router 2 ===== 
-<code>en 
-conf t 
-router bgp 64512 
- bgp log-neighbor-changes 
- network 2.2.2.2 mask 255.255.255.255 
- network 12.0.0.2 mask 255.255.255.255 
- neighbor 12.0.0.1 remote-as 64512</code> 
- 
- 
-===== Verification ===== 
-<code>r1#ping 2.2.2.2 
-Type escape sequence to abort. 
-Sending 5, 100-byte ICMP Echos to 2.2.2.2, timeout is 2 seconds: 
-!!!!! 
-Success rate is 100 percent (5/5), round-trip min/avg/max = 1/1/3 ms</code> 
- 
-<code>r1#show ip route | b Gate 
-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 [20/0] via 12.0.0.2, 00:01:07 
-      12.0.0.0/8 is variably subnetted, 2 subnets, 2 masks 
-C        12.0.0.0/24 is directly connected, GigabitEthernet1 
-L        12.0.0.1/32 is directly connected, GigabitEthernet1</code> 
- 
-<code>r1#show ip bgp neighbors | i BGP nei|ID|BGP state 
-BGP neighbor is 12.0.0.2,  remote AS 65535, external link 
-  BGP version 4, remote router ID 2.2.2.2 
-  BGP state = Established, up for 00:02:25 
-  External BGP neighbor configured for connected checks (single-hop no-disable-connected-check)</code> 
- 
-<code>r1#show ip bgp summary 
-BGP router identifier 1.1.1.1, local AS number 64512 
-BGP table version is 3, main routing table version 3 
-2 network entries using 496 bytes of memory 
-2 path entries using 272 bytes of memory 
-2/2 BGP path/bestpath attribute entries using 576 bytes of memory 
-1 BGP AS-PATH entries using 24 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 1368 total bytes of memory 
-BGP activity 2/0 prefixes, 2/0 paths, scan interval 60 secs 
-2 networks peaked at 23:18:15 Dec 26 2025 UTC (00:04:13.091 ago) 
- 
-Neighbor        V           AS MsgRcvd MsgSent   TblVer  InQ OutQ Up/Down  State/PfxRcd 
-12.0.0.2        4        65535                    3    0    0 00:04:13        1</code> 
- 
-<code>r2#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 = 1/1/3 ms</code> 
- 
-<code>r2#show ip route | b Gate 
-Gateway of last resort is not set 
- 
-      1.0.0.0/32 is subnetted, 1 subnets 
-B        1.1.1.1 [20/0] via 12.0.0.1, 00:01:35 
-      2.0.0.0/32 is subnetted, 1 subnets 
-C        2.2.2.2 is directly connected, Loopback0 
-      12.0.0.0/8 is variably subnetted, 2 subnets, 2 masks 
-C        12.0.0.0/24 is directly connected, GigabitEthernet1 
-L        12.0.0.2/32 is directly connected, GigabitEthernet1</code> 
- 
-<code>r2#show ip bgp neighbors | i BGP nei|ID|BGP state 
-BGP neighbor is 12.0.0.1,  remote AS 64512, external link 
-  BGP version 4, remote router ID 1.1.1.1 
-  BGP state = Established, up for 00:03:34 
-  External BGP neighbor configured for connected checks (single-hop no-disable-connected-check)</code> 
- 
-<code>r2#show ip bgp summary 
-BGP router identifier 2.2.2.2, local AS number 65535 
-BGP table version is 3, main routing table version 3 
-2 network entries using 496 bytes of memory 
-2 path entries using 272 bytes of memory 
-2/2 BGP path/bestpath attribute entries using 576 bytes of memory 
-1 BGP AS-PATH entries using 24 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 1368 total bytes of memory 
-BGP activity 2/0 prefixes, 2/0 paths, scan interval 60 secs 
-2 networks peaked at 23:18:15 Dec 26 2025 UTC (00:04:41.822 ago) 
- 
-Neighbor        V           AS MsgRcvd MsgSent   TblVer  InQ OutQ Up/Down  State/PfxRcd 
-12.0.0.1        4        64512      10      10        3    0    0 00:04:41        1</code> 
-===== TCL Script ===== 
-<code>r1#tclsh 
-r1(tcl)#foreach ipaddr { 
-+>(tcl)#12.0.0.2 
-+>(tcl)#2.2.2.2 
-+>(tcl)#} { ping $ipaddr } 
-Type escape sequence to abort. 
-Sending 5, 100-byte ICMP Echos to 12.0.0.2, timeout is 2 seconds: 
-!!!!! 
-Success rate is 100 percent (5/5), round-trip min/avg/max = 1/1/1 ms 
-Type escape sequence to abort. 
-Sending 5, 100-byte ICMP Echos to 2.2.2.2, timeout is 2 seconds: 
-!!!!! 
-Success rate is 100 percent (5/5), round-trip min/avg/max = 1/1/1 ms 
-r1(tcl)#tclquit</code> 
- 
-<code>r2#tclsh 
-r2(tcl)#foreach ipaddr { 
-+>(tcl)#12.0.0.1 
-+>(tcl)#1.1.1.1 
-+>(tcl)#} { ping $ipaddr } 
-Type escape sequence to abort. 
-Sending 5, 100-byte ICMP Echos to 12.0.0.1, timeout is 2 seconds: 
-!!!!! 
-Success rate is 100 percent (5/5), round-trip min/avg/max = 1/1/2 ms 
-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 = 1/1/1 ms 
-r2(tcl)#tclquit</code> 
- 
  
cisco/labs/00700.1766791416.txt.gz · Last modified: by Name