64
Show command
Gateway(config)# show snmp-server
community
Show community configuration.
Gateway(config)# show snmp-server trap-
destination
Show trap destination configuration.
Gateway(config)# show snmp-server trap-
type
Show the current enable/disable status of
each type of trap.
Trap-type example
Gateway(config)# snmp-server trap-type
all
All types of SNMP traps will be sent.
2.5.12 Syslog Command
Syslog command
Parameter
Description
Gateway(config)# syslog
Enable system log function.
Gateway(config)# syslog
level [emergency | alert |
critical |error | warning |
notice | info | debug]
[emergency
| alert |
critical |
error |
warning |
notice | info
| debug]
Select one of the syslog levels. The
Residential Gateway will record log events at
the chosen level and above. For example, if
you choose
Error
,
“error”, “critical”, “alert”
and
“emergency” events will be recorded.
Emergency: System is unusable.
Alert: Emergent actions that must be
taken immediately.
Critical: Critical conditions.
Error: Error conditions.
Warning: Warning conditions.
Notice: Normal but significant conditions.
Info: Keep informational events message.
Debug: Debug-level messages are
logged.
Gateway(config)# syslog
server [A.B.C.D]
[A.B.C.D]
Specify the primary system log server IP
address.
No command
Gateway(config)# no syslog
Disable System log function.
Gateway(config)# no syslog level
Return Syslog level to default level.
Gateway(config)# no syslog server
Delete the primary system log server IP
address.
Show command
Gateway(config)# show syslog
Show current system log settings.
Gateway(config)# show log
Show event logs currently stored in the
Gateway. These event logs will be saved to
the system log server that you specify.
Syslog command example