set rmon filter
13-18 RMON Configuration
set rmon filter
UsethiscommandtoconfigureanRMONfilterentry.
Syntax
set rmon filter index channel-index [offset offset] [status status] [smask smask]
[snotmask snotmask] [data data] [dmask dmask] [dnotmask dnotmask] [owner owner]
Parameters
Defaults
Ifownerisnotspecified,itwillbesettomonitor.
Ifnootheroptionsarespecified,none(0)willbeapplied.
Mode
Switchcommand,read‐write.
Example
ThisexampleshowshowtocreateRMONfilter1andapplyittochannel9:
C2(rw)->set rmon filter 1 9 offset 30 data 0a154305 dmask ffffffff
clear rmon filter
UsethiscommandtoclearanRMONfilterentry.
Syntax
clear rmon filter {index index | channel channel}
index Specifiesanindexnumberforthisentry.Anentrywillautomaticallybe
createdifanunusedindexnumberischosen.Maximumnumberof
entriesis10.Maximum valueis65535.
channel‐index Specifiesthechanneltowhichthisfilterwillbeapplied.
offsetoffset (Optional)Specifiesanoffsetfromthebeginning
ofthepackettolookfor
matches.
statusstatus (Optional)Specifiespacketstatusbitsthataretobematched.
smasksmask (Optional)Specifiesthemaskappliedtostatustoindicatewhichbitsare
significant.
snotmasksnotmask (Optional)Specifiestheinversionmaskthatindicateswhichbitsshould
besetornotset
datadata (Optional)Specifies
thedatatobematched.
dmaskdmask (Optional)Specifiesthemaskappliedtodatatoindicatewhichbitsare
significant.
dnotmaskdnotmask (Optional)Specifiestheinversionmaskthatindicateswhichbitsshould
besetornotset.
owner (Optional)Specifiesthenameoftheentitythatconfiguredthisentry.