ZStack Cloud Platform
Single Server, Free Trial for One Year
You can use the zs-restore-network-setting
command to restore network configuration.
The parameter of zs-restore-network-setting
is as follows:
-i Restore the network configuration of the physical NIC to default.
Syntax:
zs-restore-network-setting -i interface
zs-restore-network-setting -i eth0 zs-restore-network-setting -i eth0.10
if-cfg
file of the physical NIC to default, and restarts the NIC. The response sample is as follows:TYPE=Ethernet BOOTPROTO=none NAME=$NICNAME DEVICE=$NICNAME