chkconfig --add test
chkconfig test on
查看开启的服务列表:
chkconfig --list
参考:https://www.thegeekstuff.com/2011/06/chkconfig-examples/
chkconfig --add test
chkconfig test on
chkconfig --list
copy tftp://192.168.1.10/cat3k_caa-universalk9.SPA.03.06.09.E.152-2.E9.bin cat3k_caa-universalk9.SPA.03.06.09.E.152-2.E9.bin3. Install 模式升级
software install file flash:cat3k_caa-universalk9.SPA.03.06.09.E.152-2.E9.bin4. 清理
software clean
Candidate package compatibility checks failed because the following则可尝试在安装命令后添加 new force
package dependencies were not satisfied. Operation aborted.
software install file flash:cat3k_caa-universalk9.16.06.04a.SPA.bin new force
request platform software package install switch all file flash:cat3k_caa-universalk9.16.06.04a.SPA.bin2. 清理
request platform software package clean switch all file flash:或者
request platform software package clean注: 16.x 版本无 software install / software clean 命令,这里 switch all 指的是所有 switch
DISM /online /Get-TargetEditions
DISM /online /Set-Edition:<edition ID> /ProductKey:XXXXX-XXXXX-XXXXX-XXXXX-XXXXX /AcceptEula
| Guest Operating System | Key |
|---|---|
| Windows Server 2012 R2 Essentials | K2XGM-NMBT3-2R6Q8-WF2FK-P36R2 |
| Windows Server 2012 R2 Standard | DBGBW-NPF86-BJVTX-K3WKJ-MTB6V |
| Windows Server 2012 R2 Datacenter | Y4TGP-NPTV9-HTC2H-7MGQ3-DV4TW |
| Windows Server 2016 Essentials | B4YNW-62DX9-W8V6M-82649-MHBKQ |
| Windows Server 2016 Standard | C3RCX-M6NRP-6CXC9-TW2F2-4RHYD |
| Windows Server 2016 Datacenter | TMJ3Y-NTRTM-FJYXT-T22BY-CWG3J |
get hardware status
Timer.AutoReset = false;改变 Timer.Interval 仍会引起定时器重新启动计时
Timer.Enabled = false;
permit 允许 deny 拒绝 permit 匹配 deny 不匹配