CCIE EI Lab Exam Workbook PDF Section 3.1-4

Hello everyone, today we will complete CCIE EI Lab Exam Workbook PDF Section 3.1-4. It is also the last section of the CCIE Enterprise Infrastructure Lab. When you finish this part, I can guarantee that you have a 60% chance of passing the exam. Why say it 60%? Because these dumps that I provided are just a text description of some of the Q&As. To be a qualified CCIE, you will also need to have a real lab practice test and only if you constantly practice my shared CCIE EI lab exam workbook pdf through Cisco rack that let you have full confidence to deal with the sudden problems that may occur in the exam.

CCIE EI Lab Exam Workbook PDF Section 3.1-4

If you don’t currently have the right Cisco rack available to practice, please don’t be hesitate and contact us as soon as possible. BestCiscoDumps provides cisco remote rack that highly simulates the real test environment to help you practice lab. But this is not free, we will charge some fees to maintain the remote rack. BestCiscoDumps is doing its best to help candidates pass the exam.

Don’t say too much, we start today’s content.

Click the link to view the complete CCIE EI Lab topology
Click the link to view the CCIE EI Lab Exam Workbook PDF Section 1.1-1.9
Click the link to view the CCIE EI Lab Exam Workbook PDF Section 1.10-1.16
Click the link to view the CCIE EI Lab Exam Workbook PDF Section 2.1-2.3
Click the link to view the CCIE EI Lab Exam Workbook PDF Section 2.4-2.6
The current page is CCIE EI Lab Exam Workbook PDF Section 3.1-3.4

SECTION 3: Making use of Programmability

SECTION 3.1: Enabling CLI Access to R30

There is no direct console access provided to the router r30. Moreover, r30 does not accept any remote connections because its VTY lines are configured with transport input none. Using RESTCONF enable remote access to r30 for all remote access protocols, according to the following requirements:

  1. You can use host31 to access router r30 using IP address
  2. You can use any method of accessing the RESTCONF API on r30 from host31, including curl, Python, or Postman
  3. You must change the input transport protocol on all configurable VTY lines.
  4. The input transport protocol value setting must be changed from none to all.

Important parameters:

  1. Username/Password for HTTP authentication
    • admin/admin
  2. URL
  3. HTTP method to retrieve the configuration
    • GET
  4. HTTP method to modify the configuration
    • PATCH
  5. HTTP headers
    • Content-Type: application/yang-data+json
    • Accept: application/yang-data+json
  6. Recommended curl switches
    • -I, -k, -X, -H, -u, -d


On host31


  1. Open the host31 console (VNC)
  2. Open Postman
  3. Select API
  4. Click on “+ “ Symbol
  5. Select the Method as “GET”
  6. Select the Auth as “Basic Auth”
  7. Input the Username/Password: admin/admin
  8. Input the executable link: native/line/vty
  9. Input the header details as shown in screenshots
  10. Under Setttings: Switch “Off” SSL
  11. Click “Send”
  12. Click on the button as shown in the screenshot to copy the generated response and click on “+ “ Symbol
  13. Select the Method as “Patch”
  14. Select the Auth as “Basic Auth”
  15. Input the Username/Password: admin/admin
  16. Input the executable link: native/line/vty
  17. Input the header details as shown in screenshots
  18. Under Setttings: Switch “Off” SSL
  19. Paste the copied text in the body (raw –json)
  20. Replace the “none” to “all” under line vty (pasted texts)
  21. Click “Send”
  22. All Done

SECTION 3.2: Using Guest Shell and Python on r30

On r30, enable guestshell and create a Python script named “” in the guestshell according to the following requirements:

  1. If an additional IP network is necessary to start guestshell, you are allowed to use addresses from the range This range must not be advertised in any routing protocol.
  2. The Python script must be saved under the name in the home directory of the guestshell user.
  3. The purpose of the script is to display the complete contents of all routing tables in no-default VRFs created on the router.
  4. The script must execute the show ip route vrf….. or show ipv6 vrf….. command for every nondefault VRF created on the router depending on what address families are enabled in that VRF
  5. The script must determine the list of created VRFs and enabled address families dynamically every time it is run using, for example, show vrf brief | include ipt
  6. The script must not attempt to display the VRF routing table for an address family that is not in the VRF
  7. It must be possible to run script using the guestshell run python command from privileged EXEC mode


