4G模塊通信流過濾器/分類器 +CGTFT
語法結(jié)構(gòu)
命 令 | 響 應(yīng) |
+CGTFT=[<cid>, [<packet filter identifier>, <evaluation precedence index> [,<source address and subnet mask> [,<protocol number (ipv4) / next header (ipv6)> [,<destination port range> [,<source port range> [,<ipsec security parameter index (spi)> [,<type of service (tos) (ipv4) and mask / traffic class (ipv6) and mask> [,<flow label (ipv6)> [,<direction>]]]]]]]]]] |
OK +CME ERROR :<err> |
+CGTFT? | +CGTFT: <cid>, <packet filter identifier>, <evaluation precedence index>, <source address and subnet mask>, <protocol number (ipv4) / next header (ipv6)>, <destination port range>, <source port range>, <ipsec security parameter index (spi)>, <type of service (tos) (ipv4) and mask / traffic class (ipv6) and mask>, <flow label (ipv6)>[, <direction>] [<CR><LF>+CGTFT: <cid>, <packet filter identifier>, <evaluation precedence index>, <source address and subnet mask>, <protocol number (ipv4) / next header (ipv6)>, <destination port range>, <source port range>, <ipsec security parameter index (spi)>, <type of service (tos) (ipv4) and mask / traffic class (ipv6) and mask>, <flow label (ipv6)> [,<direction>[…]]] |
+CGTFT=? | +CGTFT: <PDP_type>, (list of supported <packet filter identifier>s), (list of supported <evaluation precedence index>s), (list of supported <source address and subnet mask>s), (list of supported <protocol number (ipv4) / next header (ipv6)>s), (list of supported <destination port range>s), (list of supported <source port range>s), (list of supported <ipsec security parameter index (spi)>s), (list of supported <type of service (tos) (ipv4) and mask / traffic class (ipv6) and mask>s), (list of supported <flow label (ipv6)>s) [<CR><LF>+CGTFT: <PDP_type>, (list of supported <packet filter identifier>s), (list of supported <evaluation precedence index>s), (list of supported <source address and subnet mask>s), (list of supported <protocol number (ipv4) / next header (ipv6)>s), (list of supported <destination port range>s), (list of supported <source port range>s), (list of supported <ipsec security parameter index (spi)>s), (list of supported <type of service (tos) (ipv4) and mask / traffic class (ipv6) and mask>s), (list of supported <flow label (ipv6)>s) […]] |
命令描述
設(shè)置命令,在
取值說明
<cid>:和PDP上下文相關(guān)聯(lián)的標(biāo)號(hào)。
<packet filter identifier>:數(shù)據(jù)包過濾器/分類器的標(biāo)號(hào),取值為1-8。
<evaluation precedence index>:過濾器/分類器優(yōu)先級(jí),取值為0-255。
<source address and subnet mask>:源地址和子網(wǎng)掩碼。
IPv4 ‘a(chǎn)1.a2.a3.a4.m1.m2.m3.m4’
IPv6 ‘a(chǎn)1.a2.a3.a4.a5.a6.a7.a8.a9.a10.a11.a12.a13.a14.a15.a16.
m1.m2.m3.m4.m5.m6.m7.m8.m9.m10.m11.m12.m13.m14.m15.m16‘ 文件名稱:MZ382 AT 指令集
<protocol number (ipv4) / next header (ipv6)>:IPv4協(xié)議號(hào)或者IPv6 Next Header value,取值0-255。
<destination port range>:目的端口號(hào),0-65535,形式為f.t。
<source port range>:源端口號(hào),0-65535,形式為f.t。
<ipsec security parameter index (spi)>:ipsec 完全參數(shù)索引,00000000-FFFFFFFF
<type of service (tos) (ipv4) and mask / traffic class (ipv6) and mask>:IPv4 TOS字段、IPv6 TC字段以及掩碼,取值為0-255,形式為t.m。
<flow label (ipv6)>:IPv6中的流標(biāo)簽,00000-FFFFF。
<direction>:代表過濾器應(yīng)用的傳輸方向。
bit | 含 義 |
0 | Pre-Release 7 TFT filter (see 3GPP TS 24.008 [8], table 10.5.162) |
1 | 上行 |
2 | 下行 |
3 | 雙向 (上行和下行) |
典型示例
請(qǐng)求:AT+CGTFT=1,1,0,"1.1.1.1.1.1.1.1",0,"1.1","1.1",00000000,"1.1",00000<CR>
響應(yīng):<CR><LF>OK<CR><LF>