工具:ImageMagick
命令:magick convert -background transparent sample*.png sample.ico
工具:ImageMagick
命令:magick convert -background transparent sample*.png sample.ico
刷新主机关联的数据查询:
/usr/bin/php -q /var/www/html/cli/poller_reindex_hosts.php --id=51其中id为主机在CactiEZ的编号
在crontab添加两个任务:
@reboot /bin/sleep 200 && /usr/bin/php -q /var/www/html/cli/poller_reindex_hosts.php --id=51 > /dev/null 2>&1
10 * * * * /usr/bin/php -q /var/www/html/cli/poller_reindex_hosts.php --id=51 > /dev/null 2>&1
在华为交换机创建(或上传)bat文件,放在flash:/user/bat/目录:
<HUAWEI>more flash:/user/bat/cfg_backup.bat
return
save
tftp 10.77.11.38 put flash:/vrpcfg.zip 0.25_S5720S_F06.zip
每周五上午6点自动上传配置文件到tftp服务器:
assistant task weekly_backup
if-match timer cron * 0 6 * * 5 *
perform 1 batch-file cfg_backup.bat
交换机型号:S5720S-28P-LI-AC
参考:
https://support.huawei.com/enterprise/en/knowledge/EKB1000066522
交换机型号:
华为 S5720S-28P-LI-AC —— 接入层,光口G0/0/27,G0/0/27
思科 WS-C3750G-12S —— 汇聚层,光口G1/0/11,G1/0/12
华为交换机配置:
lacp priority 100
#
interface Eth-Trunk1
port link-type trunk
port trunk allow-pass vlan 2 to 4094
mode lacp
max active-linknumber 2
#
interface GigabitEthernet0/0/27
eth-trunk 1
#
interface GigabitEthernet0/0/28
eth-trunk 1
interface Port-channel6
switchport trunk encapsulation dot1q
switchport mode trunk
!
interface GigabitEthernet1/0/11
switchport trunk encapsulation dot1q
switchport mode trunk
channel-protocol lacp
channel-group 6 mode passive
!
interface GigabitEthernet1/0/12
switchport trunk encapsulation dot1q
switchport mode trunk
channel-protocol lacp
channel-group 6 mode passive
参考:
https://blog.51cto.com/wangchunhai/1957696
https://support.huawei.com/enterprise/zh/doc/EDOC1000113970/6985bcbc
https://blog.csdn.net/qq_52655865/article/details/130912899
1、下载IOS软件并把IOS软件(.tar格式)存放在TFTP服务器
2、执行
archive download-sw /overwrite /reload tftp://192.168.11.38/c2960s-universalk9-tar.152-2.E9.tar
参考:
工具:ImageMagick 命令:magick convert -background transparent sample*.png sample.ico