No MSRP from eAVB camera module

  • 0
  • 1
  • Question
  • Updated 2 years ago
  • Answered
I recently got an eAVB camera module(exelfore) and was able to see camera preview rendering via RTP streaming. But its 1722 stream (per its header, it is mjpeg AVTPU type) doesn't seem to be routed(multicasted) to a port that a listener is connected.

When I check MSRP, a port#1 (one that eAVB camera is connected to) is active(*) but no 'ab' shown (gPTP and MVRP are all set to 'active'). A tcpdump on listener side doesn't show 1722 stream packet (promiscuous mode enabled) at all. Does this mean MFDB is not configured correctly? (I also don't see any outstanding stream info (from 'show msrp streams' command.)) I guess the eAVB camera might not do SRP at all (I still need to confirm that)

Is there a way to manually configure(enable) a stream on the designated port(listener)? 

thanks in advance,
-Daein
Photo of Daein Chung

Daein Chung

  • 140 Points 100 badge 2x thumb

Posted 2 years ago

  • 0
  • 1
Photo of Chad Smith

Chad Smith, Senior Escalation Support Engineer

  • 5,620 Points 5k badge 2x thumb
Daein,

What is the gPTP port state of the camera and listener (active isn't a valid state)?

Does the camera or listener send out any MSRP, MVRP, or gPTP packets?  You can confirm this by the following counter commands:

show msrp port <PORT> counters
show mvrp port <PORT> counters
show network-clock gptp ports <PORT> counters 

You can somewhat configure a stream manually, but it is not recommended.  You would need to manually provision the AVB VLAN and setup QoS.  As a quick test you could try adding a static FDB entry for the stream destination MAC address on the listener port: 

create fdb <STREAM_DEST_MAC_ADDRESS> vlan <AVB_VLAN> ports <LISTENER_PORT> tagged

You can also set the listener port to join all streams (this will only work if the camera is properly advertising the stream):

debug msrp set auto-listener on ports <LISTENER_PORT>

However, I recommend figuring out how to make MSRP and MVRP work correctly.
Photo of Daein Chung

Daein Chung

  • 140 Points 100 badge 2x thumb
Hello Chad,

Appreciate your help, Chad.

here are logs from eAVB switch (I first powe cycle eAVB switch and attach the eAVB camera module to port# 1)

X440-8t.6 # show network-clock gptp ports 1 countersPort number                                      : 1
gPTP port status                                 : Enabled
------------------------------------------------------------
Parameter                             Receive       Transmit
------------------------------------------------------------
Announce                                    0             22
Sync                                        8            171
Follow Up                                   7            171
Peer Delay Request                         23             25
Peer Delay Response                        25             23
Peer Delay Response Follow Up              25             23
gPTP packet discards                        0              -
------------------------------------------------------------
Announce Receipt Timeout Count                   : 0
Sync Receipt Timeout Count                       : 0
Peer Delay Allowed Lost Response Exceeded Count  : 0

X440-8t.6 # show msrp port 1 counters
 Port       Streams  Reservations      Rx Pkt    Rx Error      Tx Pkt
-----  ------------  ------------  ----------  ----------  ----------
    1             0             0           0           0           4

X440-8t.7 # show mvrp port 1 counters
 Port  VLANs  Failed    Rx Pkt  Rx Error    Tx Pkt    Last Source
        Regs    Regs     Count     Count     Count      Address
-----  -----  ------  --------  --------  --------  -----------------
    1      2       0         0         0        38  00:00:00:00:00:00
---------------------------------------------------------------------
Regs: Registrations

X440-8t.8 # show fdb
Mac                     Vlan       Age  Flags         Port / Virtual Port List
------------------------------------------------------------------------------
00:80:e1:ff:ff:07    Default(0001) 0041 d m           1

Flags : d - Dynamic, s - Static, p - Permanent, n - NetLogin, m - MAC, i - IP,
        x - IPX, l - lockdown MAC, L - lockdown-timeout MAC, M- Mirror, B - Egress Blackhole,
        b - Ingress Blackhole, v - MAC-Based VLAN, P - Private VLAN, T - VLAN translation,
        D - drop packet, h - Hardware Aging, o - IEEE 802.1ah Backbone MAC,
        S - Software Controlled Deletion, r - MSRP

Total: 1 Static: 0  Perm: 0  Dyn: 1  Dropped: 0  Locked: 0  Locked with Timeout: 0
FDB Aging time: 300

As you can see the above, i don't see any stream available on the port#1. Does it mean the eAVB camera does not advertise its stream availability?

thanks in advance,
-Daein
Photo of Chad Smith

Chad Smith, Senior Escalation Support Engineer

  • 5,620 Points 5k badge 2x thumb
Daein,

From the counter outputs we can see that the camera is not sending any MSRP or MVRP messages, therefore it is not advertising anything about a stream.  It is participating in gPTP, so that is a start.

Is there a way to configure the camera (CLI/GUI) that might allow you to configure the AVB stream?  Does it have some kind of controller that it pulls down a configuration from?
Photo of Daein Chung

Daein Chung

  • 140 Points 100 badge 2x thumb
Hello Chad,

Right. I could confirm from packet capture that there is no stream advertisement from the eavb camera at all. It just got gPTP and then start streaming video output.

Unfortunately, I cannot change their firmware, so the only way is to configure the switch setting such that stream advertisement and bandwidth reservation (others) are manually configured in the switch. (I guess that is what normally automotive eAVB solution would do)

I really appreciate if you can provide an instruction about how to do that.

thanks in advance,
-Daein
Photo of Chad Smith

Chad Smith, Senior Escalation Support Engineer

  • 5,620 Points 5k badge 2x thumb
Daein,

We need to have some information about the stream in order to try and setup a manual stream. Do you know what the stream destination mac address is? Do you know the stream class and bandwidth requirements?  I feel like this may be hard to determine the stream information since the camera isn't advertising anything.  Do you have any documentation from the camera that may help?

You are correct, in automotive environments sometimes things are statically configured, but usually there is some configuration utility that allows you to program stream ids, mac addresses, etc on the endpoints.  
Photo of Daein Chung

Daein Chung

  • 140 Points 100 badge 2x thumb
Chad,

Camera Mac address: 00:80:E1:FF:FF:07
Multicast address: 91:E0:F0:00:FE:00
StreamID:  00:80:E1:FF:FF:07:00:6E
Stream class: B
Bandwidth: 28.8Mbps (720p30 High Quality 120KB average frame size)


thanks,
-Daein
(Edited)
Photo of Chad Smith

Chad Smith, Senior Escalation Support Engineer

  • 5,620 Points 5k badge 2x thumb
Daein,

Setting this up manually could get complicated.  I think it is probably best to open up a case with GTAC for assistance:

How to contact Extreme Networks Global Technical Assistance Center (GTAC)

Is the camera constantly sending the stream?  Does the stream have a VLAN tag?  If so, that VLAN needs to be created and the source and destination ports added:

create vlan
conf vlan add ports tagged

Then you need to add a static FDB entry for the stream destination mac on the listener port:

create fdb 91:E0:F0:00:FE:00 vlan ports  

Ultimately, QoS needs to be setup as well, but you shouldn't need that for a single stream.  I would see if you can get the stream forwarding first.
(Edited)
Photo of Daein Chung

Daein Chung

  • 140 Points 100 badge 2x thumb
Hello Chad,

thanks you.

There is a continuous stream from eavb cam  I can see a following fdb when I connect the cam. is '0001' its Vlan?

 X440-8t.13 # show fdb
Mac                     Vlan       Age  Flags         Port / Virtual Port List
------------------------------------------------------------------------------
00:80:e1:ff:ff:07    Default(0001) 0000 d m           1

BR,
-Daein
(Edited)
Photo of Chad Smith

Chad Smith, Senior Escalation Support Engineer

  • 5,620 Points 5k badge 2x thumb
It is possible that the stream is sent untagged in VLAN default.  However, this would not be common for normal AVB streams.  Usually they are sent on another VLAN that is dynamically created by MVRP.