[Contents] [Prev] [Next] [Index] [Report an Error]


Step 4: Log Information to a Router Console

Action

To log messages to a router console, follow these steps:

  1. In configuration mode, go to the following hierarchy level:
  2. [edit]
    
    user@host# edit system syslog 
    
    
    
  3. Configure the router console, facility, and level:
  4. user@host# set console facility level
    
    
    

For example:

[edit system syslog] 
user@host# set console any error

  1. Verify the configuration:
  2. user@host# show
    
    
    

For example:

[edit system syslog] 
user@host# show
console
any error

  1. Commit the configuration:
  2. user@host# commit
    

See Also

For information on logging facilities and security levels supported by the JUNOS software, see Table 49 and Table 50.


[Contents] [Prev] [Next] [Index] [Report an Error]