Configuration Verifiers

MAC Verification (mac_verifier)

You can run verifiers to make sure the configuration is correct and consistent.

Description

Each MAC address contains information about the Site ID, Security Group Member ID, and interfaces.

Use this command to make sure that the virtual MAC addresses on physical and bond interfaces are the same for all Security Group Members.

You must run this command in the Expert mode.

Syntax

mac_verifier -h

mac_verifier [-l] [-v]

Parameters

Parameter

Description

-h

Shows the built-in help.

-l

Shows MAC address consistency on the Active Site.

-v

Shows information for each interface MAC Address.

Examples

Layer 2 Bridge Verifier (asg_br_verifier, asg_brs_verifier)

Description

Use the "asg_br_verifier" command in Gaia gClish or the Expert mode to confirm that there are no bridge configuration problems in Virtual Systems in the Bridge Mode.

Notes:

  • You must run the "asg_br_verifier" command in the context of the specific Virtual System in the Bridge Mode.

  • This command also confirms that the "fdb_shadow" tables are the same for the Virtual System on different Security Group Members.

  • You can run the "asg_brs_verifier" command in the Expert mode from the context of any Virtual System to get the output for all Virtual Systems in the Bridge Mode.

Syntax for the asg_br_verifier command

asg_br_verifier -h

asg_br_verifier [-c] [-d] [-s] [-t] [-v]

Syntax for the asg_brs_verifier command

asg_brs_verifier -h

asg_brs_verifier [-d] [-s] [-t] [-v]

Parameters

Parameter

Description

-h

Shows the built-in help.

No Parameters

Runs bridge verification on all Virtual Systems.

-c

Also shows the table entries (unformatted output).

-d

Shows verbose unformatted output.

The "-d" and "-v" options are mutually exclusive.

-s

Also shows the table summary.

-t

Also shows the table entries (formatted output).

-v

Shows verbose formatted output.

The "-v" and "-d" options are mutually exclusive.

Examples

Verifying VSX Gateway Configuration (asg vsx_verify)

Description

The "asg vsx_verify" command replaces the old verifier in the "smo verifiers" command and runs on a VSX system only.

Use this command to confirm that all Security Group Members have the same VSX configuration - Interfaces, Routes, and Virtual Systems.

  • The same MD5 of configuration files that must be identical between Security Group Members.

  • Similarity in configuration files that must be identical, but not necessarily written that way (like the /config/active file).

    The command uses the "db_cleanup" report to do this.

  • The same VSX configuration on Security Group Members.

  • Similarity of VMAC and BMAC addresses.

Use output when there is an inconsistency in the configuration.

The differences are compared in two ways:

  • The return value of the command run on the Security Group Members with the "gexec_inner_command"

  • The output of the commands

Example of a difference in the command output:

Difference between blade: 1_01 and blade: 2_01 found.
====================================================
--- 1_01
+++ 2_01
-73b4c20e598d6b495de7515ad4ea2fdc  /opt/CPsuite-R81.20/fw1/conf/fwha_vsx_conf_id.conf
+b21dfa3feab817c3640bbb984346cdf1  /opt/CPsuite-R81.20/fw1/conf/fwha_vsx_conf_id.conf

When a command fails, the output contains:

Command "asg xxx" failed to run on blade "2_01"

Syntax

asg vsx_verify [{-a | -c | -v}]

Parameters

Parameter

Description

-a

Includes Security Group Members in the Administrative DOWN state

-c

Compares:

  • Database configuration between Security Group Members

  • Operating system and database configuration on each Security Group Member

-v

Includes Virtual Systems configuration verification table

Examples