From: vpp-dev@lists.fd.io <vpp-dev@lists.fd.io> on behalf of Sastry Sista via 
lists.fd.io <sastry.sista=gmail....@lists.fd.io>
Date: Thursday, 2 December 2021 at 13:25
To: vpp-dev@lists.fd.io <vpp-dev@lists.fd.io>
Subject: Re: [vpp-dev] MPLS: fib table 1 display issue #mpls
Thank you Neale. We may need to develop something like show mpls bind for our 
purpose.

My test setup ping is not working. Error is :  "MPLS DROP DPO"  because of fib 
next node is drop-dpo. COuld you please help me what is worng?

I am trying to try mpls ping between 1.1.1.1/24 to 2.2.2.2/24.
vpp is one side having local-label = 102
router label = 103

VPP side commands:
=================
mpls table add 0
set interface mpls VirtualFuncEthernet0/8/0.1800 enable ( IP addr: 
107.243.21.115)
ip route add 2.2.2.2/24 via 107.243.21.115 VirtualFuncEthernet0/8/0.1800 
out-labels 103
mpls local-label 102 add 1.1.1.1/24 non-eos via 107.243.21.115 
VirtualFuncEthernet0/8/0.1800 out-labels 103
This local-label config is incorrect – the CLI should probably be fixed to 
reject it. When you are binding a label to a prefix, first you add the route
  ip route 1.1.1.1/24 non-eos via 107.243.21.115 VirtualFuncEthernet0/8/0.1800 
out-labels 103
then you bind the label to the same prefix
  mpls local-label 102 1.1.1.1/24
then the [n]eos forwarding for label 102 will be derived from the paths 
configured for 1.1.1.1/24
/neale




sh mpls fib:
=========
vpp# show mpls fib 102
MPLS-VRF:0, fib_index:0 locks:[CLI:2, ]
102:neos/21 fib:0 index:127 locks:2
  special refs:1 entry-flags:exclusive, src-flags:added,contributing,active,
    path-list:[145] locks:2 flags:exclusive, uPRF-list:164 len:0 itfs:[]
      path:[219] pl-index:145 mpls weight=1 pref=0 exclusive:  
oper-flags:resolved, cfg-flags:exclusive,
        [@0]: dpo-load-balance: [proto:mpls index:122 buckets:1 uRPF:165 
to:[0:0]]
          [0] [@0]: dpo-drop mpls

 forwarding:   mpls-neos-chain
  [@0]: dpo-load-balance: [proto:mpls index:122 buckets:1 uRPF:165 to:[0:0]]
    [0] [@0]: dpo-drop mpls
102:eos/21 fib:0 index:119 locks:3
  special refs:1 entry-flags:exclusive, src-flags:added,contributing,active,
    path-list:[147] locks:2 flags:exclusive, uPRF-list:166 len:0 itfs:[]
      path:[221] pl-index:147 mpls weight=1 pref=0 exclusive:  
oper-flags:resolved, cfg-flags:exclusive,
        [@0]: dpo-load-balance: [proto:mpls index:132 buckets:1 uRPF:165 
to:[0:0]]
          [0] [@0]: dpo-drop mpls

  CLI refs:1 src-flags:added,
    path-list:[146] locks:1 flags:exclusive, uPRF-list:167 len:1 itfs:[35, ]
      path:[222] pl-index:146 ip4 weight=1 pref=0 attached-nexthop:  
oper-flags:resolved,
        107.243.21.115 VirtualFuncEthernet0/8/0.1800
      [@0]: arp-ipv4: via 107.243.21.115 VirtualFuncEthernet0/8/0.1800
    Extensions:
     path:222  labels:[[103 pipe ttl:0 exp:0]]
 forwarding:   mpls-eos-chain
  [@0]: dpo-load-balance: [proto:mpls index:132 buckets:1 uRPF:165 to:[0:0]]
    [0] [@0]: dpo-drop mpls


With Regards
Sastry

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#20598): https://lists.fd.io/g/vpp-dev/message/20598
Mute This Topic: https://lists.fd.io/mt/87373182/21656
Mute #mpls:https://lists.fd.io/g/vpp-dev/mutehashtag/mpls
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to