Navigation
Guide That Contains This Content
[+] Expand All
[-] Collapse All

    Configuring the Virtual Chassis Operations to Trace

    By default, the router logs only important events. You can specify which operations to trace for an MX Series 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 MX Series 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 mastership 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.
      [edit virtual-chassis]user@host# set traceoptions flag flag
    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 mastership election events in received packets:

      [edit virtual-chassis]user@host# set traceoptions flag me detail receive

    Published: 2013-02-11