1# OpenThread Certification Tests
2
3## Inspector
4
5Inspect nodes status by the following modification:
6
71. Insert the inspector to where you want to inspect.
8
9```python
10import debug
11debug.Inspector(self).inspect()
12```
13
142. Run the test and it will stop at the line above and prompt `#`.
15
16```sh
17./script/test clean build cert tests/scripts/thread-cert/Cert_5_1_01_RouterAttach.py
18```
19
203. Inspect
21
22```sh
23#
24# 1
25> state
26leader
27> exit
28# 2
29> panid
30face
31> exit
32# exit
33```
34
35### CLI reference
36
37#### `#` mode
38
39This is selection mode. You may select the node to inspect here.
40
41- `list` - list available nodes.
42- `exit` - end inspecting, continue running test case.
43- \<number\> - select the node with id \<number\>. This will result in entering `>` mode.
44
45#### `>` mode
46
47This is node mode. You may run OpenThread CLI here.
48
49- `exit` - go back to `#` mode.
50