bgp send-label
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-09-2014 08:19 AM
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
- Labels:
-
MPLS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-12-2014 05:48 AM
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-11-2014 09:08 PM
if you're labbing, you can use explicit-null just to see the labels! :)
