Enabling Trace Messages for IGMP Layer 2 Querier Troubleshooting

If the preceding information does not address your issue, you can also use the following trace command to view additional information related to Layer 2 querier.

Caution

Caution

Using the trace tool inappropriately can cause primary CPU lockup conditions, loss of access to the device, loss of protocols, and service degradation. If you use trace level 3 (verbose) or trace level 4 (very verbose), do not use the screen to view commands due to the volume of information the system generates and the effect on the system.

Procedure

  1. Enter Privileged EXEC mode:

    enable

  2. Use the following trace command to begin the trace operation for additional information related to Layer 2 querier:

    trace level 23 <1-4>

  3. Stop tracing:

    trace shutdown

  4. View the trace results:

    trace screen enable

  5. View trace saved to a file:

    show trace file [tail]

Variable Definitions

Use the data in the following table to use the trace command.

Variable

Value

level [<Module_ID>] [<1–4>]

Starts the trace by specifying the module ID and level. Module ID 23 represents the IGMP module

<Module_ID> specifies the module for the trace. Different hardware platforms support different ID ranges because of feature support differences. To see which module IDs are available on the switch, use the show trace modid-list command or CLI command completion Help.

<0-4> specifies the trace level:
  • 0 — Disabled

  • 1 — Very terse

  • 2 — Terse

  • 3 — Verbose

  • 4 — Very verbose

shutdown

Stops the trace operation.

screen {disable|enable}

Enables or disables the display of trace output to the screen.

Important:

Avoid using the screen to view commands if you use trace level 3 (verbose) or trace level 4 (very verbose) due to the volume of information generated and the effect on the system.

Use the data in the following table to use the show trace command.

Variable

Value

file [tail]

Displays the trace results saved to a file.

level

Displays the current trace level for all modules.

modid-list

Specifies the module ID list.