7.5 모니터링 설정법
switch(config)# ip dns 203.255.112.34
switch(config)# ip dns 203.255.117.34
switch(config)# logging email from jp-l4-switch@test.com
switch(config)# logging email smtp 203.255.112.150
switch(config)# logging email to top@naver.com
switch(config)# logging server enable
switch(config)# logging buffer 200
switch(config)# logging rotate
switch(config)# sh logging
|
------------------------------------------------------------------ Logging configuration ------------------------------------------------------------------ Buffer Size = 200 KB Rotate Time = Facility = all Level = notice (5) ------------------------------------------------------------------ Logging Email From = jp-l4-switch@test.com SMTP Server = 210.2.1.150 Logging Email To = th@aaa.com ------------------------------------------------------------------ Logging Server = enabled There is no syslog server registered. ------------------------------------------------------------------ |
switch(config)# logging rotate