반응형

출처: http://cluster1.cafe.daum.net/_c21_/bbs_search_read?grpid=1LKIm&fldid=e8LA&datanum=12&contentval=&docid=1LKIme8LA1220100711203546

 

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 08:00

 

switch(config)# sh logging

------------------------------------------------------------------

Logging configuration

------------------------------------------------------------------

Buffer Size        = 200 KB

Rotate Time        = 08:00 Everyday

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 11:35

반응형

+ Recent posts