Skip to content

Commit b84db2b

Browse files
committed
Update the README for 16.5(1).
Add instructions on installing the requests module.
1 parent e4705f1 commit b84db2b

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

eem_configdiff_to_spark/README.md

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,33 @@ Then type the following in `EXEC` mode:
1818
guestshell enable
1919
```
2020

21+
Guestshell may not include the needed `requests` module. Enter guestshell with the following command:
22+
23+
```
24+
guestshell
25+
```
26+
27+
From the guestshell prompt, run the following command:
28+
29+
```
30+
sudo pip install requests
31+
```
32+
33+
If this returns an error about not being able to establish a connection to download the module, you
34+
may need to update your DNS settings within guestshell. If you know your DNS server, you can use
35+
that address. If you don't, just use 8.8.8.8. Run the command:
36+
37+
```
38+
sudo echo 'nameserver DNSSERVER' > /etc/resolv.conf
39+
```
40+
41+
Where DNSSERVER is the IP address of your DNS server (or 8.8.8.8). After doing that, repeat
42+
the `pip` command, and it should install successfully. If `pip` tells you `requests` is already
43+
installed, then your guestshell environment is good. You can type `exit` to return to IOS-XE.
44+
45+
**NOTE** The guestshell environment will persist across reboots. It will not revert to the default
46+
state unless you do a `guestshell destory` followed by another `guestshell enable`.
47+
2148
Next, define the following EEM environment. Be sure **NOT** to put quotes around the variable
2249
values:
2350

0 commit comments

Comments
 (0)