1-6
Description
Use the
retry
command to set the maximum retry times during a detect operation. Use the
undo
retry
command to restore the default times.
By default, the maximum retry times during a detect operation is two.
Examples
# Specify the maximum number of retires to 3 for detected group 10.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] detect-group 10
[Sysname-detect-group-10] retry 3
standby detect-group
Syntax
standby detect-group
group-number
undo
standby detect-group
View
VLAN interface view
Parameters
group-number
: Detected group number ranging from 1 to 25.
Description
Use the
standby detect-group
command to configure the interface backup function by using the auto
detect function.
Use the
undo
standby detect-group
command to disable the interface backup function.
After you configure the
standby detect-group
command, whether the backup interface is enabled
depends on the auto detecting results:
z
The primary interface keeps in use when the detected group is
reachable
.
z
The backup interface is enabled when the detected group is
unreachable
.
z
The backup interface is disabled and the primary interface is re-enabled when the link between the
primary interface and the destination resumes, that is, the detected group is
reachable
again.
Examples
# Specify to enable VLAN-interface 2 (the backup interface) when the detected group 10 is
unreachable
.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] interface vlan-interface 2
[Sysname-Vlan-interface2] standby detect-group 10
After the configuration, if detected group 10 is reachable, the backup interface VLAN-interface 2 will be
in the disabled state, and if detected group 10 is unreachable, VLAN-interface 2 will be enabled.