CCIE EI SECTION 3 : Automatization - Enabling CLI Access and Using Guest Shell and Python on r30

preview_player
Показать описание
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 10.3.11.1

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

****************************************************************************

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 192.168.255.0/24. This range must not be advertised in any routing protocol.

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 ipv

6. The script must not attempt to display the VRF routing table for an address family that is not in
the VRF

privileged EXEC mode
Рекомендации по теме