Skip to content

Commit 1a53f7d

Browse files
committed
fixes to EXERCISE-2.md
1 parent eb41b93 commit 1a53f7d

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

EXERCISE-2.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Exercise 2 - Yang, OpenConfig, and gNMI basics
22

3-
This set of exercises is designed to give you more exposure to Yang, OpenConfig,
3+
This set of exercises is designed to give you more exposure to YANG, OpenConfig,
44
and gNMI.
55

66
## Part 1: Understanding the YANG language
@@ -305,7 +305,7 @@ notification {
305305

306306
The schema-less representation provides and `update` for each leaf containing the path to leaf and the value of the leaf. You can confirm that the interface is enabled (set to `true`).
307307

308-
Next, we will use can subscript to the ingress unicast packet counters for on `leaf1` coming from `h1a`:
308+
Next, we will use can subscribe to the ingress unicast packet counters for on `leaf1` coming from `h1a`:
309309

310310
```
311311
$ util/gnmi-cli --grpc-addr localhost:50001 \
@@ -340,7 +340,7 @@ subscribe {
340340
}
341341
}
342342
mode: SAMPLE
343-
sample_interval: 5000
343+
sample_interval: 1000
344344
}
345345
updates_only: true
346346
}
@@ -440,10 +440,10 @@ update {
440440
}
441441
```
442442

443-
In the shell running the Mininet CLI, let's take down the link:
443+
In the shell running the Mininet CLI, let's take down the interface on `leaf1` connected to `h1a`:
444444

445445
```
446-
mininet> link leaf1 h1a down
446+
mininet> sh ifconfig leaf1-eth3 down
447447
```
448448

449449
You should see a response in your gNMI CLI window showing that the interface on `leaf1` connected to `h1a` is `DOWN`:
@@ -477,9 +477,9 @@ update {
477477
}
478478
```
479479

480-
We can bring back the link using the following Mininet command:
480+
We can bring back the interface using the following Mininet command:
481481
```
482-
mininet> link leaf1 h1a up
482+
mininet> sh ifconfig leaf1-eth3 up
483483
```
484484

485485
You should see another response in your gNMI CLI window that indicates the interface is `UP`.

0 commit comments

Comments
 (0)