Cisco
300-535 · Question #82
Refer to the exhibit. What must be added at lines 6 and 15 to check the IP addresses of the interfaces and configure the logging history of a Cisco IOS XR device?
The correct answer is A. Al line 6, add "device_type": "iosxr". At line 6, "device_type": "iosxr" specifies the correct Netmiko platform for Cisco IOS XR. At line 15, send_command_set(['logging history size 500', 'commit']) is used to send configuration commands and commit them on IOS XR devices.
Design for Cisco Cloud Automation
Question
Refer to the exhibit. What must be added at lines 6 and 15 to check the IP addresses of the interfaces and configure the logging history of a Cisco IOS XR device?
Exhibit
Options
- AAl line 6, add "device_type": "iosxr"
- BAt line 6, add "device_type": "cisco_xr"
- CAt line 6, add "device type": "cisco xr"
- DAt line 6, add "device_type": "ios_xr"
How the community answered
(47 responses)- A81% (38)
- B11% (5)
- C4% (2)
- D4% (2)
Explanation
At line 6, "device_type": "iosxr" specifies the correct Netmiko platform for Cisco IOS XR. At line 15, send_command_set(['logging history size 500', 'commit']) is used to send configuration commands and commit them on IOS XR devices.
Topics
#Netmiko#IOS XR#Python#device_type parameter
Community Discussion
No community discussion yet for this question.
