Synaccess-networks NP-0801DTM Manuale Utente Pagina 260

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 330
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 259
ENHANCEDIPSTACKEXTENSIONAT
COMMA
NDS
HSPA+ATCommandsReferenceGuide 260
2
Removeallchains(DROPeverything);<ip_addr>and<net_mask>hasnomeaning
inthiscase.
<ip_addr>
Stringtype,remoteaddresstobeaddedintotheACCEPTchain.Canbeanyvalid
IPaddressintheformat:xxx.xxx.xxx.xxx.
<net_mask>
Stringtype,masktobeappliedonthe<ip_addr>.CanbeanyvalidIPaddress
maskinth
eformat:xxx.xxx.xxx.xxx.
CommandreturnsOKresultcodeifsuccessful.
Note:Thefirewallappliesforincoming(listening)connectionsonly.
FirewallgeneralpolicyisDROP,thereforeallpacketsthatarenotincludedintoan
ACCEPTchainruleissilentlydiscarded.
WhenapacketcomesfromtheIPa
ddressincoming_IP,thefirewallchainrules
arescannedformatchingwiththefollowingcriteria:
incoming_IP&<net_mask>=<ip_addr>&<net_mask>
Ifcriteriaismatched,thenthepacketisacceptedandtherulescanisfinished.If
criteriaisnotmatchedforanychainthepacketissilentlydropped.
Notes
Foroutgoingconnectionsmadewith#SKTDtheremotehostisdynamicallyinsertedintotheACCEPTchainfor
theentireconnectionduration.Thereforethe#FRWLcommandisusedonlyfordefiningthe#SKTLbehavior,
decidingwhichhostsareallowedtoconnecttothelocaldevice.
Rulesarenotsavedinnonvolatilememory.Atstartuptheruleslistisempty.
YoumustissuethiscommandbeforeestablishingadataconnectionusingtheAT#SGACTcommand.
Examples
ToacceptconnectionsonlyfromdevicesthatareontheIPaddressesrangingfrom197.158.1.1to
197.158.255.255,addthefollowingchaintothefirewall:
AT#FRWL=1,"197.158.1.1","255.255.0.0"
OK
GPRSDataVolume#GDATAVOL
Executecommandreports,foreveryactivePDPcontext,theamountofdatathelastGPRSsession(andthelast
GSMsession,ifGSMcontextisactive)receivedandtransmitted,oritreportsthetotalamountofdatareceived
andtransmittedduringallpastGPRS(andGSM)sessions,sincelastreset.
Testcomman
dreturnstherangeofsupportedvaluesforparameter<mode>.
Syntax
Command Commandtype
AT#GDATAVOL=[<mode>] Execute
AT#GDATAVOL=? Test
ParametersandValues
<mode>
0
ResetstheGPRSdatacounterforthealltheavailablePDPcontexts(15)andGSM
datacounterforGSMcontext0.
1
ReportsthelastGPRSsessiondatacounterfortheallthesetPDPcontexts—that
is,allthePDPcontextswithAPNparametersetusing+CGDCONT.
AlsoreportsthelastGSMsessiondataco
unterfortheGSMcontext,ifset
Vedere la pagina 259
1 2 ... 255 256 257 258 259 260 261 262 263 264 265 ... 329 330

Commenti su questo manuale

Nessun commento