Configuring Maintenance
The following example shows how to set the remote log on the switch. Enable log host 2,
set its IP address as 192.168.0.148, and allow logs of levels 0 to 5 to be sent to the host:
Switch#configure
Switch(config)# logging host index 2 192.168.0.148 5
Switch(config)# show logging loghost
Index Host-IP
-----
-------
1
0.0.0.0
2
192.168.0.148 5
3
0.0.0.0
4
0.0.0.0
Switch(config)#end
Switch#copy running-config startup-config
Severity
Status
--------
------
6
disable
enable
6
disable
6
disable
System Log Configurations
Configuration Guide
683