cancelar
Mostrar resultados para 
Pesquisar em vez de 
Queria dizer: 
cancel
648
Apresentações
0
Útil
1
Respostas

Não cosigo ver o MPLS na tabela de roteamento

LincolnR
Level 1
Level 1

Boa noite!!

Subi dois routers XRv com configuração MPLS com LDP. Contudo nao consigo vizinhança MPLS, LDP e a tabela de roteamento não tem o protocolo MPLS.

RP/0/0/CPU0:AGG-1#ping 10.1.1.2 Success rate is 100 percent (5/5), round-trip min/avg/max = 1/16/69 ms

""""""""""""""""""""""""""""""""

RP/0/0/CPU0:AGG-1#sh mpls ldp neighbor

Thu May 15 18:02:51.705 UTC """""""""""""""""""""""""""""""""""

RP/0/0/CPU0:AGG-1#sh mpls ldp interface

Interface GigabitEthernet0/0/0/1 (0x40) VRF: 'default' (0x60000000) Enabled via config: LDP interface

RP/0/0/CPU0:AGG-1#sh mpls interfaces detail

Thu May 15 18:04:59.506 UTC

Interface GigabitEthernet0/0/0/1: LDP(A) MPLS enabled

RP/0/0/CPU0:AGG-1#sh mpls interfaces

Thu May 15 18:10:40.883

UTC Interface LDP Tunnel Static Enabled -------------------------- -------- -------- -------- -------- GigabitEthernet0/0/0/1 Yes No No Yes

RP/0/0/CPU0:AGG-1# ################# """""""""""""""""""""""""""""""""""""""""""

RP/0/0/CPU0:AGG-2#ping 10.1.1.1 !!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 1/4/9 ms

RP/0/0/CPU0:AGG-2#sh mpls ldp neighbor

Thu May 15 18:08:24.402 UTC

RP/0/0/CPU0:AGG-2#sh mpls ldp interface

Thu May 15 18:08:54.440 UTC

Interface GigabitEthernet0/0/0/2 (0x60)

VRF: 'default' (0x60000000)

Enabled via config: LDP interface

RP/0/0/CPU0:AGG-2#sh mpls ldp interface

Thu May 15 18:09:18.748 UTC

RP/0/0/CPU0:AGG-2#sh mpls interfaces

Thu May 15 18:10:12.495 UTC

Interface LDP Tunnel Static Enabled -------------------------- -------- -------- -------- -------- GigabitEthernet0/0/0/2 Yes No No Yes

P/0/0/CPU0:AGG-2#sh running-config
Thu May 15 18:18:38.080 UTC
Building configuration...
!! IOS XR Configuration 6.1.3
!! Last configuration change at Thu May 15 16:09:35 2025 by admin
!
hostname AGG-2
interface Loopback0
ipv4 address 2.2.2.2 255.255.255.255
!
interface MgmtEth0/0/CPU0/0
shutdown
!
interface GigabitEthernet0/0/0/0
shutdown
!
interface GigabitEthernet0/0/0/1
shutdown
!
interface GigabitEthernet0/0/0/2
description TO-AGG-1
ipv4 address 10.1.1.2 255.255.255.252
!
mpls ldp
router-id 2.2.2.2
address-family ipv4
!
interface GigabitEthernet0/0/0/2
!
!
end
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

RP/0/0/CPU0:AGG-1#sh runn
Thu May 15 18:17:46.414 UTC
Building configuration...
!! IOS XR Configuration 6.1.3
!! Last configuration change at Thu May 15 15:56:32 2025 by admin
!
hostname AGG-1
interface Loopback0
ipv4 address 1.1.1.1 255.255.255.255
!
interface MgmtEth0/0/CPU0/0
shutdown
!
interface GigabitEthernet0/0/0/0
shutdown
!
interface GigabitEthernet0/0/0/1
description TO-AGG-2
ipv4 address 10.1.1.1 255.255.255.252
!
interface GigabitEthernet0/0/0/2
shutdown
!
mpls ldp
router-id 1.1.1.1
address-family ipv4
!
interface GigabitEthernet0/0/0/1
!
!
end

RP/0/0/CPU0:AGG-1#

###################

RP/0/0/CPU0:AGG-1#sh route
Sat May 17 00:24:50.066 UTC

Codes: C - connected, S - static, R - RIP, B - BGP, (>) - Diversion path
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
i - ISIS, L1 - IS-IS level-1, L2 - IS-IS level-2
ia - IS-IS inter area, su - IS-IS summary null, * - candidate default
U - per-user static route, o - ODR, L - local, G - DAGR, l - LISP
A - access/subscriber, a - Application route
M - mobile route, r - RPL, (!) - FRR Backup path

Gateway of last resort is not set

L 1.1.1.1/32 is directly connected, 1d08h, Loopback0
C 10.1.1.0/30 is directly connected, 1d09h, GigabitEthernet0/0/0/1
L 10.1.1.1/32 is directly connected, 1d09h, GigabitEthernet0/0/0/1
RP/0/0/CPU0:AGG-1#

############################

RP/0/0/CPU0:AGG-2#sh route
Sat May 17 00:26:18.610 UTC

Codes: C - connected, S - static, R - RIP, B - BGP, (>) - Diversion path
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
i - ISIS, L1 - IS-IS level-1, L2 - IS-IS level-2
ia - IS-IS inter area, su - IS-IS summary null, * - candidate default
U - per-user static route, o - ODR, L - local, G - DAGR, l - LISP
A - access/subscriber, a - Application route
M - mobile route, r - RPL, (!) - FRR Backup path

Gateway of last resort is not set

L 2.2.2.2/32 is directly connected, 1d08h, Loopback0
C 10.1.1.0/30 is directly connected, 1d08h, GigabitEthernet0/0/0/2
L 10.1.1.2/32 is directly connected, 1d08h, GigabitEthernet0/0/0/2
RP/0/0/CPU0:AGG-2#

1 RESPOSTA 1

Olá, você precisa habilitar o OSPF para que ambos os roteadores reconheçam suas loopbacks e, em seguida, ajustar as configurações de MPLS.
Exemplo AGG01:

#### OSFP CONFIG MPLS####

router ospf 1
router-id 1.1.1.1
mpls ldp sync
mpls ldp auto-config

area 0.0.0.0
network point-to-point
interface GigabitEthernet0/0/0/1

interface Loopback0

##### MPLS ####

mpls ldp
router-id 1.1.1.1
address-family ipv4
!

label
   local
       allocate for host-routes
interface GigabitEthernet0/0/0/1