Specifications

Configuring and Managing the System Log
RoamAbout Mobility System Software Configuration Guide A-7
Logging to the Console
Bydefault,consoleloggingisenabledandmessagesattheerrorlevelandhigheraresenttothe
console.
Tomodifyconsolelogging ,usethefollowingcommand:
set log console severity severity-level
(SeeTable A3onpage A5forinformationonseveritylevels.)
Forexample,tosetloggingtotheconsoleforeventsatthecriticalseveritylevelandhigher,type
thefollowingcommand:
RBT-8100# set log console severity critical
success: command accepted.
Todisableconsolelogging,typethefollow ingcommand:
RBT-8100# set log console disable
success: change accepted.
Theconsoleisalwaysavailable,butithasthefollowinglimitations:
Consoleloggingisslow.
•Messagesloggedtotheconsolearedroppediftheconsoleoutputbufferoverflows.MSS
displaysamessageindicatingthenumberofmessagesdropped.
•Ifyoutypeanythingtotheconsole,thetypingdisableslogoutputtothe
consoleuntilyou
presstheEnterkey.
Logging Messages to a Syslog Server
Tosendeventmessagestoasyslogserver,usethefollowingcommand:
set log server ip-addr [port port-number] severity severity-level [local-
facility facility-level]
UsetheIPaddressofthesyslogservertowhichyouwantmessagessent.(SeeTable A3on
page A5forinformationaboutseverityleve ls.)
Bydefault,MSSusesTCPport514forsendingmessagestothesyslogserver.Youcanusethe
optionalportkeywordtospecifyadifferentport
forsyslogmessages.Youcanspecifyanumber
from1to65535.
UsetheoptionallocalfacilitykeywordtooverridethedefaultMSSfacilitynumbersandreplace
themwithonelocalfacilitynumber.Usethenumbers 0through7tomapMSSeventmessagesto
oneofthestandardlocallogfacilities
local0throughlocal7specifiedbyRFC 3164.
Ifyoudonotspecifyalocalfacility,MSSsendsthemessageswiththeirdefaultMSSfacilities.For
example,AAAmessagesaresentwithfacility 4andbootmessagesaresentwithfacility 20by
default.
Forexample,thefollowingcommandsendsallerrorleveleventmessages
generatedbyaRAStoa
serveratIPaddress192.168.153.09andidentifiesthemasfacility 5messages:
RBT-8100# set log server 192.168.153.09 severity error local-facility 5
success: change accepted.
Tostopsendinglogmessagestoasyslogserver,usethefollowingcommand:
clear log server ip-addr