Unable recover the virtual interface of a Fast switching mode deleted with ifconfig command by accident.
There would be no guarantee on system behavior, if a virtual interface (Fast switching mode) is disabled or deleted. In order to recover a virtual interface, follow the procedure below:
Accidentally executing "ifconfig sha0 unplumb" against a virtual interface sha0 for Fast switching mode.
If IPv4 address is being used: # ifconfig sha0 plumb IPv4 address up IPv6 address is being used: # ifconfig sha0 inet6 plumb # ifconfig sha0:2 inet6 plumb IPv6 address (Execute only if a logical virtual interface is configured) # ifconfig sha0 inet6 up # ifconfig sha0:2 inet6 up (Execute only if a logical virtual interface is configured) |
Accidentally executing "ifconfig sha0 down" against a virtual interface sha0 for Fast switching mode.
If IPv4 address is being used: # ifconfig sha0 up IPv6 address is being used: # ifconfig sha0 inet6 up # ifconfig sha0:2 inet6 up (Execute only if a logical virtual interface is configured) |
See
In the case of a cluster system, a virtual interface is restored automatically. In addition, please refer to "2.3.4 Interface status monitoring feature" automatically about the virtual interface which can be restored.