You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 12 Next »

This page is for EdgeView client side command descriptions. For information on EdgeView design and architecture, please see Design Proposal.

To run EdgeView client script, the docker is required on user's laptop. The EdgeView client program is started in a script with 'docker run'. For an example of the client script, see EdgeView Client Script. The EdgeView commands are checked against EdgeView Policies to be allowed to run on devices.


Command Help

EdgeView script (e.g. edgeview.sh) with the '-h' or '-help', it will display the output like:

edgeview.sh -h

eve-edgeview [ -token <session-token> ] [ -inst <instance-id> ] [ -debug ] <query command>
query options:

[acl app arp connectivity flow if mdns nslookup ping route socket speed tcp tcpdump trace url wireless]
[app configitem cat cp datastore dmesg download du hw lastreboot ls model newlog pci ps cipher usb techsupport top volume]
log/search-pattern [ -time <start_time>-<end_time> -json -type <app|dev> -line <num> ]
pub/ [baseosmgr domainmgr downloader edgeview global loguploader newlogd nim nodeagent tpmmgr vaultmgr volumemgr watcher zedagent zedclient zedmanager zedrouter zfsmanager]

For more detail help on EdgeView commands, see https://wiki.lfedge.org/display/EVE/EdgeView+Commands

For help on a specific command, for example on 'flow' (assume it's a multiple instance, need to specify '-inst 1'):

edgeview.sh -inst 1 flow -h

flow[/<some pattern>] - display ip flow information in the kernel search pattern
e.g. flow/sport=53 -- display all the ip flow matches source port of 53
flow/10.1.0.2 -- display all the ip flow matches ip address of 10.1.0.2

The rest of this document will have more detail information on each of the EdgeView command.

Multi-Instances

When the EdgeView is started base on the configuration on the controller, it can be a single instance or multiple instance session. The multi-instance case is used when there is a need for multiple users to access the device or applications at the same time. For the multi-instance session, the user needs to supply the 'instance ID' when issuing EdgeView command, for example with the above 'edgeview.sh' script, an instance number is needed:

edgeview.sh -inst 2 route

The above command uses the 'instance 2' for EdgeView session to the device to query for the routes on the system.

In this document, the instance-ID will not be used in the description. Users just need to insert the '-inst <num>' if the session is a multi-instance type.

Network Commands

The EdgeView network related commands are the items printed from the '-h' output:

[acl app arp connectivity flow if mdns nslookup ping route socket speed tcp tcpdump trace url wireless]


System Commands

Log Search Commands

Pub/Sub Commands

TCP Channel Commands

Proxy Command

Copy Files Command

Tech-Support Command


  • No labels