Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation

Supported Platforms

Tracing Extended DHCP Operations for Specific Interfaces

In addition to the global DHCP tracing operations, subscriber management enables you to trace extended DHCP operations for a specific interface or for a range of interfaces.

Configuring per-interface tracing is a two-step procedure. In the first step, you specify the tracing options that you want to use, such as file information and flags. In the second step, you enable the tracing operation on the specific interfaces.

To configure per-interface tracing operations:

  1. Specify the tracing options you want to use.

    Note: Per-interface tracing uses the same default tracing behavior as the global extended DHCP tracing operation. The default behavior is described in Tracing Extended DHCP Operations.

    1. Specify that you want to configure per-interface tracing options.
      • For DHCP local server, DHCPv6 local server, DHCP relay agent, and DHCPv6 relay agent:
        [edit system processes dhcp-service]user@host# edit interface-traceoptions
    2. (Optional) Specify the tracing file options.
    3. (Optional) Specify tracing flag options.

      See Configuring the Extended DHCP Tracing Flags.

    4. (Optional) Configure a severity level for messages to specify which event messages are logged.

      See Configuring the Severity Level to Filter Which Extended DHCP Messages Are Logged.

  2. Enable tracing on an interface or interface range.

    The following examples show a DHCP local server configuration. You can also use the trace statement at the [edit forwarding-options dhcp-relay] hierarchy level and at the [edit system services dhcp-local-server dhcpv6] hierarchy level.

    • Enable tracing on a specific interface.
      [edit system services dhcp-local-server]user@host# set group group-name interface interface-name trace
    • Enable tracing on a range of interfaces.
      [edit system services dhcp-local-server]user@host# set group group-name interface interface-name upto interface interface-name trace

Published: 2013-02-11

Supported Platforms

Published: 2013-02-11