On host31


  1. Open the host31 console (VNC)
  2. Open Terminal
  3. ssh admin@
  4. Enter the password: admin
  5. Check the router configuration with “show run”
  6. Important steps to know
    • If virtualportgroup is not created than create it as below
    • Interface vitualportgroup 0
    • If virtualportgroup is pre-configured or you have manually configured it regardless, next step
    • Ip address
    • Ip nat inside (optional)
  7. Enable guestshell with command
    • guestshell enable
  8. If you see any error on step 4, than use below commads (optional)
    • Configure terminal
    • Iox
    • app-hosting appid guestshell
    • app-vnic management guest-interface 0
    • End
    • Now try again to enable guestshell
  9. To enter guestshell mode use command
    • guestshell
  10. To make python script use command
    • sudo vi
  11. Now the python file is created and you have to type/make the python script
  12. Presss “i” to enter insert mode
  13. Open a text editor and type the script (optional)
  14. Create the script in the text editor (optional)
  15. Copy and paste the script from the text editor in the terminal (optional)
  16. You can directly write the script in the terminal and avoid using text editor. Its completely your choice
  17. To save and exit the vi editor use below command
    • Press esc
    • Than type :wq
    • Press enter
  18. Now run the script form exec privilege mode
    • R30#guestshell run python
  19. If you see the proper output as shown in screenshots than the task is completed
  20. All Done

SECTION 3.3: Automated Configuration Backup Script

This item consist of multiple questions. You may need to scroll down to be able to see all questions.

  1. You are tasked with writing a Python script to back-up the configuration of a number of IOS-XE devices through RESTCONF, and store the configuration in the text files. The starting section of this script has already written and contains the following line:
    • #1/usr/bin/python3
    • import requests
    • Credentials = [ (“”, “admin”, “s3cr3t”,),
    • (“”, “netadmin:, “0th3rs3cr3t”) ]
    • Headers = { “Content-Type” : “application/yang-data+json”,
    • “Accept” : “application/yang-data+json” }
  2. This script needs to be completed by dragging the individual command lines below into their correct order to allow the script to correctly accomplish its purpose. Indicate the ends of the for block and of the while block by properly placing the “..End of for” and “..End of while” symbols.
  3. Drag the lines into their correct order to complete the script as required. Make sure to also properly place the “..End of for” and “..End of with” symbols to indicate the end of the respective blocks in code
automated configuration backup script

1. There are plans to extent the script to display a list of known IOS-XE devices by their IP addresses and allow the administration to select which devices to backup. Aside from other necessary changes in the script, which of the following storage options for the credentials would allow for the most straight-forward implementation?

  1. Credentials = “,admin,s3cr3t,” \,netadmin,0th3rs3crt”
  2. Credentials = [“,admin,s3cr3t”,
  3. Credentials = {“” : (“admin”, “s3cr3t”),
    “”, : (“netadmin”, “0th3rs3crt”)}
  4. Credentials = [(“”, “admin”, “s3cr3t”),
    (“”, “netadmin”, “0th3rs3crt”)]


Part 1

automated configuration backup script answers

Part 2

Answer: d

SECTION 3.4: The End

You reached the end of the exam!

Click the “End Exam Section” button to finish your exam.

That’s all about CCIE EI lab exam workbook section 3.1-4. BestCiscoDumps is a base dedicated to helping Cisco candidates pass the exam.We hope that with our help, the test candidates can get their own CCIE number successfully. Please look forward to it which we have been working for this goal.

If you want to get more verification about the questions and a more complete CCIE EI Lab Exam Workbook PDF, please contact us!

Last but not least, please support us to pick us up!

Leave a Comment