A dig command for Cisco IOS
- Copy the
dig.tcl
into the CompactFlash card (or other flash) - Use
dir
command to carefully check the filename (sometimes Cisco IOS recognize the filename as Upper-case) configure terminal
alias exec dig tclsh flash:<FILENAME>
- Now the alias is binded in exec mode, if you want to bind more, use
alias configure dig tclsh flash:<FILENAME>
alias interface dig tclsh flash:<FILENAME>
- Use
dig 8.8.8.8
anddig dns.google
now and see the result!
- Cisco IOS 12.4 +
- Access to flash or other storage