1-6Auto Detect Configuration ExamplesConfiguration Example for Auto Detect Implementation with Static RoutingNetwork requirementsz Create detected group 8 on Switch A; detect the reachability of the IP address 10.1.1.4, with192.168.1.2 as the next hop, and the detecting number set to 1.z On switch A, configure a static route to Switch C.z Enable the static route when the detected group 8 is reachable.z To ensure normal operating of the auto detect function, configure a static route to Switch A onSwitch C.Network diagramFigure 1-3 Network diagram for implementing the auto detect function in static routeConfiguration procedureConfigure the IP addresses of all the interfaces as shown in Figure 1-3. The configuration procedure isomitted.z Configure Switch A.# Enter system view. system-view# Create detected group 8.[SwitchA] detect-group 8# Detect the reachability of 10.1.1.4/24, with 192.168.1.2/24 as the next hop, and the detecting numberset to 1.[SwitchA-detect-group-8] detect-list 1 ip address 10.1.1.4 nexthop 192.168.1.2[SwitchA-detect-group-8] quit# Enable the static route when the detected group is reachable. The static route is invalid when thedetected group is unreachable.[SwitchA] ip route-static 10.1.1.4 24 192.168.1.2 detect-group 8z Configure Switch C.# Enter system view. system-view# Configure a static route to Switch A.[SwitchC] ip route-static 192.168.1.1 24 10.1.1.3Configuration Example for Auto Detect Implementation with VRRPNetwork requirementsz Switch A and switch B form VRRP group 1, whose virtual IP address is 192.168.1.10.z Packets sourced from Host A and destined for Host B is forwarded by Switch A under normalsituations.