Configuring Tracing for TDF Gateway
To configure tracing operations for the TDF gateway:
- Specify that you want to configure tracing options for
the TDF gateway.
[edit unified-edge gateways tdf gateway-name] user@host# edit traceoptions
- Configure the name of the file used for the trace output.
[edit unified-edge gateways tdf gateway-name traceoptions] user@host# set file file-name
- (Optional) Configure the maximum size of each trace file.
[edit unified-edge gateways tdf gateway-name traceoptions] user@host# set file file-name size size
- (Optional) Configure the maximum number of trace files.
[edit unified-edge gateways tdf gateway-name traceoptions] user@host# set file file-name files number
- (Optional) Configure the read permissions for the log
file.
[edit unified-edge gateways tdf gateway-name traceoptions] user@host# set file file-name (no-world-readable | world-readable)
- (Optional) Disable remote tracing capabilities.
[edit unified-edge gateways tdf gateway-name traceoptions] user@host# set no-remote-trace
- Configure flags to filter the operations to be logged.
[edit unified-edge gateways tdf gateway-name traceoptions] user@host# set flag flag
Table 1 describes the flags that you can include.
Table 1: Trace Flags Flag
Description
all
Trace all operations.
bulkjob
Trace events that are handled by bulk jobs in order to prevent system overload.
config
Trace configuration events.
cos-cac
Trace class of service (CoS) and call admission control (CAC) events.
ctxt
Trace user equipment, Packet Data Network (PDN), or bearer context events.
fsm
Trace mobile subscriber finite state machine (FSM) events.
gtpu
Trace GPRS tunneling protocol, user plane (GTP-U) events.
ha
Trace high availability events.
init
Trace initialization events.
pfem
Trace Packet Forwarding Engine Manager events.
stats
Trace
stats
events. This flag is used internally by Juniper Networks engineers.waitq
Trace
waitq
events. This flag is used internally by Juniper Networks engineers. - Configure the level of tracing.
[edit unified-edge gateways tdf gateway-name traceoptions] user@host# set level (all | critical | error | info | notice | verbose | warning)