Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

Configuring the Virtual Chassis Operations to Trace

By default, the router or switch logs only important events. You can specify which operations to trace for a Virtual Chassis by including specific tracing flags when you configure tracing. Table 1 describes the flags that you can include.

Table 1: Tracing Flags for Virtual Chassis

Flag

Description

all

Trace all operations.

auto-configuration

Trace Virtual Chassis ports that have been automatically configured.

csn

Trace Virtual Chassis complete sequence number (CSN) packets.

error

Trace Virtual Chassis errored packets.

graceful-restart

Trace Virtual Chassis graceful restart events.

hello

Trace Virtual Chassis hello packets.

krt

Trace Virtual Chassis kernel routing table (KRT) events.

lsp

Trace Virtual Chassis link-state packets.

lsp-generation

Trace Virtual Chassis link-state packet generation.

me

Trace Virtual Chassis primary-role election (ME) events.

normal

Trace normal events.

packets

Trace Virtual Chassis packets.

parse

Trace reading of the configuration.

psn

Trace partial sequence number (PSN) packets.

route

Trace Virtual Chassis routing information.

spf

Trace Virtual Chassis shortest-path-first (SPF) events.

state

Trace Virtual Chassis state transitions.

task

Trace Virtual Chassis task operations.

To configure the flags for the Virtual Chassis operations to be logged:

  1. Specify the tracing flag that represents the operation you want to trace.
  2. (Optional) Specify one or more of the following additional tracing options for the specified flag:
    • To generate detailed trace output, use the detail option.

    • To disable a particular flag, use the disable option.

    • To trace received packets, use the receive option.

    • To trace transmitted packets, use the send option.

    For example, to generate detailed trace output for Virtual Chassis primary-role election events in received packets: