158
Create the destination host
IP-COM(config)# snmp-server host 192.168.0.2 traps version 2c public udp-port 162
Note:
Set destination host IP to 192.168.0.1, Trap version to V2c, UDP port number to 162 and community name
to public
IP-COM(config)# snmp-server host 172.16.100.20 traps version 1 555 udp-port 200
Note:
Set destination host IP to 172.16.100.20, Trap version to V1, UDP port number to 200 and community name
to 555
Delete the destination host
IP-COM(config)# no snmp-server host 192.168.0.2 public
Note:
Delete the destination host 192.168.0.2
5.3.34 Log Configuration
Enable/disable logging
IP-COM(config)# logging on
Note:
Enable log
IP-COM(config)# logging off
Note:
Disable log
Enable/disable log server
IP-COM(config)# logging host 192.168.100.78 level warning on
Note:
Enable log server
IP-COM(config)# logging host 192.168.100.78 level warning off
Note:
Disable log server
Display logs and log settings
IP-COM# show logging-server
Note:
Display log server
IP-COM# show logging all
Note:
Display all system logs
IP-COM# show logging alert / critical / debug / emergency / error / informational / notice / warning
Note:
Display logs by 9 severity levels
Clear logs
IP-COM# clear logging
Note:
Clear logs
Содержание G3224P
Страница 1: ......