Symptom:
Unable to recover the virtual interface (sha) deleted with the ifconfig command or the ip command by accident.
Corrective action:
After the virtual interface (sha) is disabled by the ifconfig command or the ip command in Fast switching mode, the behavior of the strhanet/stphanet command cannot be guaranteed. Follow the procedure below to recover the virtual interface if it is disabled by mistake.
Accidentally executing "ifconfig sha0 down" against the virtual interface sha0 for Fast switching mode.
If IPv4 address is being used: # ifconfig sha0 IPv4 address netmask network mask broadcast broadcast address arp up If IPv6 address is being used: # ifconfig sha0 up # ifconfig sha0 add IPv6 address/prefixlen |
Accidentally executing "ip link set sha0 down" against the virtual interface sha0 for Fast switching mode.
If IPv4 address is being used: # ip link set sha0 up
If IPv6 address is being used:
# ip link set sha0 up
# ip -f inet6 addr add IPv6 address/prefixlen dev sha0 |
Accidentally deleting the IP address against the virtual interface sha0 for Fast switching mode.
If IPv4 address is being used: # ip -f inet addr add IPv6 address/prefixlen dev sha0 |
See
In the case of a cluster system, a virtual interface is restored automatically. In addition, please refer to "2.7.1 Interface status monitoring feature" automatically about the virtual interface which can be restored.