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)#
Содержание SSE-G2252
Страница 42: ...44 General IP Routing on page 627...
Страница 174: ...Chapter 6 VLAN Configuration Configuring VLAN Mirroring 178 Figure 6 27 Showing the VLANs to Mirror...
Страница 511: ...Chapter 14 Basic Administration Protocols UDLD Configuration 518 Figure 14 100 Displaying UDLD Neighbor Information...
Страница 603: ...Chapter 16 IP Configuration Setting the Switch s IP Address IP Version 6 609...
Страница 883: ...Chapter 24 General Security Measures Port based Traffic Segmentation 894...
Страница 989: ...Chapter 30 Congestion Control Commands Automatic Traffic Control Commands 1000 Console...
Страница 1007: ...Chapter 33 Address Table Commands 1019...
Страница 1137: ...Chapter 38 Quality of Service Commands 1150...
Страница 1366: ...Chapter 46 IP Routing Commands Global Routing Configuration 1381 Connected 2 Total 2 FIB 0 Console...