Router(config-ip-sla)# threshold 100
This sets the threshold for the operation to 100 milliseconds.
6. Configure a reaction to the threshold being exceeded:
scssCopy code
Router(config-ip-sla)# reaction-trigger 1
Router(config-ip-sla)# react timeout-type threshold-value
This configures the router to send a SNMP trap when the threshold is exceeded.
7. Verify the configuration:
Router# show ip sla configuration
Router# show ip sla statistics
These commands will show the configuration and current statistics for the IPSLA operation.
4.6 Describe Cisco DNA Center workflows to apply network configuration, monitoring, and management
Cisco DNA Center is a network management tool that offers a centralized platform for managing and automating network operations. It provides several workflows to configure, monitor, and manage the network. Some of the workflows include:
1. Network Design and Provisioning: The network design and provisioning workflow enable network administrators to design and provision network infrastructure components, including VLANs, VRFs, and network policies. Administrators can define the network's topology, apply network policies, and configure security policies.
2. Automation: Automation workflow automates network configuration tasks using predefined templates. It enables network administrators to automate the deployment of new network devices, including switches and routers. Automation reduces manual configuration errors and accelerates the network deployment process.
3. Assurance: Assurance workflows monitor the network's health and performance. It provides end-to-end visibility and analytics to detect network issues, identify their root cause, and resolve them quickly. It uses machine learning and artificial intelligence to analyze network data and generate insights into network performance.
4. Policy: Policy workflows enable network administrators to define and enforce network policies. Administrators can create and enforce policies based on user roles, applications, and devices. Policy workflows help ensure compliance with security and regulatory requirements.
5. Plug and Play: Plug and Play workflow automates the process of adding new devices to the network. It enables network administrators to deploy new devices with minimal configuration. Plug and Play workflow reduces the time and effort required to deploy new network devices.
Overall, Cisco DNA Center workflows simplify network management and automate network operations, reducing the time and effort required to manage the network while improving its reliability and performance.
4.7 Configure and verify NETCONF and RESTCONF
NETCONF (Network Configuration Protocol) and RESTCONF (RESTful Network Configuration Protocol) are both used for network device configuration and management. NETCONF is based on XML while RESTCONF is based on the RESTful architecture.
To configure and verify NETCONF on a Cisco device, you need to enable the NETCONF service and configure the device to accept NETCONF connections from the management station. Here's an example configuration:
scssCopy code
Router(config)# netconf-yang
Router(config)# vrf management
Router(config-vrf)# address-family ipv4
Router(config-vrf-af)# exit
Router(config-vrf)# exit
Router(config)# username admin privilege 15 secret 0 adminpassword
Router(config)# aaa authentication login default local
Router(config)# aaa authorization exec default local
Router(config)# line vty 0 15
Router(config-line)# transport input ssh
Router(config-line)# login authentication default
Router(config-line)# exit
Router(config)# ip ssh version 2
Router(config)# ip domain-name example.com
Router(config)# crypto key generate rsa
Router(config)# end
To configure and verify RESTCONF, you need to enable the RESTCONF service and configure the device to accept RESTCONF connections from the management station. Here's an example configuration:
scssCopy code
Router(config)# restconf
Router(config)# username admin privilege 15 secret 0 adminpassword
Router(config)# aaa authentication login default local
Router(config)# aaa authorization exec default local
Router(config)# line vty 0 15
Router(config-line)# transport input ssh
Router(config-line)# login authentication default
Router(config-line)# exit
Router(config)# ip ssh version 2
Router(config)# ip domain-name example.com
Router(config)# crypto key generate rsa
Router(config)# end
Once configured, you can use NETCONF or RESTCONF clients to manage and configure the device. For example, you can use the "ncclient" Python library to write NETCONF scripts, or use a REST client such as Postman to interact with the RESTCONF API.