3Com 5500 Switch User Manual


 
74 CHAPTER 13: AUTO DETECT CONFIGURATION GUIDE
[SwitchC] interface vlan-interface 1
[SwitchC-Vlan-interface1] ip address 10.1.2.1 24
[SwitchC-Vlan-interface1] quit
# Create detected group 9.
[SwitchC] detect-group 9
# Detect the reachability of 192.168.1.1/24, with the next hop being 10.1.1.3,
and the detecting number being 1.
[SwitchC-detect-group-9] detect-list 1 ip address 192.168.1.1 nextho
p 10.1.1.3
[SwitchC-detect-group-9] quit
# Configure VLAN-interface 1 as the standby interface, which is enabled when the
detected group 9 is unreachable.
[SwitchC] interface vlan-interface 1
[SwitchC-Vlan-interface1] standby detect-group 9
n
This configuration procedure only provides the auto-detect related configuration.
To use auto detect function properly, a Switch A-to-Switch B-to-Switch C route
must already exist on Switch A, and a Switch C-to-Switch B-to-Switch A route
must already exist on Switch C.
Complete Configuration
Configure Switch A
#
detect-group 10
detect-list 1 ip address 10.1.1.4 nexthop 192.168.1.2
#
vlan 1
#
vlan 2
#
interface Vlan-interface1
ip address 192.168.1.1 255.255.255.0
#
interface Vlan-interface2
standby detect-group 10
ip address 192.168.3.1 255.255.255.0
Configure Switch C
#
detect-group 9
detect-list 1 ip address 192.168.1.1 nexthop 10.1.1.3
#
vlan 1
#
vlan 2
#
interface Vlan-interface1
standby detect-group 9
ip address 10.1.2.1 255.255.255.0
#
interface Vlan-interface2