ON THIS PAGE
Logging, SNMP, and Telemetry
Enable system logging, SNMP, and telemetry on the ACX7000 family of routers using Junos OS Evolved CLI. The ACX7000 family of routers includes ACX7020, ACX7024, ACX7024X, ACX7100, ACX7332, ACX7348, and ACX7509 routers.
After you have configured user accounts and authentication methods, you can enable system logging, SNMP, and telemetry on the device.
System Logging (Syslog)
You can configure system logging to record system events, track configuration changes, and troubleshoot issues.
You can enable system logging at the [edit system syslog] hierarchy
level.
Key logging commands and features include:
- Log messages—Use
show log messagesin operational mode to display system log messages. - Firewall filter logging—Apply
logorsyslogactions in firewall filters to log packet headers or send information to syslog server. Thelogaction buffers information in the Packet Forwarding Engine (view withshow firewall log), whilesyslogwrites to system log files. - Queue and interface monitoring—The logs for hierarchical scheduling changes,
virtual output queue (VOQ) stats, or interface sets appear in the syslog. While capturing
these logs require configuration, significant queue events are automatically logged. Use
show interfaces queue,show interfaces interface-set queue, orshow interfaces voqto see related data. - Other Contexts—Logs also captures information such as equal-cost multipath (ECMP) flow changes, tunnel interface stats, and physical interface events.
For more information, see Overview of System Logging.
SNMP
You can use SNMP to monitor and administer a device, manage interfaces, monitor firewall filters, and leverage other features through SNMP MIBs. For more information on SNMP, see SNMP Architecture and SNMP MIBs Overview.
You can enable SNMP at the [edit snmp] hierarchy level.
Key SNMP capabilities include:
- Interface monitoring—Use SNMP to query physical interface properties, see the
interface index using the command
show interfaces, and walk the MIB by runningsnmpwalkon a management server. - Firewall filter monitoring—SNMP can monitor firewall filter match conditions applied on Layer 2 switched packets in bridge domains with IRB interfaces. For example, SNMP monitors match conditions such as Internet Control Message Protocol (ICMP) types or codes, Differentiated Services code point (DSCP) values, and Ethernet types.
- Aggregated interfaces—SNMP queries can retrieve MAC addresses and bundle status.
Telemetry
Telemetry on ACX7000 routers provides real-time network data streaming through RPC (gRPC) to monitor systems, providing faster and more scalable network monitoring compared to SNMP.
Telemetry streams operational data from the forwarding plane to external collectors, enabling you to monitor traffic patterns, utilization, and congestion without polling. Telemetry uses model-driven sensors to export structured metrics over telemetry transports, enabling scalable, high-frequency visibility for performance analysis, troubleshooting, and capacity planning across your network. For more information, see Understanding Junos Telemetry.
To enable this feature, you need to ensure:
-
Junos Telemetry Interface is available.
-
gRPC service is available.
-
OpenConfig for Junos OS Evolved is installed.
Here is a sample configuration to enable telemetry to stream data to a collector:
set system services extension-service request-response grpc clear-text port 50051 set telemetry-streaming server COLLECTOR-1 remote-address 10.10.10.20 set telemetry-streaming server COLLECTOR-1 remote-port 50051
-
grpc: Protocol used for telemetry streaming. -
remote-address: Telemetry collector server. -
remote-port: Port used by the collector.
Here is a sample configuration to set up telemetry sensors (example, interface statistics):
set telemetry-streaming sensor-group INTERFACE-STATS sensor /interfaces/interface/state/ set telemetry-streaming sensor-group INTERFACE-STATS export-to COLLECTOR-1
This configuration enables telemetry to stream:
-
Interface status
-
Traffic counters
-
Error statistics