shutdown参数
shutdown(接口视图)命令功能shutdown命令用来关闭当前接口。undo shutdown命令用来开启当前接口。命令格式shutdownundo shutdown参数说明无视图Ethernet接口视图、GE接口视图、XGE接口视图、Eth-Trunk接口视图、端口组视图缺省级别2:配置级使用指南 注意: 在数据传输过程中关闭接口,将造成数据帧丢失,请慎重使用shutdown命令。
当修改了接口的工作参数配置,新的配置未能立即生效,可以使用shutdown和undo shutdown命令关闭和重启接口,使新的配置生效。
当接口闲置(即没有连接电缆)时,请使用shutdown命令关闭该接口,以防止由于干扰导致接口异常。
在Eth-Trunk接口视图下使用shutdown命令,则所有成员接口都被关闭。使用实例# 关闭接口GigabitEthernet1/0/1。
shutdown-r是系统关机命令。shutdown-r功能说明:系统关机指令。
shutdown指令可以关闭所有程序,并依用户的需要,进行重新开机或关机的动作。
参 数:-c 当执行"shutdown -h
11:50"指令时,只要按+键就可以中断关机的指令。
我给你改了一下。inttime;time=numericUpDown1.Value;Process.Start("c:\\windows\\system32\\shutdown.exe","-s-t"+time);