Chapter 20: System Management Commands
Event Logging
– 691 –
S
YNTAX
logging host
host-ip-address
[
port
udp-port
]
no logging host
host-ip-address
host-ip-address
- The IPv4 or IPv6 address of a syslog server.
udp-port
- The UDP port number used by the remote server.
(Range: 1-65535)
D
EFAULT
S
ETTING
UPD Port: 514
C
OMMAND
M
ODE
Global Configuration
C
OMMAND
U
SAGE
•
Use this command more than once to build up a list of host IP
addresses.
•
The maximum number of host IP addresses allowed is five.
E
XAMPLE
Console(config)#logging host 10.1.0.3
Console(config)#
logging on
This command controls logging of error messages, sending debug or error
messages to a logging process. The
no
form disables the logging process.
S
YNTAX
[
no
]
logging on
D
EFAULT
S
ETTING
None
C
OMMAND
M
ODE
Global Configuration
C
OMMAND
U
SAGE
The logging process controls error messages saved to switch memory or
sent to remote syslog servers. You can use the
command to
control the type of error messages that are stored in memory. You can use
the
command to control the type of error messages that are
sent to specified syslog servers.
E
XAMPLE
Console(config)#logging on
Console(config)#
Summary of Contents for SSE-G2252
Page 42: ...44 General IP Routing on page 627...
Page 603: ...Chapter 16 IP Configuration Setting the Switch s IP Address IP Version 6 609...
Page 883: ...Chapter 24 General Security Measures Port based Traffic Segmentation 894...
Page 989: ...Chapter 30 Congestion Control Commands Automatic Traffic Control Commands 1000 Console...
Page 1007: ...Chapter 33 Address Table Commands 1019...
Page 1137: ...Chapter 38 Quality of Service Commands 1150...