内容摘要:show diag命令会返回路由器相关模块/适配器的如下信息:硬件版本、电路板修订、RMA数码与历史(RMA number andhistory)、底盘序列号(Chassis serial number)、Cisco的互换单元码(field replaceableunit)、Cisco零件码(该设备的真正零件码)、底板的技术寄存器(包含电源供应和温度状态)、设备母板上...【阅读全文】
1.编写发送脚本vi sendsms.sh #!/bin/bash fetionDir=/usr/local/fetion/ cd $fetionDir DIR=`pwd`user=13724506486 pwd=gjb88888for phone in `cat $DIR/phonelist.txt` do echo "$phone" | sed ‘/^[ \t]*$/d’ | sed ‘s/^[ \t]*//’ | sed ‘s/[ \t]*$//’ | grep ‘^1[0-9...【阅读全文】