Você está na página 1de 1

Information Center labnario.

com

Debugging Information Hierarchy Default Output Rules

Treshold Severity Level Module Log Trap Debugging


Enabled to
Output Channel
Information Classification

Output Lowest Output Lowest Output Lowest Output


0 Emergencies Status Status Status
Information Severity Severity Severity
1 Alert 0 (console) Enabled Enabled Warning Enabled Debugging Enabled Debugging
1 (remote terminal) Enabled Enabled Warning Enabled Debugging Enabled Debugging
2 Critical
Trap

2 (log host) Enabled Enabled Informational Enabled Debugging Disabled Debugging


3 Error 3 (trap buffer) Enabled Disabled Informational Enabled Debugging Disabled Debugging
4 (log buffer) Enabled Enabled Warning Disabled Debugging Disabled Debugging
4 Warning
5 (SNMP agent) Disabled Disabled Debugging Enabled Debugging Disabled Debugging
5 Notification 6 (channel6) Enabled Enabled Debugging Enabled Debugging Disabled Debugging
Log

7 (channel7) Enabled Enabled Debugging Enabled Debugging Disabled Debugging


6 Informational
8 (channel8) Enabled Enabled Debugging Enabled Debugging Disabled Debugging
7 Debugging 9 (channel9) Enabled Enabled Debugging Enabled Debugging Disabled Debugging

! Enabling the information center


Information Type Channel Output Destination info-center enable
! Naming an information channel
info-center channel channel-number name channel-name
0 Console Console
! Configuring log and trap filtering
info-center filter-id { id | bymodule-alias modname alias } * &<1-50>
Logs
1 Monitor Remote terminal ! Configuring a channel for outputting logs|traps|debugging messages
info-center |logbuffer|logfile|console|monitor|loghost|trapbuffer|snmp| channel { channel-number | channel-
name }
2 Loghost Log host !Setting the timestamp format of logs|traps|debugging messages
Traps info-center timestamp |log|trap|debugging| { { date | short-date | format-date } [ precision-time { tenth-
second | millisecond } ] | boot | none }
3 Trapbuffer Trap buffer
! Configuring output logs|traps|debugging messages to IPv4 log host
info-center loghost ip-address [ channel { channel-number | channel-name } | facility local-number | {
4 language language-name | binary [ port ] } | { vpn-instance vpn-instance-name | public-net } ] *
Logbuffer Log buffer
Debugging
! Configuring a source interface
info-center loghost source interface-type interface-number
5 SNMP agent SNMP agent

! A rule for outputting logs to a channel


6 Channel 6 info-center source { module-name | default } channel { channel-number | channel-name } log { state { off |
on } | level severity } *

! A rule for outputting traps to a channel


7 Channel 7 info-center source { module-name | default } channel { channel-number | channel-name } trap { state { off |
on } | level severity } *
8 Channel 8 ! A rule for outputting debugging messages to a channel
info-center source { module-name | default } channel { channel-number | channel-name } debug { state { off |
on } | level severity } } *
9 Channel 9 Log file

Você também pode gostar