getForwardingTableFromDevice

POST https://{{host}}/api/v1/sites/:site_id/devices/:device_id/show_forwarding_table

Get forwarding table from the Device. The output will be available through websocket. As there can be multiple command
issued against the same device at the same time and the output all goes through the same websocket stream, session is
introduced for demux.

Parameters

NameTypeDescription
nodestring(Optional) node0 / node1 for HA
vrfstring(Optional) VRF name
prefixstring(Optional) IP prefix
service_namestring(Optional) service name, only supported in SSR
service_tenantstring(Optional) service tenent, only supported in SSR
service_ipstring(Optional) service destination ip, only supported in SSR
service_portint(Optional) service destination port, only supported in SSR
service_protocolstring(Optional) service protocol, only supported in SSR
  • Note: prefix or/and service_name must be used for filtering forwarding table

subscribe to Device Command outputs

{
    "subscribe": "/sites/:site_id/devices/:device_id/cmd"
}

The Actual Output Data
Mon 2024-05-20 16:47:30 UTC
Retrieving fib entries…
Entry Count: 3268
Capacity:    22668
==================== ====== ======= ================== ===== ====================== =========== =========== ======
IP Prefix            Port   Proto   Tenant             VRF   Service                Next Hops   Vector      Cost
==================== ====== ======= ================== ===== ====================== =========== =========== ======
0.0.0.0/0               0   None    Old_Mgmt           -     internet-wan_and_lte   1-2.0       broadband
1-4.0       lte           10
branch1-Kiosk      -     internet-wan_and_lte   1-2.0       broadband
1-4.0       lte           10
branch1-MGT        -     internet-wan_and_lte   1-2.0       broadband
1-4.0       lte           10
3.1.1.0/24              0   None    Old_Mgmt           -     internet-wan_and_lte   1-2.0       broadband
1-4.0       lte           10
branch1-Kiosk      -     internet-wan_and_lte   1-2.0       broadband
1-4.0       lte           10
branch1-MGT        -     internet-wan_and_lte   1-2.0       broadband
1-4.0       lte           10

Request Body

{"service_name"=>"internet-wan_and_lte", "service_tenant"=>"branch1-wifi-mgt", "service_ip"=>"3.1.1.10", "service_port"=>"32768", "service_protocol"=>"udp"}