6/28/2019

BGP Origin Attribute

3 possible BGP origin attributes - Incomplete, IGP and EGP. EGP is never used. 

  • If redistributed, the origin is Incomplete
  • If network command, the origin is IGP
For example:

ip route 88.88.88.0/24 Loopback88 <<< static route
!
interface Loopback88

   ip address 88.88.88.1/32
!
router bgp 4
   redistribute static
   address-family ipv4
      network 88.88.88.1/32

R4#sh ip bgp 88.88.88.0/24
BGP routing table entry for 88.88.88.0/24
 Paths: 1 available
  Local
    - from - (0.0.0.0)
      Origin INCOMPLETE, metric -, localpref -, weight 0, valid, local, best, redistributed (Static)

R4#sh ip bgp 88.88.88.1/32
BGP routing table entry for 88.88.88.1/32
 Paths: 1 available
  Local
    - from - (0.0.0.0)
      Origin IGP, metric -, localpref -, weight 0, valid, local, best

No comments:

Post a Comment