#configure terminal | Enter configure mode. |
(config)#interface xe1 | Specify the interface (xe1) to be configured. |
(config-if)#ip address 10.1.1.1/24 | Set the IP address of the interface to 10.1.1.1/24. |
(config-if)#exit | Exit interface mode. |
(config)#commit | Commit the candidate configuration to the running configuration |
#configure terminal | Enter configure mode. |
(config)#interface xe1 | Specify the interface (xe1) to be configured. |
(config-if)#ip address 10.1.1.2/24 | Set the IP address of the interface to 10.1.1.2/24. |
(config-if)#exit | Exit interface mode. |
(config)#commit | Commit the candidate configuration to the running configuration |
#configure terminal | Enter configure mode. |
(config)#ip sla <1-65535> | configure IP SLA with a unique no |
(config-ip-sla)# icmp-echo ipv4<destination IP> source-interface <interface name> | configure the icmp-echo using destination Ip Address and source interface name |
(config-ip-sla-echo)#threshold <1000-60000> | Configure the threshold value |
(config-ip-sla-echo)#timeout <1000-60000> | Configure the Timeout value |
(config-ip-sla-echo)#frequency <1-60> | Configure the frequency value |
(config-ip-sla-echo)#exit | Exit icmp-echo mode |
(config-ip-sla)#exit | Exit from IP SLA mode |
(config)#commit | Commit the candidate configuration to the running configuration |
(config)#time-range <1-60 characters> | configure a time-range |
(config-tr)#start-time 11:22 3 july 2021 | configure a start-time |
(config-tr)#end-time after 200 | Configure end-time |
(config-tr)#frequency hourly | configure frequency |
(config-tr)#exit | exit from time-range |
(config)#ip sla schedule <1-65535> time-range echo_schedule | Schedule a IP SLA measurement |
(config)#commit | Commit the candidate configuration to the running configuration |