Saturday, 26 December 2020

BGP LAB DAY 5

 

 

BGP MASTER LAB

 Task :- Understanding BGP Autosummary

Autosummary is not enabled by default.

R1(config)#int loopback 100
R1(config-if)#ip add 100.0.0.1 255.255.255.0

R1(config)#router bgp 100
R1(config-router)#network 100.0.0.0
R1(config-router)#^Z

R1#sh ip bgp 100.0.0.0
% Network not in table

!!Now will enable Autosummary in BGP

R1(config)#router bgp 100
R1(config-router)#auto-summary
R1(config-router)#^Z

R1#sh ip bgp 100.0.0.0
BGP routing table entry for 100.0.0.0/8, version 20
Paths: (1 available, best #1, table default)
  Advertised to update-groups:
     2
  Refresh Epoch 1
  Local
    0.0.0.0 from 0.0.0.0 (1.1.1.1)
      Origin IGP, metric 0, localpref 100, weight 32768, valid, sourced, local, best
      rx pathid: 0, tx pathid: 0x0

Also lets check on R2

R2#sh ip bgp 100.0.0.0
BGP routing table entry for 100.0.0.0/8, version 20
Paths: (1 available, best #1, table default)
  Advertised to update-groups:
     3
  Refresh Epoch 1
  100, (received & used)
    1.1.1.1 from 1.1.1.1 (1.1.1.1)
      Origin IGP, metric 0, localpref 100, valid, external, best
      rx pathid: 0, tx pathid: 0x0

R2#ping 100.0.0.1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 100.0.0.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 20/26/36 ms

Thanks for Reading !!!!

amartechstuff






No comments:

Post a Comment