6. ;##### Loop #####
i = 10
timeout = 300
wait '#'
sendln 'ping vrf ABC 10.10.10.10 count 100'
wait '#'
endwhile
USE CASE-AUTO PING AND ANALYSIS
strscan VAL 'Success rate is'
if result>0 then
_Ping_Result = VAL
strmatch _Ping_Result '(((d+)/(d+)))‘
strmatch _Ping_Result '((d+)/(d+)/(d+) (ms))'
else
endif
Success rate is 100 percent (10/100),
round-trip min/avg/max = 18/18/68 ms
7. USE CASE-CONFIGURATION SCRIPT
L1-CORE02,10.73.100.253
enable super-user-password Brocade123
hostname L1-CORE02
ip address 10.73.100.253 255.255.255.0
no ip dhcp-client enable
ip default-gateway 172.20.5.1
logging console
telnet timeout 60
username admin password Brocade123
cdp run
fdp run
lldp run
web-management https
hitless-failover enable