frr
frr copied to clipboard
The mpls label is announced but not used
Describe the bug
- [X ] Did you check if this is a duplicate issue?
- [ ] Did you test it on the latest FRRouting/frr master branch?
To Reproduce
- Enabling mpls ldp
- (Egress LSR) Use (ip.addr example) "show mpls ldp binding 1.1.1.1/32" and see in dst.addr mpls label in use is ALL "no". And no label was installed in the mpls table "show mpls table".
- (P-router) Login other neighbor and use "show mpls ldp binding 1.1.1.1/32" and see in dst.addr mpls label in use one "yes". But all traffic is dropped, because the first host does not know anything about this tag, although he announced it himself
Expected behavior
Egress LSR instal mpls table in LIB and them announcement it his neighbors Screenshots
Versions
- OS Version: Ubuntu 21.04
- Kernel: 5.11.0-49-generic
- FRR Version: 8.1_git
Additional context
can you please provide actual configs and some more useful data to help us figure out what is going on?
Hi,
I notice the seme strange bahavior on my router R02.
OS: Debian Bullseye Kernel: SMP PREEMPT_DYNAMIC Debian 5.19.6-1 FRR: Latest git compiled today 12/09/2022. Also before installing the latest version of FRR on R02 I was running the same version as R01.
I tried to changed from dummy interface to lo
without success.
It doesn't metter if I'm running dual-stack on IPv4 or IPv6, the behavior is the same.
Also I notice today that from time to time it was able to create the labels for incoming prefixes, but I have no clue what is the cause.
Minimal config:
Current configuration:
!
frr version 8.4-dev
frr defaults traditional
hostname R02
log syslog
log facility syslog
log timestamp precision 4
no debug ospf6 message unknown
service integrated-vtysh-config
!
debug mpls ldp discovery hello recv
debug mpls ldp discovery hello sent
debug mpls ldp errors
debug mpls ldp event
debug mpls ldp labels
debug mpls ldp messages recv
debug mpls ldp messages sent
debug mpls ldp zebra
debug mpls ldp sync
!
interface lo
description Loopback
ip address 10.100.2.1/32
ip ospf 1 area 0
ip ospf passive
ip router isis EasyNet
ipv6 address 2a00:ece1:2:f000:8000::2/128
ipv6 ospf6 area 0
ipv6 router isis EasyNet
isis passive
mpls
no link-detect
exit
!
interface gi2-0
description R01-R02 / LINK 2 / BACKBONE
ip address 10.100.0.10/30
ip ospf 1 area 0
ip ospf bfd
ip ospf cost 200
ip ospf network point-to-point
ip router isis EasyNet
ipv6 address 2a00:ece1:2:f000:8000:1:0:10/126
ipv6 ospf6 area 0
ipv6 ospf6 bfd
ipv6 ospf6 cost 200
ipv6 ospf6 network point-to-point
ipv6 router isis EasyNet
isis bfd
isis network point-to-point
mpls
mpls bgp forwarding
multicast
exit
!
interface po2
bandwidth 3000
description R01-R02 / LINK 1 / via Po13-Po11 / to R01-Po2
ip address 10.100.0.6/30
ip ospf 1 area 0
ip ospf bfd
ip ospf mpls ldp-sync
ip ospf network point-to-point
ip pim
ip router isis EasyNet
ipv6 address 2a00:ece1:2:f000:8000:1:0:6/126
ipv6 ospf6 area 0
ipv6 ospf6 bfd
ipv6 ospf6 network point-to-point
ipv6 router isis EasyNet
isis bfd
isis network point-to-point
mpls
mpls bgp forwarding
multicast
exit
!
router ospf 1
ospf router-id 10.100.2.1
log-adjacency-changes
compatible rfc1583
area 10 stub no-summary
distance 120
exit
!
router ospf6
ospf6 router-id 10.100.2.1
distance 120
exit
!
!
mpls ldp
router-id 10.100.2.1
dual-stack transport-connection prefer ipv4
neighbor 10.100.1.1 password PASSWORD
!
address-family ipv4
discovery transport-address 10.100.2.1
label local advertise explicit-null
!
neighbor 10.100.1.1 targeted
!
interface gi2-0
exit
!
interface po2
exit
!
interface tun110
exit
!
exit-address-family
!
address-family ipv6
discovery transport-address 2a00:ece1:2:f000:8000::2
label local advertise explicit-null
!
neighbor 2a00:ece1:2:f000:8000::1 targeted
!
interface gi2-0
exit
!
interface po2
exit
!
exit-address-family
!
exit
!
router isis EasyNet
net 49.0001.0101.9000.0002.00
fast-reroute load-sharing disable level-1
fast-reroute lfa tiebreaker lowest-backup-metric index 1 level-1
fast-reroute load-sharing disable level-2
exit
!
Output:
R02(config-if)# do sh mpls ldp neighbor
AF ID State Remote Address Uptime
ipv4 10.100.1.1 OPERATIONAL 10.100.1.1 00:00:46
R02(config-if)# do sh mpls ldp binding
AF Destination Nexthop Local Label Remote Label In Use
ipv4 10.1.1.64/32 0.0.0.0 19 - no
ipv4 10.1.2.8/30 0.0.0.0 20 - no
ipv4 10.1.2.12/30 0.0.0.0 21 - no
ipv4 10.100.0.4/30 0.0.0.0 exp-null - no
ipv4 10.100.0.8/30 0.0.0.0 exp-null - no
ipv4 10.100.1.0/32 0.0.0.0 22 - no
ipv4 10.100.1.1/32 0.0.0.0 23 - no
ipv4 10.100.2.1/32 0.0.0.0 exp-null - no
ipv4 10.101.1.12/30 0.0.0.0 24 - no
ipv4 89.38.58.2/32 0.0.0.0 exp-null - no
ipv6 2a00:ece1:2:f000:8000::1/128
0.0.0.0 16 - no
ipv6 2a00:ece1:2:f000:8000::2/128
0.0.0.0 exp-null - no
ipv6 2a00:ece1:2:f000:8000:1:0:4/126
0.0.0.0 exp-null - no
ipv6 2a00:ece1:2:f000:8000:1:0:8/126
0.0.0.0 17 - no
ipv6 2a00:ece1:2:f000:8000:1:0:10/126
0.0.0.0 exp-null - no
ipv6 2a00:ece1:2:f000:8000:1:1000:0/126
0.0.0.0 18 - no
R02(config-if)# do sh mpls table
Inbound Label Type Nexthop Outbound Label
-----------------------------------------------
80 BGP internet -
81 BGP internet -
82 BGP esxi -
83 BGP esxi -
84 BGP servers -
85 BGP servers -
86 BGP mgmt -
87 BGP mgmt -
88 BGP servers2 -
89 BGP servers2 -
90 BGP vpn -
91 BGP vpn -
R02(config-if)# do sh ip ospf neighbor
OSPF Instance: 1
Neighbor ID Pri State Up Time Dead Time Address Interface RXmtL RqstL DBsmL
10.100.1.1 1 Full/- 7m42s 31.412s 10.100.0.9 gi2-0:10.100.0.10 0 0 0
10.100.1.1 1 Full/- 7m42s 31.652s 10.100.0.5 po2:10.100.0.6 0 0 0
% OSPF is not enabled in vrf default
% OSPF is not enabled in vrf default
% OSPF is not enabled in vrf default
R02(config-if)# do sh ipv6 ospf6 neighbor
Neighbor ID Pri DeadTime State/IfState Duration I/F[State]
10.100.1.1 1 00:00:38 Full/PointToPoint 00:08:01 gi2-0[PointToPoint]
10.100.1.1 1 00:00:39 Full/PointToPoint 00:08:00 po2[PointToPoint]
R02(config-if)# do sh isis neighbor
Area EasyNet:
System Id Interface L State Holdtime SNPA
R01 gi2-0 3 Up 30 2020.2020.2020
R01 po2 3 Up 29 2020.2020.2020
R02(config-if)# do sh ip route
Codes: K - kernel route, C - connected, S - static, R - RIP,
O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
O[1]>* 10.1.1.64/32 [120/67] via 10.100.0.5, po2, weight 1, 00:12:41
O[1]>* 10.1.2.8/30 [120/66] via 10.100.0.5, po2, weight 1, 00:12:41
O[1]>* 10.1.2.12/30 [120/67] via 10.100.0.5, po2, weight 1, 00:12:41
I 10.100.0.4/30 [115/16777224] via 10.100.0.5, po2 inactive, weight 1, 00:00:25
via 10.100.0.9, gi2-0, weight 1, 00:00:25
O[1] 10.100.0.4/30 [120/33] is directly connected, po2, weight 1, 00:13:01
C>* 10.100.0.4/30 is directly connected, po2, 00:13:02
I 10.100.0.8/30 [115/16777224] via 10.100.0.5, po2, weight 1, 00:00:25
via 10.100.0.9, gi2-0 inactive, weight 1, 00:00:25
O[1] 10.100.0.8/30 [120/200] is directly connected, gi2-0, weight 1, 00:13:01
C>* 10.100.0.8/30 is directly connected, gi2-0, 00:13:02
I>* 10.100.1.0/32 [115/20] via 10.100.0.5, po2, weight 1, 00:01:21
* via 10.100.0.9, gi2-0, weight 1, 00:01:21
O[1] 10.100.1.0/32 [120/43] via 10.100.0.5, po2, weight 1, 00:12:41
I>* 10.100.1.1/32 [115/20] via 10.100.0.5, po2, weight 1, 00:01:21
* via 10.100.0.9, gi2-0, weight 1, 00:01:21
O[1] 10.100.1.1/32 [120/43] via 10.100.0.5, po2, weight 1, 00:12:41
O[1] 10.100.2.1/32 [120/0] is directly connected, lo, weight 1, 00:13:01
C>* 10.100.2.1/32 is directly connected, lo, 00:13:02
O[1]>* 10.101.1.12/30 [120/533] via 10.100.0.5, po2, weight 1, 00:12:41
R02(config-if)# do sh ipv6 route
Codes: K - kernel route, C - connected, S - static, R - RIPng,
O - OSPFv3, I - IS-IS, B - BGP, N - NHRP, T - Table,
v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
I>* 2a00:ece1:2:f000:8000::1/128 [115/20] via fe80::21b:21ff:fe08:3222, po2, weight 1, 00:03:23
* via fe80::ae1f:6bff:fe65:37fb, gi2-0, weight 1, 00:03:23
O 2a00:ece1:2:f000:8000::1/128 [120/43] via fe80::21b:21ff:fe08:3222, po2, weight 1, 00:03:41
O 2a00:ece1:2:f000:8000::2/128 [120/10] is directly connected, lo, weight 1, 00:18:33
C>* 2a00:ece1:2:f000:8000::2/128 is directly connected, lo, 00:18:42
O 2a00:ece1:2:f000:8000:1:0:4/126 [120/33] is directly connected, po2, weight 1, 00:18:33
C>* 2a00:ece1:2:f000:8000:1:0:4/126 is directly connected, po2, 00:18:42
I>* 2a00:ece1:2:f000:8000:1:0:8/126 [115/16777224] via fe80::21b:21ff:fe08:3222, po2, weight 1, 00:00:07
* via fe80::ae1f:6bff:fe65:37fb, gi2-0, weight 1, 00:00:07
O 2a00:ece1:2:f000:8000:1:0:8/126 [120/233] via fe80::21b:21ff:fe08:3222, po2, weight 1, 00:03:41
O 2a00:ece1:2:f000:8000:1:0:10/126 [120/200] is directly connected, gi2-0, weight 1, 00:18:33
C>* 2a00:ece1:2:f000:8000:1:0:10/126 is directly connected, gi2-0, 00:18:42
O>* 2a00:ece1:2:f000:8000:1:1000:0/126 [120/533] via fe80::21b:21ff:fe08:3222, po2, weight 1, 00:18:33
C * fe80::/64 is directly connected, po2.2110, 00:18:42
C * fe80::/64 is directly connected, po2, 00:18:42
C * fe80::/64 is directly connected, po1, 00:18:42
C * fe80::/64 is directly connected, gi1-0, 00:18:42
C * fe80::/64 is directly connected, gi2-0, 00:18:42
C * fe80::/64 is directly connected, gi1-1, 00:18:42
C * fe80::/64 is directly connected, gi0-3, 00:18:42
C * fe80::/64 is directly connected, gi0-2, 00:18:42
C * fe80::/64 is directly connected, gi0-1, 00:18:42
C>* fe80::/64 is directly connected, gi0-0, 00:18:42
R02(config-if)# do sh interface lo
Interface lo is up, line protocol detection is disabled
Link ups: 0 last: (never)
Link downs: 0 last: (never)
vrf: default
Description: Loopback
index 1 metric 0 mtu 65536 speed 0
flags: <UP,LOOPBACK,RUNNING>
MPLS enabled
Ignore all v6 routes with linkdown
Type: Loopback
inet 10.100.2.1/32
inet6 2a00:ece1:2:f000:8000::2/128
Interface Type Other
Interface Slave Type None
protodown: off
R02(config-if)# do sh interface gi2-0
Interface gi2-0 is up, line protocol is up
Link ups: 0 last: (never)
Link downs: 0 last: (never)
vrf: default
Description: R01-R02 / LINK 2 / BACKBONE
OS Description: Gi2/0
index 9 metric 0 mtu 9000 speed 1000
flags: <UP,BROADCAST,RUNNING,MULTICAST>
MPLS enabled
Ignore all v4 routes with linkdown
Ignore all v6 routes with linkdown
Type: Ethernet
HWaddr: 0c:c4:7a:97:45:9d
inet 10.100.0.10/30
inet6 2a00:ece1:2:f000:8000:1:0:10/126
inet6 fe80::ec4:7aff:fe97:459d/64
Interface Type Other
Interface Slave Type None
protodown: off
R02(config-if)# do sh interface po2
Interface po2 is up, line protocol is up
Link ups: 0 last: (never)
Link downs: 0 last: (never)
vrf: default
Description: R01-R02 / LINK 1 / via Po13-Po11 / to R01-Po2
index 45 metric 0 mtu 9000 speed 3000
flags: <UP,BROADCAST,RUNNING,MULTICAST>
MPLS enabled
Ignore all v4 routes with linkdown
Ignore all v6 routes with linkdown
v4 Multicast forwarding is on
Type: Ethernet
HWaddr: 00:1b:21:09:05:33
bandwidth 3000 Mbps
inet 10.100.0.6/30
inet6 2a00:ece1:2:f000:8000:1:0:6/126
inet6 fe80::21b:21ff:fe09:533/64
Interface Type Other
Interface Slave Type None
protodown: off
R02(config-if)#
But on R01 which is working properly (I don't know what is the difference!):
interface gi2-0
description R01-R02 / LINK 2 / BACKBONE
ip address 10.100.0.9/30
ip ospf 1 area 0
ip ospf bfd
ip ospf cost 200
ip ospf network point-to-point
ip router isis EasyNet
ipv6 address 2a00:ece1:2:f000:8000:1:0:9/126
ipv6 ospf6 area 0
ipv6 ospf6 bfd
ipv6 ospf6 cost 200
ipv6 ospf6 network point-to-point
ipv6 router isis EasyNet
isis bfd
isis network point-to-point
mpls
multicast
exit
!
interface lo
ip address 10.100.1.0/32
ip address 10.100.1.1/32
ip ospf 1 area 0
ip ospf passive
ip router isis EasyNet
ipv6 address 2a00:ece1:2:f000:8000::1/128
ipv6 ospf6 area 0
ipv6 ospf6 passive
ipv6 router isis EasyNet
isis circuit-type level-1
isis passive
mpls
no link-detect
exit
!
interface po2
bandwidth 3000
description R01-R02 / LINK 1 / via Po11-Po13 / to R02-Po2
ip address 10.100.0.5/30
ip ospf 1 area 0
ip ospf bfd
ip ospf network point-to-point
ip pim
ip router isis EasyNet
ipv6 address 2a00:ece1:2:f000:8000:1:0:5/126
ipv6 ospf6 area 0
ipv6 ospf6 bfd
ipv6 ospf6 network point-to-point
ipv6 router isis EasyNet
isis bfd
isis network point-to-point
mpls
multicast
exit
!
router ospf 1
ospf router-id 10.100.1.1
log-adjacency-changes
compatible rfc1583
area 10 stub no-summary
neighbor 10.101.0.2
neighbor 10.101.0.3
distance 120
exit
!
router ospf6
ospf6 router-id 10.100.1.1
distance 120
exit
!
mpls ldp
router-id 10.100.1.1
dual-stack transport-connection prefer ipv4
neighbor 10.100.2.1 password PASSWORD
!
address-family ipv4
discovery transport-address 10.100.1.1
label local advertise explicit-null
!
neighbor 10.100.2.1 targeted
!
neighbor 10.100.10.1 targeted
!
interface gi2-0
exit
!
interface po2
exit
!
interface tun110
exit
!
exit-address-family
!
address-family ipv6
discovery transport-address 2a00:ece1:2:f000:8000::1
label local advertise explicit-null
!
neighbor 2a00:ece1:2:f000:8000::2 targeted
!
interface gi2-0
exit
!
interface po2
exit
!
interface tun110
exit
!
exit-address-family
!
exit
!
router isis EasyNet
net 49.0001.0101.9000.0001.00
fast-reroute load-sharing disable level-1
fast-reroute lfa tiebreaker lowest-backup-metric index 1 level-1
fast-reroute load-sharing disable level-2
mpls ldp-sync
exit
And the output:
R01(config-if)# do sh ip ospf neighbor
OSPF Instance: 1
Neighbor ID Pri State Up Time Dead Time Address Interface RXmtL RqstL DBsmL
10.1.1.64 1 Full/- 2d09h13m 35.831s 10.1.2.10 po2.2110:10.1.2.9 0 0 0
10.100.2.1 1 Full/- 17m36s 33.753s 10.100.0.6 po2:10.100.0.5 0 0 0
10.100.2.1 1 Full/- 17m36s 33.753s 10.100.0.10 gi2-0:10.100.0.9 0 0 0
R01(config-if)# do sh ipv6 ospf6 neighbor
Neighbor ID Pri DeadTime State/IfState Duration I/F[State]
10.100.2.1 1 00:00:32 Full/PointToPoint 00:17:54 gi2-0[PointToPoint]
10.100.2.1 1 00:00:32 Full/PointToPoint 00:17:53 po2[PointToPoint]
R01(config-if)# do sh isis neighbor
Area EasyNet:
System Id Interface L State Holdtime SNPA
R02 gi2-0 3 Up 29 2020.2020.2020
R02 po2 3 Up 27 2020.2020.2020
R01(config-if)# do sh ip route
Codes: K - kernel route, C - connected, S - static, R - RIP,
O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
S>* 0.0.0.0/0 [1/0] is directly connected, internet (vrf internet), weight 1, 2d09h17m
O[1]>* 10.1.1.64/32 [120/34] via 10.1.2.10, po2.2110, weight 1, 2d09h14m
O[1] 10.1.2.8/30 [120/33] is directly connected, po2.2110, weight 1, 2d09h14m
C>* 10.1.2.8/30 is directly connected, po2.2110, 2d09h14m
O[1]>* 10.1.2.12/30 [120/34] via 10.1.2.10, po2.2110, weight 1, 01:43:35
I 10.100.0.4/30 [115/20] via 10.100.0.6, po2 inactive, weight 1, 00:05:09
via 10.100.0.10, gi2-0, weight 1, 00:05:09
O[1] 10.100.0.4/30 [120/33] is directly connected, po2, weight 1, 03:09:21
C>* 10.100.0.4/30 is directly connected, po2, 2d09h14m
I 10.100.0.8/30 [115/20] via 10.100.0.6, po2, weight 1, 00:05:09
via 10.100.0.10, gi2-0 inactive, weight 1, 00:05:09
O[1] 10.100.0.8/30 [120/200] is directly connected, gi2-0, weight 1, 01:44:11
C>* 10.100.0.8/30 is directly connected, gi2-0, 01:44:11
O[1] 10.100.1.0/32 [120/0] is directly connected, lo, weight 1, 00:02:47
C>* 10.100.1.0/32 is directly connected, lo, 00:02:47
O[1] 10.100.1.1/32 [120/0] is directly connected, lo, weight 1, 00:02:51
C>* 10.100.1.1/32 is directly connected, lo, 00:02:53
I>* 10.100.2.1/32 [115/20] via 10.100.0.6, po2, label IPv4 Explicit Null, weight 1, 00:05:09
* via 10.100.0.10, gi2-0, label IPv4 Explicit Null, weight 1, 00:05:09
O[1] 10.100.2.1/32 [120/33] via 10.100.0.6, po2, weight 1, 00:17:54
O[1] 10.101.1.12/30 [120/500] is directly connected, tun110, weight 1, 2d09h17m
C>* 10.101.1.12/30 is directly connected, tun110, 2d09h17m
S>* 10.190.252.0/24 [1/0] unreachable (blackhole), weight 1, 2d09h17m
R01(config-if)# do sh ipv6 route
Codes: K - kernel route, C - connected, S - static, R - RIPng,
O - OSPFv3, I - IS-IS, B - BGP, N - NHRP, T - Table,
v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
O 2a00:ece1:2:f000:8000::1/128 [120/10] is directly connected, lo, weight 1, 00:03:26
C>* 2a00:ece1:2:f000:8000::1/128 is directly connected, lo, 00:03:32
O 2a00:ece1:2:f000:8000::2/128 [120/43] via fe80::21b:21ff:fe09:533, po2, weight 1, 00:03:39
I>* 2a00:ece1:2:f000:8000::2/128 [115/20] via fe80::21b:21ff:fe09:533, po2, label IPv6 Explicit Null, weight 1, 00:05:21
* via fe80::ec4:7aff:fe97:459d, gi2-0, label IPv6 Explicit Null, weight 1, 00:05:21
O 2a00:ece1:2:f000:8000:1:0:4/126 [120/33] is directly connected, po2, weight 1, 00:03:26
C>* 2a00:ece1:2:f000:8000:1:0:4/126 is directly connected, po2, 2d09h14m
O 2a00:ece1:2:f000:8000:1:0:8/126 [120/200] is directly connected, gi2-0, weight 1, 00:03:26
C>* 2a00:ece1:2:f000:8000:1:0:8/126 is directly connected, gi2-0, 01:44:23
O 2a00:ece1:2:f000:8000:1:0:10/126 [120/233] via fe80::21b:21ff:fe09:533, po2, weight 1, 00:03:39
I>* 2a00:ece1:2:f000:8000:1:0:10/126 [115/20] via fe80::21b:21ff:fe09:533, po2, label IPv6 Explicit Null, weight 1, 00:05:21
* via fe80::ec4:7aff:fe97:459d, gi2-0, label IPv6 Explicit Null, weight 1, 00:05:21
O 2a00:ece1:2:f000:8000:1:1000:0/126 [120/500] is directly connected, tun110, weight 1, 00:03:39
C>* 2a00:ece1:2:f000:8000:1:1000:0/126 is directly connected, tun110, 2d09h17m
C * fe80::/64 is directly connected, gi2-0, 01:44:23
C * fe80::/64 is directly connected, gi0-0, 2d09h13m
C * fe80::/64 is directly connected, gi0-3, 2d09h13m
C * fe80::/64 is directly connected, gi0-1, 2d09h13m
C * fe80::/64 is directly connected, gi0-2, 2d09h13m
C * fe80::/64 is directly connected, po2.2110, 2d09h14m
C * fe80::/64 is directly connected, po2, 2d09h14m
C * fe80::/64 is directly connected, po1, 2d09h15m
C * fe80::/64 is directly connected, gi1-0, 2d09h15m
C * fe80::/64 is directly connected, gi1-1, 2d09h15m
C * fe80::/64 is directly connected, tun110, 2d09h17m
C * fe80::/64 is directly connected, lo1, 2d09h17m
C>* fe80::/64 is directly connected, lo0, 2d09h17m
R01(config-if)# do sh mpls ldp neighbor
AF ID State Remote Address Uptime
ipv4 10.100.2.1 OPERATIONAL 10.100.2.1 00:00:26
R01(config-if)# do sh mpls ldp binding
AF Destination Nexthop Local Label Remote Label In Use
ipv4 10.1.1.64/32 10.100.2.1 exp-null 19 no
ipv4 10.1.2.8/30 10.100.2.1 exp-null 20 no
ipv4 10.1.2.12/30 10.100.2.1 exp-null 21 no
ipv4 10.100.0.4/30 10.100.2.1 exp-null exp-null no
ipv4 10.100.0.8/30 10.100.2.1 exp-null exp-null no
ipv4 10.100.1.0/32 10.100.2.1 exp-null 22 no
ipv4 10.100.1.1/32 10.100.2.1 exp-null 23 no
ipv4 10.100.2.1/32 10.100.2.1 20 exp-null yes
ipv4 10.101.1.12/30 10.100.2.1 exp-null 24 no
ipv4 89.38.58.2/32 10.100.2.1 21 exp-null yes
ipv6 2a00:ece1:2:f000:8000::1/128
10.100.2.1 exp-null 16 no
ipv6 2a00:ece1:2:f000:8000::2/128
10.100.2.1 16 exp-null yes
ipv6 2a00:ece1:2:f000:8000:1:0:4/126
10.100.2.1 exp-null exp-null no
ipv6 2a00:ece1:2:f000:8000:1:0:8/126
10.100.2.1 exp-null 17 no
ipv6 2a00:ece1:2:f000:8000:1:0:10/126
10.100.2.1 19 exp-null yes
ipv6 2a00:ece1:2:f000:8000:1:1000:0/126
10.100.2.1 exp-null 18 no
R01(config-if)# do sh mpls table
Inbound Label Type Nexthop Outbound Label
-------------------------------------------------------------------
16 LDP fe80::ec4:7aff:fe97:459d IPv6 Explicit Null
16 LDP fe80::21b:21ff:fe09:533 IPv6 Explicit Null
19 LDP fe80::ec4:7aff:fe97:459d IPv6 Explicit Null
19 LDP fe80::21b:21ff:fe09:533 IPv6 Explicit Null
20 LDP 10.100.0.10 IPv4 Explicit Null
20 LDP 10.100.0.6 IPv4 Explicit Null
21 LDP 10.100.0.10 IPv4 Explicit Null
21 LDP 10.100.0.6 IPv4 Explicit Null
80 BGP servers -
81 BGP servers -
82 BGP mgmt -
83 BGP mgmt -
84 BGP internet -
85 BGP internet -
86 BGP ch -
87 BGP ch -
88 BGP servers2 -
89 BGP servers2 -
90 BGP vpn -
91 BGP vpn -
92 BGP esxi -
93 BGP esxi -
94 BGP aperolspritz -
95 BGP aperolspritz -
96 BGP romcolor -
97 BGP romcolor -
R01(config-if)# do sh interface lo
Interface lo is up, line protocol detection is disabled
Link ups: 0 last: (never)
Link downs: 0 last: (never)
vrf: default
index 1 metric 0 mtu 65536 speed 0
flags: <UP,LOOPBACK,RUNNING>
MPLS enabled
Ignore all v6 routes with linkdown
Type: Loopback
inet 10.100.1.0/32
inet 10.100.1.1/32
inet6 2a00:ece1:2:f000:8000::1/128
Interface Type Other
Interface Slave Type None
protodown: off
R01(config-if)# do sh interface gi2-0
Interface gi2-0 is up, line protocol is up
Link ups: 13 last: 2022/09/12 19:22:17.53
Link downs: 13 last: 2022/09/12 19:22:14.78
vrf: default
Description: R01-R02 / LINK 2 / BACKBONE
OS Description: Gi2/0
index 9 metric 0 mtu 9000 speed 1000
flags: <UP,BROADCAST,RUNNING,MULTICAST>
MPLS enabled
Ignore all v4 routes with linkdown
Ignore all v6 routes with linkdown
Type: Ethernet
HWaddr: ac:1f:6b:65:37:fb
inet 10.100.0.9/30
inet6 2a00:ece1:2:f000:8000:1:0:9/126
inet6 fe80::ae1f:6bff:fe65:37fb/64
Interface Type Other
Interface Slave Type None
protodown: off
R01(config-if)# do sh interface po2
Interface po2 is up, line protocol is up
Link ups: 45 last: 2022/09/12 19:07:43.19
Link downs: 16 last: 2022/09/10 11:49:24.81
vrf: default
Description: R01-R02 / LINK 1 / via Po11-Po13 / to R02-Po2
index 42 metric 0 mtu 9000 speed 3000
flags: <UP,BROADCAST,RUNNING,MULTICAST>
MPLS enabled
Ignore all v4 routes with linkdown
Ignore all v6 routes with linkdown
v4 Multicast forwarding is on
Type: Ethernet
HWaddr: 00:1b:21:08:32:22
bandwidth 3000 Mbps
inet 10.100.0.5/30
inet6 fe80::21b:21ff:fe08:3222/64
inet6 2a00:ece1:2:f000:8000:1:0:5/126
Interface Type Other
Interface Slave Type None
protodown: off
R01(config-if)#
Wow! I tried to get the logs of LDP and after I killed the ldpd and it was restarted by watchfrr, now I'm getting the routes installed in the table! If I'm doing systemctl restart frr, it doesn't install the router via MPLS.
Please find the logs from LDP daemon in the attachment ldpd bug on starting.txt
Also I'm adding the logs when I did killall ldpd and the it worked. ldpd when is working.txt
I notice this in the logs: Not working:
Sep 12 21:52:59 R02 ldpd[10164]: zebra[in]: route add 2a00:ece1:2:f000:8000::2/128 nexthop :: ifindex 0 (connected)
Sep 12 21:52:59 R02 ldpd[10164]: zebra[in]: route add 2a00:ece1:2:f000:8000:1:0:4/126 nexthop :: ifindex 0 (connected)
Sep 12 21:52:59 R02 ldpd[10164]: zebra[in]: route add 2a00:ece1:2:f000:8000:1:0:10/126 nexthop :: ifindex 0 (connected)
Sep 12 21:52:59 R02 ldpd[10164]: zebra[in]: route add 2a00:ece1:2:f000:8000::1/128 nexthop fe80::21b:21ff:fe08:3222 ifindex 45 (ospf6)
Sep 12 21:52:59 R02 ldpd[10164]: zebra[in]: route add 2a00:ece1:2:f000:8000:1:0:8/126 nexthop fe80::21b:21ff:fe08:3222 ifindex 45 (ospf6)
Sep 12 21:52:59 R02 ldpd[10164]: zebra[out]: prefix 2a00:ece1:2:f000:8000::1/128 nexthop fe80::ae1f:6bff:fe65:37fb ifindex 9 labels 16/- (delete)
Sep 12 21:52:59 R02 ldpd[10164]: zebra[out]: prefix 2a00:ece1:2:f000:8000::1/128 nexthop fe80::21b:21ff:fe08:3222 ifindex 45 labels 16/- (add)
Sep 12 21:52:59 R02 ldpd[10164]: zebra[in]: route add 2a00:ece1:2:f000:8000:1:1000:0/126 nexthop fe80::21b:21ff:fe08:3222 ifindex 45 (ospf6)
Sep 12 21:52:59 R02 ldpd[10164]: zebra[out]: prefix 2a00:ece1:2:f000:8000:1:0:8/126 nexthop fe80::ae1f:6bff:fe65:37fb ifindex 9 labels 17/- (delete)
Sep 12 21:52:59 R02 ldpd[10164]: zebra[out]: prefix 2a00:ece1:2:f000:8000:1:0:8/126 nexthop fe80::21b:21ff:fe08:3222 ifindex 45 labels 17/- (add)
Sep 12 21:52:59 R02 ldpd[10164]: zebra[out]: prefix 2a00:ece1:2:f000:8000:1:1000:0/126 nexthop fe80::ae1f:6bff:fe65:37fb ifindex 9 labels 18/- (delete)
Sep 12 21:52:59 R02 ldpd[10164]: zebra[out]: prefix 2a00:ece1:2:f000:8000:1:1000:0/126 nexthop fe80::21b:21ff:fe08:3222 ifindex 45 labels 18/- (add)
vs working:
Sep 12 21:46:11 R02 ldpd[8596]: zebra[in]: route add 10.101.1.12/30 nexthop 10.100.0.5 ifindex 45 (ospf)
Sep 12 21:46:11 R02 ldpd[8596]: zebra[in]: route add 2a00:ece1:2:f000:8000::1/128 nexthop fe80::21b:21ff:fe08:3222 ifindex 45 (isis)
Sep 12 21:46:11 R02 ldpd[8596]: zebra[in]: route add 2a00:ece1:2:f000:8000::1/128 nexthop fe80::ae1f:6bff:fe65:37fb ifindex 9 (isis)
Sep 12 21:46:11 R02 ldpd[8596]: msg[out]: label mapping: lsr-id 10.100.1.1, fec 10.101.1.12/30, label 21
Sep 12 21:46:11 R02 ldpd[8596]: zebra[out]: prefix 10.101.1.12/30 nexthop 10.100.0.5 ifindex 45 labels 21/exp-null (add)
Sep 12 21:46:11 R02 ldpd[8596]: zebra[out]: prefix 10.101.1.12/30 nexthop 10.100.0.5 ifindex 45 labels 21/exp-null (add)
Sep 12 21:46:11 R02 ldpd[8596]: zebra[in]: route add 2a00:ece1:2:f000:8000:1:0:8/126 nexthop fe80::21b:21ff:fe08:3222 ifindex 45 (isis)
Sep 12 21:46:11 R02 ldpd[8596]: zebra[in]: route add 2a00:ece1:2:f000:8000:1:0:8/126 nexthop fe80::ae1f:6bff:fe65:37fb ifindex 9 (isis)
Sep 12 21:46:11 R02 ldpd[8596]: msg[out]: label mapping: lsr-id 10.100.1.1, fec 2a00:ece1:2:f000:8000::1/128, label 22
Sep 12 21:46:11 R02 ldpd[8596]: zebra[out]: prefix 2a00:ece1:2:f000:8000::1/128 nexthop fe80::ae1f:6bff:fe65:37fb ifindex 9 labels 22/exp-null (add)
Sep 12 21:46:11 R02 ldpd[8596]: zebra[out]: prefix 2a00:ece1:2:f000:8000::1/128 nexthop fe80::ae1f:6bff:fe65:37fb ifindex 9 labels 22/exp-null (add)
Sep 12 21:46:11 R02 ldpd[8596]: zebra[out]: prefix 2a00:ece1:2:f000:8000::1/128 nexthop fe80::21b:21ff:fe08:3222 ifindex 45 labels 22/exp-null (add)
Sep 12 21:46:11 R02 ldpd[8596]: zebra[out]: prefix 2a00:ece1:2:f000:8000::1/128 nexthop fe80::21b:21ff:fe08:3222 ifindex 45 labels 22/exp-null (add)
Sep 12 21:46:11 R02 ldpd[8596]: zebra[out]: prefix 2a00:ece1:2:f000:8000::1/128 nexthop fe80::ae1f:6bff:fe65:37fb ifindex 9 labels 22/exp-null (add)
Sep 12 21:46:11 R02 ldpd[8596]: zebra[out]: prefix 2a00:ece1:2:f000:8000::1/128 nexthop fe80::21b:21ff:fe08:3222 ifindex 45 labels 22/exp-null (add)
Sep 12 21:46:11 R02 ldpd[8596]: zebra[in]: route add 2a00:ece1:2:f000:8000:1:1000:0/126 nexthop fe80::21b:21ff:fe08:3222 ifindex 45 (ospf6)
Sep 12 21:46:11 R02 ldpd[8596]: msg[out]: label mapping: lsr-id 10.100.1.1, fec 2a00:ece1:2:f000:8000:1:0:8/126, label 23
Sep 12 21:46:11 R02 ldpd[8596]: zebra[out]: prefix 2a00:ece1:2:f000:8000:1:0:8/126 nexthop fe80::ae1f:6bff:fe65:37fb ifindex 9 labels 23/exp-null (add)
Sep 12 21:46:11 R02 ldpd[8596]: zebra[out]: prefix 2a00:ece1:2:f000:8000:1:0:8/126 nexthop fe80::ae1f:6bff:fe65:37fb ifindex 9 labels 23/exp-null (add)
Sep 12 21:46:11 R02 ldpd[8596]: zebra[out]: prefix 2a00:ece1:2:f000:8000:1:0:8/126 nexthop fe80::21b:21ff:fe08:3222 ifindex 45 labels 23/exp-null (add)
Sep 12 21:46:11 R02 ldpd[8596]: zebra[out]: prefix 2a00:ece1:2:f000:8000:1:0:8/126 nexthop fe80::21b:21ff:fe08:3222 ifindex 45 labels 23/exp-null (add)
Sep 12 21:46:11 R02 ldpd[8596]: zebra[out]: prefix 2a00:ece1:2:f000:8000:1:0:8/126 nexthop fe80::ae1f:6bff:fe65:37fb ifindex 9 labels 23/exp-null (add)
Sep 12 21:46:11 R02 ldpd[8596]: zebra[out]: prefix 2a00:ece1:2:f000:8000:1:0:8/126 nexthop fe80::21b:21ff:fe08:3222 ifindex 45 labels 23/exp-null (add)
Sep 12 21:46:11 R02 ldpd[8596]: msg[out]: label mapping: lsr-id 10.100.1.1, fec 2a00:ece1:2:f000:8000:1:1000:0/126, label 24
Sep 12 21:46:11 R02 ldpd[8596]: zebra[out]: prefix 2a00:ece1:2:f000:8000:1:1000:0/126 nexthop fe80::21b:21ff:fe08:3222 ifindex 45 labels 24/exp-null (add)
Sep 12 21:46:11 R02 ldpd[8596]: zebra[out]: prefix 2a00:ece1:2:f000:8000:1:1000:0/126 nexthop fe80::21b:21ff:fe08:3222 ifindex 45 labels 24/exp-null (add)
Sep 12 21:46:11 R02 ldpd[8596]: msg[in]: label mapping: lsr-id 10.100.1.1, fec 2a00:ece1:2:f000:8000::2/128, label 16
Sep 12 21:46:11 R02 ldpd[8596]: msg[in]: label mapping: lsr-id 10.100.1.1, fec 2a00:ece1:2:f000:8000:1:0:10/126, label 19
Sep 12 21:46:14 R02 ldpd[8596]: discovery[recv]: iface gi2-0 lsr-id 10.100.1.1 transport-address 10.100.1.1 holdtime 15 (dual stack TLV present)
It doesn't add exp-null.
Hi,
There is any updates about this bug?
Hi,
Any progress on this bug? Do you need more data?
This issue is stale because it has been open 180 days with no activity. Comment or remove the autoclose
label in order to avoid having this issue closed.