Juniper Networks
Log in
|
How to Buy
|
Contact Us
|
United States (Change)
Choose Country
Close

Choose Country

North America

  • United States

Europe

  • Deutschland - Germany
  • España - Spain
  • France
  • Italia - Italy
  • Россия - Russia
  • United Kingdom

Asia Pacific

  • Asean Region (Vietnam, Indonesia, Singapore, Malaysia)
  • Australia
  • 中国 - China
  • India
  • 日本 - Japan
  • 대한민국 - Korea
  • 台灣 - Taiwan
Solutions
Products & Services
Company
Partners
Support
Education
Community
Security Intelligence Center

Technical Documentation

Support
Technical Documentation
Content Explorer New
 
Enterprise MIBs
 
EOL Documentation
 
File Format Help
 
Glossary
 
Portable Libraries
 
 
Home > Support > Technical Documentation > Junos OS > host
Print
Rate and give feedback:  Feedback Received. Thank You!
Rate and give feedback: 
Close
This document helped resolve my issue.  Yes No

Additional Comments

800 characters remaining

May we contact you if necessary?

Name:  
E-mail: 
Submitting...
 

Related Documentation

  • M Series
  • Directing System Log Messages to a Remote Machine or the Other Routing Engine
  • MX Series
  • Directing System Log Messages to a Remote Machine or the Other Routing Engine
  • T Series
  • Directing System Log Messages to a Remote Machine or the Other Routing Engine
  • Directing Messages to a Remote Destination from the Routing Matrix Based on the TX Matrix Router
  • Directing Messages to a Remote Destination from the Routing Matrix Based on a TX Matrix Plus Router
  • Additional Information
  • Junos OS System Log Messages Reference PDF Document
 

host

Syntax

host (hostname | other-routing-engine) {facility severity;explicit-priority;facility-override facility;log-prefix string;match "regular-expression";source-address source-address;structured-data {brief;}}

QFX Series

host (hostname {facility severity;explicit-priority;facility-override facility;log-prefix string;match "regular-expression";port;source-address source-address;}

TX Matrix Router and EX Series Switches

host (hostname | other-routing-engine | scc-master) {facility severity;explicit-priority;facility-override facility;log-prefix string;match "regular-expression";port;source-address source-address;}

TX Matrix Plus Router

host (hostname | other-routing-engine | sfc0-master) {facility severity;explicit-priority;facility-override facility;log-prefix string;match "regular-expression";port;source-address source-address;}

Hierarchy Level

[edit logical-systems logical-system-name system syslog],[edit system syslog]

Release Information

Statement introduced before Junos OS Release 7.4.

Statement introduced in Junos OS Release 9.0 for EX Series switches.

Statement introduced in Junos OS Release 11.1 for the QFX Series.

Description

Configure the logging of system messages to a remote destination.

Options

facility—Class of messages to log. To specify multiple classes, include multiple facility severity statements. For a list of the facilities, see Junos OS System Logging Facilities and Message Severity Levels.

hostname—IPv4 address, IPv6 address, or fully qualified hostname of the remote machine to which to direct messages. To direct messages to multiple remote machines, include a host statement for each one.

other-routing-engine—Direct messages to the other Routing Engine on a router or switch with two Routing Engines installed and operational.

Note: The other-routing-engine option is not applicable to the QFX Series.

port—Port number of the remote syslog server that can be modified.

scc-master—(TX Matrix routers only) On a T640 router that is part of a routing matrix, direct messages to the TX Matrix router.

severity—Severity of the messages that belong to the facility specified by the paired facility name. Messages with severities of the specified level and higher are logged. For a list of the severities, see Junos OS System Logging Facilities and Message Severity Levels.

sfc0-master—(TX Matrix Plus routers only) On a T1600 router that is part of a routing matrix, direct messages to the TX Matrix Plus router.

The remaining statements are explained separately.

Required Privilege Level

system—To view this statement in the configuration.

system-control—To add this statement to the configuration.

 

Related Documentation

  • M Series
  • Directing System Log Messages to a Remote Machine or the Other Routing Engine
  • MX Series
  • Directing System Log Messages to a Remote Machine or the Other Routing Engine
  • T Series
  • Directing System Log Messages to a Remote Machine or the Other Routing Engine
  • Directing Messages to a Remote Destination from the Routing Matrix Based on the TX Matrix Router
  • Directing Messages to a Remote Destination from the Routing Matrix Based on a TX Matrix Plus Router
  • Additional Information
  • Junos OS System Log Messages Reference PDF Document
 

Published: 2012-03-05

 
  • About Juniper
  • The New Network
  • Investor Relations
  • Press Releases
  • Newsletters
  • Juniper Offices
  • Resources
  • How to Buy
  • Partner Locator
  • Image Library
  • Visio Templates
  • Security Center
  • Community
  • Forums
  • Blogs
  • Junos Central
  • Social Media
  • Support
  • Technical Documentation
  • Knowledge Base (KB)
  • Software Downloads
  • Product Licensing
  • Contact Support
Site Map / RSS Feeds / Careers / Accessibility / Feedback / Privacy & Policy / Legal Notices
Copyright© 1999-2012 Juniper Networks, Inc. All rights reserved.
Help
|
My Account
|
Log Out