You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/netlab/exec.md
+3Lines changed: 3 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,6 +3,8 @@
3
3
4
4
**netlab exec** command uses information stored in the _netlab_ snapshot file and reported with the **[`netlab inspect --node`](inspect.md)** command to execute a command on one or more lab devices using SSH or **docker exec**.
5
5
6
+
[**netlab inspect** documentation](netlab-inspect-node) describes how to specify the nodes on which the command will be executed.
7
+
6
8
## Usage
7
9
8
10
```text
@@ -20,6 +22,7 @@ options:
20
22
-q, --quiet Report only major errors
21
23
--dry-run Print the hosts and the commands that would be executed on them,
22
24
but do not execute them
25
+
--header Add node headers before command printouts
Copy file name to clipboardExpand all lines: docs/netlab/inspect.md
+3-1Lines changed: 3 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -58,15 +58,17 @@ Finally, the data selection argument is evaluated as a Python expression, so you
58
58
(netlab-inspect-node)=
59
59
## Node Inspection Examples
60
60
61
-
You can use the `--node` parameter to inspect the data structure of a single node, a list of nodes (separated by commas), or a wildcard expression.
61
+
You can use the `--node` parameter to inspect the data structure of a single node, a group of nodes, or a wildcard (glob) expression. You can also specify multiple parameters separated by commas.
62
62
63
63
| To display this information... | ...use this command |
Copy file name to clipboardExpand all lines: docs/netlab/report.md
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -36,3 +36,7 @@ The **[netlab show reports](netlab-show-reports)** command displays up-to-date l
36
36
*`netlab report bgp-neighbor.md` creates the table of BGP neighbors in Markdown format
37
37
*`netlab report bgp-neighbor.ascii` creates the Markdown BGP neighbors report and renders it as ASCII text using the [rich.markdown](https://rich.readthedocs.io/en/stable/markdown.html) library.
38
38
*`netlab report addressing --node r1,r2` creates addressing report for R1 and R2.
39
+
40
+
```{tip}
41
+
[**netlab inspect** documentation](netlab-inspect-node) describes how to specify the nodes on which the command will be executed.
0 commit comments