Configuring the Switch
3-26
3
Host IP List – Displays the list of remote server IP addresses that receive the
syslog messages. The maximum number of host IP addresses allowed is five.
Host IP Address – Specifies a new server IP address to add to the Host IP List.
Web – Click System, Log, Remote Logs. To add an IP address to the Host IP List,
type the new IP address in the Host IP Address box, and then click Add. To delete
an IP address, click the entry in the Host IP List, and then click Remove.
Figure3-5. Enabling Rem ote Logging and Adding Host IP Addresses
CLI – Enter the syslog server host IP address, choose the facility type and set the
minimum level of messages to be logged.
Console(config)#logging host 192.168.1.7 4-43
Console(config)#logging facility 23 4-43
Console(config)#logging trap 4 4-44
Console(config)#
Console#show logging trap 4-45
Syslog logging: Enabled
REMOTELOG status: Enabled
REMOTELOG facility type: local use 7
REMOTELOG level type: Warning conditions
REMOTELOG server IP address: 192.168.1.7
REMOTELOG server IP address: 0.0.0.0
REMOTELOG server IP address: 0.0.0.0
REMOTELOG server IP address: 0.0.0.0
REMOTELOG server IP address: 0.0.0.0
Console#