Configuring A Regular Expression For Lines To Be Logged; Configuring The Trace Operation; Tracing Extended Dhcp Operations - Juniper ACX1000 Configuration Manual

Junos os; acx series universal access router
Hide thumbs Also See for ACX1000:
Table of Contents

Advertisement

Configuring a Regular Expression for Lines to Be Logged

Configuring the Trace Operation

Tracing Extended DHCP Operations

Copyright © 2017, Juniper Networks, Inc.
user@host# set file aap_logfile_1 no-world-readable
By default, the trace operation output includes all lines relevant to the logged events.
You can refine the output by including regular expressions (regex) that will be matched.
To configure regular expressions to match:
Configure the regular expression.
[edit system processes general-authentication-service traceoptions]
user@host# set file aap_logfile_1 match regular-expression
By default, only important events are logged. You can specify which trace operations are
logged by including specific tracing flags. The following table describes the flags that
you can include.
Flag
address-assignment
all
configuration
To configure the flags for the event to be logged:
Configure the flags.
[edit system processes general-authentication-service traceoptions]
user@host# set flag address-assignment
The extended DHCP local server supports tracing operations. DHCP tracing operations
track extended DHCP operations and record them in a log file. The error descriptions
captured in the log file provide detailed information to help you solve problems.
You can configure DHCP trace operations at the global level and at the interface level.
Global DHCP tracing logs all DHCP-related events, whereas interface-level tracing logs
only interface-specific DHCP events. If you configure interface-level trace operations,
you can specify tracing for a range of interfaces or an individual interface. However, only
a single interface-level log file is supported. That is, you cannot specify different
interface-level log files for different interfaces or groups of interfaces.
By default, nothing is traced. When you enable the tracing operation, the default tracing
behavior is as follows:
Chapter 10: Configuring DHCP Client and DHCP Server
Description
Trace all address-assignment pool events.
Trace all tracing operations.
Trace configuration events.
353

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Acx5048Acx5096Acx500Acx1100Acx2000Acx2100 ... Show all

Table of Contents