cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Bookmark
|
Subscribe
|
2311
Views
5
Helpful
2
Replies

bgp send-label

ar
Level 1
Level 1

I am simulating basing bgp send-label functionality.

I have two routers.

 

R1 <--> R2

 

-Running ISIS as IGP

-Ibgp peer using loopback

-running bgp with send-label

 

R1 advertising 1.1.1.1 loopback IP

R2 advertising 2.2.2.2 loopback IP

 

But there are no labels..

 


R1#sho ip bgp labels
   Network          Next Hop      In label/Out label
   1.1.1.1/32       0.0.0.0         imp-null/nolabel
   2.2.2.2/32       2.2.2.2         nolabel/imp-null

 

 

R1

router bgp 1
 bgp log-neighbor-changes
 neighbor 2.2.2.2 remote-as 1
 neighbor 2.2.2.2 update-source Loopback0
 !
 address-family ipv4
  no synchronization
  network 1.1.1.1 mask 255.255.255.255
  neighbor 2.2.2.2 activate
  neighbor 2.2.2.2 send-label
  no auto-summary
 exit-address-family

 

 

R2

router bgp 1
 bgp log-neighbor-changes
 neighbor 1.1.1.1 remote-as 1
 neighbor 1.1.1.1 update-source Loopback0
 !
 address-family ipv4
  no synchronization
  network 2.2.2.2 mask 255.255.255.255
  neighbor 1.1.1.1 activate
  neighbor 1.1.1.1 send-label
  no auto-summary
 exit-address-family

 

Any other things I need to consider here?

 

thanks

 

2 Replies 2

medhat elsaeed
Level 1
Level 1

Hello,

 

 

actually the labels are here but it has the value of IMPLICIT_NULL

 

check the output of the show ip bgp x.x.x.x

 

R1#sh ip bgp 33.33.33.33
BGP routing table entry for 33.33.33.33/32, version 18
Paths: (1 available, best #1, table default)
  Not advertised to any peer
  Local
    3.3.3.3 (metric 3) from 3.3.3.3 (3.3.3.3)
      Origin incomplete, metric 0, localpref 100, valid, internal, best
      mpls labels in/out nolabel/imp-null   ---> This is the label value

 

Regards.

pabloboscariol
Level 1
Level 1

if you're labbing, you can use explicit-null just to see the labels! :)