Fortinet black logo

GCP Administration Guide

Testing the route and forwarding rule failover

Testing the route and forwarding rule failover

To test the route and forwarding rule failover:
  1. Enter the following debug commands on each FortiGate prior to initiating failover:
    diagnose debug reset 
    diagnose debug console timestamp enable
    diagnose debug enable 
    diagnose debug application gcpd -1

    The following shows the primary FortiGate debug output before failover is initiated:

  2. Before failover, confirm that the route and forwarding rule use the primary FortiGate IP address (10.0.2.10 in this example) and primary target instance.

    The following shows the secondary FortiGate debug output after failover is initiated:

  3. After failover, confirm that the route and forwarding rule use the secondary FortiGate IP address (10.0.2.11 in this example) and secondary target instance.

For more information about this feature, see Set up protocol forwarding.

Testing the route and forwarding rule failover

To test the route and forwarding rule failover:
  1. Enter the following debug commands on each FortiGate prior to initiating failover:
    diagnose debug reset 
    diagnose debug console timestamp enable
    diagnose debug enable 
    diagnose debug application gcpd -1

    The following shows the primary FortiGate debug output before failover is initiated:

  2. Before failover, confirm that the route and forwarding rule use the primary FortiGate IP address (10.0.2.10 in this example) and primary target instance.

    The following shows the secondary FortiGate debug output after failover is initiated:

  3. After failover, confirm that the route and forwarding rule use the secondary FortiGate IP address (10.0.2.11 in this example) and secondary target instance.

For more information about this feature, see Set up protocol forwarding.