Cisco ก็สามารถเขียน script TCL ได้น่ะครับ ตัวอย่างต้องการ ping ไปหลายๆ ip
#tclsh ! เรียกใช้ tcl shell
foreach ip {
192.168.1.1
192.168.1.2
192.168.1.3
192.168.1.4
} { puts [ ping $ip source loopback0 repeat 100 ] }
! ก็จะเห็น Output
! ถ้าต้องการ ออกจาก tcl shell
#tclquit
เราสามารถเอาไป apply เพื่อใช้งาน script อื่นๆได้
NVIDIA เปิดตัว RTX PRO 5000 แรม 72GB
8 hours ago
No comments:
Post a Comment