Hi vpp-dev team,


I am trying to check the iOAM feature of VPP.

Do you have any working config sample for this?



I have checked the following url's and the configuration mentioned, was 
sometimes rejected by the CLI or had no effect.

[URL1] https://docs.fd.io/vpp/18.04/ioam_plugin_doc.html

[URL2] https://docs.fd.io/vpp/17.04/ioam_ipv6_doc.html



I have 3 VPPs

2102:1100::100-->[Encap VPP]---->[Transit VPP]---->[Decap VPP]-->2102:3100::100

 ^this is the src host                                                     
^this one is the dst host



I have the following configuration for Encap Vpp

[Encap Vpp] *Want to add iOAM info to all the traffic towards 2102:3100::100

classify table miss-next ip6-node ip6-lookup mask l3 ip6 dst

classify session acl-hit-next ip6-node ip6-add-hop-by-hop table-index 0 match 
l3 ip6 dst 2102:3100::100

set int input acl intfc GigabitEthernet1b/0/0 ip6-table 0

set ioam-trace profile trace-type 0x1f trace-elts 4 trace-tsp 1 node-id 0x1 
app-data 0x1234

set ioam rewrite trace



Seems like it does encap the info I wanted

======================================

Trace results

[Encap Vpp]

  IP6_HOP_BY_HOP: next index 12 len 72 traced 72  Trace Type 0x1f , 3 elts left

    [0] ttl 0x0 node id 0x0 ingress 0x0 egress 0x0 ts 0x0

app 0x0

    [1] ttl 0x0 node id 0x0 ingress 0x0 egress 0x0 ts 0x0

app 0x0

    [2] ttl 0x0 node id 0x0 ingress 0x0 egress 0x0 ts 0x0

app 0x0

    [3] ttl 0x40 node id 0x1 ingress 0x3 egress 0x1 ts 0x5efba500  <---- I 
think this one is working fine

app 0x1234



The problem I am facing is, configuration for VPP 18.04 as mentioned in the URL

"set ioam rewrite trace-type 0x1f trace-elts 4 trace-tsp 1 node-id 0x1 app-data 
0x1234"

Is being rejected by the cli, so I have changed it as mentioned above.

vpp# set ioam rewrite trace-type 0x1f trace-elts 4 trace-tsp 1 node-id 0x1 
app-data 0x1234

unknown input `-type 0x1f trace-elts 4 trace-...'

There are some other problems also, like “node” is also rejected by cli, so I 
used ip6-node and this one works

vpp# classify table miss-next node ip6-lookup mask l3 ip6 dst

classify table: Mask required

vpp# classify table miss-next ip6-node ip6-lookup mask l3 ip6 dst

vpp#



And url also showing that this config is required for transit and decap VPP 
also.

So do any one have any working configuration for iOAM?



Regards,

Hadi
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#9771): https://lists.fd.io/g/vpp-dev/message/9771
Mute This Topic: https://lists.fd.io/mt/23024218/21656
Group Owner: [email protected]
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub  [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to