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 A‐3onpage A‐5forinformationonseveritylevels.)
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 A‐3on
page A‐5forinformationaboutseverityleve ls.)
Bydefault,MSSusesTCPport514forsendingmessagestothesyslogserver.Youcanusethe
optionalportkeywordtospecifyadifferentport
forsyslogmessages.Youcanspecifyanumber
from1to65535.
Usetheoptionallocal‐facilitykeywordtooverridethedefaultMSSfacilitynumbersandreplace
themwithonelocalfacilitynumber.Usethenumbers 0through7tomapMSSeventmessagesto
oneofthestandardlocallogfacilities
local0throughlocal7specifiedbyRFC 3164.
Ifyoudonotspecifyalocalfacility,MSSsendsthemessageswiththeirdefaultMSSfacilities.For
example,AAAmessagesaresentwithfacility 4andbootmessagesaresentwithfacility 20by
default.
Forexample,thefollowingcommandsendsallerror‐leveleventmessages
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