Set the Router/HUB monitoring function for the operation in RIP mode or NIC switching mode. Set the Router/HUB monitoring function in accordance with the following procedure:
Figure 3.4 Setting procedure of the Router/HUB monitoring function
Create the monitoring information of the Router/HUB monitoring function. Use the "hanetpoll" command for this setting. For details about this command, see Section "7.7 hanetpoll Command".
Enable the Router/HUB monitoring function.
Use the "hanetpoll on" command to set up this function. If the "hanetpoll on" command is executed, the ping command is executed on the Router/HUB.
Note
In NIC switching mode, no line failure is assumed even if the ping command fails until the link up wait time (IDLE (seconds) in Figure 3.5 Basic sequence of Router/HUB monitoring) passes. This is because monitoring starts after a physical interface is activated. Time required for link up depends on the HUB type to be connected. If the line monitoring fails although the HUB is not faulty, extend the wait time as required, using the -p parameter of the "hanetpoll on" command.
If the "hanetpoll on" command is executed while the virtual interface with monitoring destination information specified is activated, the router monitoring function is immediately enabled.
If the "hanetpoll" command is executed while the virtual interface with monitoring destination information specified is not activated, the Router/HUB monitoring function is not enabled.
If, after the Router/HUB monitoring function is enabled, the virtual interface with monitoring destination information specified is activated, the Router/HUB monitoring function is not enabled. In this case, disable the Router/HUB monitoring function, activate the virtual interface, and enable the Router/HUB monitoring function again. For more information, see Section "7.7 hanetpoll Command".
Figure 3.5 Basic sequence of Router/HUB monitoring
Figure 3.6 Router/HUB monitoring sequence after detect line fault
This section describes on transfer route error detection sequence of HUB monitoring feature on NIC switching mode.
The followings are examples of the case of one monitoring target and two monitoring targets both using HUB-to-HUB monitoring feature.
One monitoring target:
Error detection time = monitoring interval (in seconds) X (monitoring frequency - 1) + ping time out period (*1) |
*1: If the monitoring interval is 1 second, ping time out period would be 1 second, otherwise, ping time out period would be 2 seconds.
The default value would look like the following.
5 sec x (5 times - 1) + 2 sec = 22 sec
Two monitoring targets:
Error detection time = monitoring interval (in seconds) X (monitoring frequency - 1) + ping time out period (*2) x 2 |
*2: If the monitoring interval is 2 seconds, ping time out period would be 1 second, otherwise, ping time out period would be 2 seconds.
The default value would be like the following.
5 sec x (5 times - 1) + 2 sec x 2 = 24 sec
Figure 3.7 Transfer path error detection sequence (one monitoring target)
Figure 3.8 Transfer path error detection sequence (two monitoring target)
Note
If no response after the ping command run for 30 seconds, the hang-up will be detected and it will be determined that an error has occurred on the transfer route before running the command again. The hang-up can only be detected when the patch 914233-10 or later is applied in Solaris 10 environment.