// Module included in the following assemblies:
//
// assemblies/assembly-qdstat.adoc

[id='view-link-routes-qdstat-{context}']
= Viewing link routes using qdstat

You can view the link routes using `qdstat`.

.Procedure

. On the command line, run the following command to obtain the `podname` value needed in the following step:
+
[options="nowrap",subs="+quotes,attributes"]
----
{cmdcli} get pods
----

. On the command line, run the following command:
+
[source=bash,options="nowrap",subs="+quotes,attributes"]
----
{cmdcli} exec -n _namespace_ -it qdrouterd-_podname_ -- qdstat -b 127.0.0.1:7777 --linkroutes

Link Routes
  address  dir  distrib       status
  ======================================
  $lwt     in   linkBalanced  inactive
  $lwt     out  linkBalanced  inactive
----

