-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathtr-181-2-14-0-ipsec.xml
2254 lines (2007 loc) · 78.9 KB
/
tr-181-2-14-0-ipsec.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<?xml version="1.0" encoding="UTF-8"?>
<!--
Device:2 Root Data Model: Common Object definitions [IPsec]
Copyright (c) 2010-2020, Broadband Forum
Redistribution and use in source and binary forms, with or
without modification, are permitted provided that the following
conditions are met:
1. Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above
copyright notice, this list of conditions and the following
disclaimer in the documentation and/or other materials
provided with the distribution.
3. Neither the name of the copyright holder nor the names of its
contributors may be used to endorse or promote products
derived from this software without specific prior written
permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND
CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
The above license is used as a license under copyright only.
Please reference the Forum IPR Policy for patent licensing terms
<https://www.broadband-forum.org/ipr-policy>.
Any moral rights which are necessary to exercise under the above
license grant are also deemed granted under this license.
Comments or questions about this Broadband Forum data model should be
directed to <info@broadband-forum.org>.
-->
<dm:document
xmlns:dm="urn:broadband-forum-org:cwmp:datamodel-1-8"
xmlns:dmr="urn:broadband-forum-org:cwmp:datamodel-report-1-0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="
urn:broadband-forum-org:cwmp:datamodel-1-8
https://www.broadband-forum.org/cwmp/cwmp-datamodel-1-8.xsd
urn:broadband-forum-org:cwmp:datamodel-report-1-0
https://www.broadband-forum.org/cwmp/cwmp-datamodel-report-1-0.xsd"
spec="urn:broadband-forum-org:tr-181-2-14-0-ipsec"
file="tr-181-2-14-0-ipsec.xml">
<import file="tr-069-biblio.xml" spec="urn:broadband-forum-org:tr-069"/>
<import file="tr-106-types.xml" spec="urn:broadband-forum-org:tr-106">
<dataType name="Alias" ref="_AliasCommon"/>
<dataType name="IPAddress"/>
<dataType name="StatsCounter32"/>
<dataType name="StatsCounter64"/>
</import>
<import file="tr-181-2-root.xml"
spec="urn:broadband-forum-org:tr-181-2-14-root">
<component name="Root"/>
</import>
<component name="IPsec">
<object name="Device.IPsec." access="readOnly" minEntries="1"
maxEntries="1" version="2.5">
<description>
IPsec {{bibref|RFC4301}} object that supports the configuration of
Encapsulating Security Payload (ESP) {{bibref|RFC4303}} and
Authentication Header (AH) {{bibref|RFC4302}} in tunnel mode
{{bibref|RFC4301|Section 3.2}}.
Use of IKEv2 {{bibref|RFC5996}} is assumed. The IPsec object does not
currently support static configuration of tunnels and child Security
Associations (SAs).
See the IPsec Theory of Operation {{bibref|TR-181i2|Appendix IX}} for a
description of the working of this IPsec data model.
</description>
<parameter name="Enable" access="readWrite">
<description>
Enables or disables IPsec.
</description>
<syntax>
<boolean/>
</syntax>
</parameter>
<parameter name="Status" access="readOnly">
<description>
IPsec status. {{enum}}
The {{enum|Error}} value MAY be used by the CPE to indicate a locally
defined error condition.
</description>
<syntax>
<string>
<enumeration value="Disabled"/>
<enumeration value="Enabled"/>
<enumeration value="Error" optional="true"/>
</string>
</syntax>
</parameter>
<parameter name="AHSupported" access="readOnly">
<description>
Indicates whether or not Authentication Header (AH)
{{bibref|RFC4302}} is supported.
</description>
<syntax>
<boolean/>
</syntax>
</parameter>
<parameter name="IKEv2SupportedEncryptionAlgorithms" access="readOnly">
<description>
Supported IKEv2 encryption algorithms {{bibref|IKEv2-params|Transform
Type 1}}. {{enum}}
Note that these are the names from the above reference, transformed
as follows:
* Leading ''ENCR_'' (when present) discarded because they are all
encryption algorithms so it's not needed.
* Underscores changed to hyphens to preserve names used in existing
data models (and because of inconsistent conventions).
* Phrases collapsed where unambiguous, e.g. "with a(n) NN octet ICV"
-> "-NN".
As additional algorithms are added to the above reference, this data
model will be extended according to the above conventions.
</description>
<syntax>
<list/>
<string>
<enumeration value="DES"/>
<enumeration value="3DES"/>
<enumeration value="RC5"/>
<enumeration value="IDEA"/>
<enumeration value="CAST"/>
<enumeration value="BLOWFISH"/>
<enumeration value="3IDEA"/>
<enumeration value="AES-CBC"/>
<enumeration value="AES-CTR"/>
<enumeration value="AES-CCM-8"/>
<enumeration value="AES-CCM-12"/>
<enumeration value="AES-CCM-16"/>
<enumeration value="AES-GCM-8"/>
<enumeration value="AES-GCM-12"/>
<enumeration value="AES-GCM-16"/>
<enumeration value="CAMELLIA-CBC"/>
</string>
</syntax>
</parameter>
<parameter name="ESPSupportedEncryptionAlgorithms" access="readOnly">
<description>
Supported ESP encryption algorithms {{bibref|IKEv2-params|Transform
Type 1}} {{bibref|RFC4835|Section 3.1.1}}. {{enum}}
Note that these are the names from the above reference, transformed
as follows:
* Leading ''ENCR_'' (when present) discarded because they are all
encryption algorithms so it's not needed.
* Underscores changed to hyphens to preserve names used in existing
data models (and because of inconsistent conventions).
* Phrases collapsed where unambiguous, e.g. "with a(n) NN octet ICV"
-> "-NN".
* Some algorithms with apparently rather specialised application are
omitted, e.g. ''ENCR_NULL_AUTH_AES_GMAC''.
As additional algorithms are added to the above reference, this data
model will be extended according to the above conventions.
</description>
<syntax>
<list/>
<string>
<enumeration value="NULL"/>
<enumeration value="DES-IV64"/>
<enumeration value="DES"/>
<enumeration value="3DES"/>
<enumeration value="RC5"/>
<enumeration value="IDEA"/>
<enumeration value="CAST"/>
<enumeration value="BLOWFISH"/>
<enumeration value="3IDEA"/>
<enumeration value="DES-IV32"/>
<enumeration value="AES-CBC"/>
<enumeration value="AES-CTR"/>
<enumeration value="AES-CCM-8"/>
<enumeration value="AES-CCM-12"/>
<enumeration value="AES-CCM-16"/>
<enumeration value="AES-GCM-8"/>
<enumeration value="AES-GCM-12"/>
<enumeration value="AES-GCM-16"/>
<enumeration value="NULL-AUTH-AES-GMAC"/>
<enumeration value="CAMELLIA-CBC"/>
<enumeration value="CAMELLIA-CTR"/>
<enumeration value="CAMELLIA-CCM-8"/>
<enumeration value="CAMELLIA-CCM-12"/>
<enumeration value="CAMELLIA-CCM-16"/>
</string>
</syntax>
</parameter>
<parameter name="IKEv2SupportedPseudoRandomFunctions" access="readOnly">
<description>
Supported IKEv2 pseudo-random functions
{{bibref|IKEv2-params|Transform Type 2}}. {{enum}}
Note that these are the names from the above reference, transformed
as follows:
* Leading ''PRF_'' (when present) discarded because they all
pseudo-random functions so it's not needed.
* Underscores changed to hyphens to preserve names used in existing
data models.
* Hyphen inserted after ''AES'' (or other acronym) when immediately
followed by a key length.
As additional functions are added to the above reference, this data
model will be extended according to the above conventions.
</description>
<syntax>
<list/>
<string>
<enumeration value="HMAC-MD5"/>
<enumeration value="HMAC-SHA1"/>
<enumeration value="HMAC-TIGER"/>
<enumeration value="AES-128-XCBC"/>
<enumeration value="HMAC-SHA2-256"/>
<enumeration value="HMAC-SHA2-384"/>
<enumeration value="HMAC-SHA2-512"/>
<enumeration value="AES-128-CMAC"/>
</string>
</syntax>
</parameter>
<parameter name="SupportedIntegrityAlgorithms" access="readOnly">
<description>
Supported integrity algorithms {{bibref|IKEv2-params|Transform Type
3}}. {{enum}}
Note that these are the names from the above reference, transformed
as follows:
* Leading ''AUTH_'' (when present) discarded because they all
authentication (integrity) algorithms so it's not needed.
* Underscores changed to hyphens to preserve names used in existing
data models.
As additional algorithms are added to the above reference, this data
model will be extended according to the above conventions.
</description>
<syntax>
<list/>
<string>
<enumeration value="NONE"/>
<enumeration value="HMAC-MD5-96"/>
<enumeration value="HMAC-SHA1-96"/>
<enumeration value="DES-MAC"/>
<enumeration value="KPDK-MD5"/>
<enumeration value="AES-XCBC-96"/>
<enumeration value="HMAC-MD5-128"/>
<enumeration value="HMAC-SHA1-160"/>
<enumeration value="AES-CMAC-96"/>
<enumeration value="AES-128-GMAC"/>
<enumeration value="AES-192-GMAC"/>
<enumeration value="AES-256-GMAC"/>
<enumeration value="HMAC-SHA2-256-128"/>
<enumeration value="HMAC-SHA2-256-192"/>
<enumeration value="HMAC-SHA2-256-256"/>
</string>
</syntax>
</parameter>
<parameter name="SupportedDiffieHellmanGroupTransforms"
access="readOnly">
<description>
Supported Diffie-Hellman group transforms
{{bibref|IKEv2-params|Transform Type 4}}. {{enum}}
Note that these are the names from the above reference, transformed
as follows:
* Name (other than ''NONE'') always starts with the type of group,
currently ''MODP'' or ''ECP'' (implies ECP random).
* This is followed by ''-NN'', where ''NN'' is the group length in
bits.
* this is followed by ''-PRIME-NN'' for groups with prime order
subgroups, where ''NN'' is the subgroup length in bits.
As additional algorithms are added to the above reference, this data
model will be extended according to the above conventions.
</description>
<syntax>
<list/>
<string>
<enumeration value="NONE"/>
<enumeration value="MODP-768"/>
<enumeration value="MODP-1024"/>
<enumeration value="MODP-1536"/>
<enumeration value="MODP-2048"/>
<enumeration value="MODP-3072"/>
<enumeration value="MODP-4096"/>
<enumeration value="MODP-6144"/>
<enumeration value="MODP-8192"/>
<enumeration value="ECP-256"/>
<enumeration value="ECP-384"/>
<enumeration value="ECP-521"/>
<enumeration value="MODP-1024-PRIME-160"/>
<enumeration value="MODP-2048-PRIME-224"/>
<enumeration value="MODP-2048-PRIME-256"/>
<enumeration value="ECP-192"/>
<enumeration value="ECP-224"/>
</string>
</syntax>
</parameter>
<parameter name="MaxFilterEntries" access="readOnly">
<description>
The maximum number of entries in the {{object|Filter}} table.
A value of 0 means no specific limit.
</description>
<syntax>
<unsignedInt/>
</syntax>
</parameter>
<parameter name="MaxProfileEntries" access="readOnly">
<description>
The maximum number of entries in the {{object|Profile}} table.
A value of 0 means no specific limit.
</description>
<syntax>
<unsignedInt/>
</syntax>
</parameter>
<parameter name="FilterNumberOfEntries" access="readOnly">
<description>
{{numentries}}
</description>
<syntax>
<unsignedInt/>
</syntax>
</parameter>
<parameter name="ProfileNumberOfEntries" access="readOnly">
<description>
{{numentries}}
</description>
<syntax>
<unsignedInt/>
</syntax>
</parameter>
<parameter name="TunnelNumberOfEntries" access="readOnly">
<description>
{{numentries}}
</description>
<syntax>
<unsignedInt/>
</syntax>
</parameter>
<parameter name="IKEv2SANumberOfEntries" access="readOnly">
<description>
{{numentries}}
</description>
<syntax>
<unsignedInt/>
</syntax>
</parameter>
</object>
<object name="Device.IPsec.Stats." access="readOnly" minEntries="1"
maxEntries="1" version="2.5">
<description>
Global IPsec statistics. These statistics include all IPsec traffic,
i.e. all IKEv2 negotiation, IKEv2 SAs and child SAs.
The CPE MUST reset global IPsec Stats parameters (unless otherwise
stated in individual object or parameter descriptions) either when
IPsec is disabled ({{param|.IPsec.Enable}} is set to {{false}}) or when
IPsec is enabled ({{param|.IPsec.Enable}} is set to {{true}}).
</description>
<parameter name="NegotiationFailures" access="readOnly">
<description>
The total number of times an IPsec negotiation failure has occurred.
</description>
<syntax>
<dataType ref="StatsCounter32"/>
</syntax>
</parameter>
<parameter name="BytesSent" access="readOnly">
<description>
The total number of {{units}} sent by IPsec.
</description>
<syntax>
<dataType ref="StatsCounter64">
<units value="bytes"/>
</dataType>
</syntax>
</parameter>
<parameter name="BytesReceived" access="readOnly">
<description>
The total number of {{units}} received by IPsec.
</description>
<syntax>
<dataType ref="StatsCounter64">
<units value="bytes"/>
</dataType>
</syntax>
</parameter>
<parameter name="PacketsSent" access="readOnly">
<description>
The total number of {{units}} sent by IPsec.
</description>
<syntax>
<dataType ref="StatsCounter64">
<units value="packets"/>
</dataType>
</syntax>
</parameter>
<parameter name="PacketsReceived" access="readOnly">
<description>
The total number of {{units}} received by IPsec.
</description>
<syntax>
<dataType ref="StatsCounter64">
<units value="packets"/>
</dataType>
</syntax>
</parameter>
<parameter name="ErrorsSent" access="readOnly">
<description>
The total number of {{units}} discarded by IPsec due to any error.
This can include packets dropped due to a lack of transmit buffers.
</description>
<syntax>
<dataType ref="StatsCounter32">
<units value="packets"/>
</dataType>
</syntax>
</parameter>
<parameter name="UnknownSPIErrors" access="readOnly">
<description>
The total number of {{units}} discarded by IPsec due to an unknown
SPI (Security Parameter Index).
</description>
<syntax>
<dataType ref="StatsCounter32">
<units value="packets"/>
</dataType>
</syntax>
</parameter>
<parameter name="DecryptionErrors" access="readOnly">
<description>
The total number of {{units}} discarded by IPsec due to ESP
decryption errors.
</description>
<syntax>
<dataType ref="StatsCounter32">
<units value="packets"/>
</dataType>
</syntax>
</parameter>
<parameter name="IntegrityErrors" access="readOnly">
<description>
The total number of {{units}} discarded by IPsec due to integrity
errors.
</description>
<syntax>
<dataType ref="StatsCounter32">
<units value="packets"/>
</dataType>
</syntax>
</parameter>
<parameter name="ReplayErrors" access="readOnly">
<description>
The total number of {{units}} discarded by IPsec due to replay
errors.
</description>
<syntax>
<dataType ref="StatsCounter32">
<units value="packets"/>
</dataType>
</syntax>
</parameter>
<parameter name="PolicyErrors" access="readOnly">
<description>
The total number of {{units}} discarded by IPsec due to policy
errors.
</description>
<syntax>
<dataType ref="StatsCounter32">
<units value="packets"/>
</dataType>
</syntax>
</parameter>
<parameter name="OtherReceiveErrors" access="readOnly">
<description>
The total number of {{units}} discarded by IPsec due to errors other
than unknown SPI, decryption, integrity, replay or policy errors.
This can include packets dropped due to a lack of receive buffers.
</description>
<syntax>
<dataType ref="StatsCounter32">
<units value="packets"/>
</dataType>
</syntax>
</parameter>
</object>
<object name="Device.IPsec.Filter.{i}." access="readWrite"
numEntriesParameter="FilterNumberOfEntries" enableParameter="Enable"
minEntries="0" maxEntries="unbounded" version="2.5">
<description>
Filter table that represents the IPsec Security Policy Database (SPD)
{{bibref|RFC4301|Section 4.4.1}} selection criteria. Each (ordered)
entry defines a set of selection criteria and references a
{{object|#.Profile}} table entry that specifies how matching packets
will be processed.
SPD filtering is performed for all packets that might need to cross the
IPsec boundary {{bibref|RFC4301|Section 3.1}}. Given that IPsec
operates at the IP level, this means that SPD filtering conceptually
occurs after bridging and before routing.
For enabled table entries, if {{param|Interface}} is not a valid
reference and {{param|AllInterfaces}} is {{false}}, then the table
entry is inoperable and the CPE MUST set {{param|Status}} to
{{enum|Error_Misconfigured|Status}}.
</description>
<uniqueKey functional="false">
<parameter ref="Alias"/>
</uniqueKey>
<parameter name="Enable" access="readWrite">
<description>
Enables or disables this IPsec Filter table entry.
</description>
<syntax>
<boolean/>
<default type="object" value="false"/>
</syntax>
</parameter>
<parameter name="Status" access="readOnly">
<description>
The status of this IPsec Filter table entry. {{enum}}
The {{enum|Error_Misconfigured}} value indicates that a necessary
configuration value is undefined or invalid.
The {{enum|Error}} value MAY be used by the CPE to indicate a locally
defined error condition.
</description>
<syntax>
<string>
<enumeration value="Disabled"/>
<enumeration value="Enabled"/>
<enumeration value="Error_Misconfigured"/>
<enumeration value="Error" optional="true"/>
</string>
<default type="object" value="Disabled"/>
</syntax>
</parameter>
<parameter name="Order" access="readWrite">
<description>
Position of the {{object}} entry in the order of precedence. A value
of ''1'' indicates the first entry considered (highest precedence).
For each packet, the highest ordered entry that matches the filter
criteria is applied. All lower order entries are ignored.
When this value is modified, if the value matches that of an existing
entry, the {{param}} value for the existing entry and all lower
{{param}} entries is incremented (lowered in precedence) to ensure
uniqueness of this value. A deletion causes {{param}} values to be
compacted. When a value is changed, incrementing occurs before
compaction.
The value of {{param}} on creation of a {{object}} table entry MUST
be one greater than the largest current value (initially assigned the
lowest precedence).
</description>
<syntax>
<unsignedInt>
<range minInclusive="1"/>
</unsignedInt>
</syntax>
</parameter>
<parameter name="Alias" access="readWrite">
<description>
{{datatype|expand}}
</description>
<syntax>
<dataType ref="Alias"/>
</syntax>
</parameter>
<parameter name="Interface" access="readWrite">
<description>
SPD selection criterion. {{reference}}
This specifies the ingress interface associated with the entry. It
MAY be a layer 1, 2 or 3 interface. However, the types of interfaces
for which filters can be instantiated is a local matter to the CPE.
</description>
<syntax>
<string>
<size maxLength="256"/>
<pathRef refType="strong" targetType="row"/>
</string>
<default type="object" value=""/>
</syntax>
</parameter>
<parameter name="AllInterfaces" access="readWrite">
<description>
SPD selection criterion.
This specifies that all ingress interfaces are associated with the
entry. If {{true}}, the value of {{param|Interface}} is ignored since
all ingress interfaces are indicated.
</description>
<syntax>
<boolean/>
<default type="object" value="false"/>
</syntax>
</parameter>
<parameter name="DestIP" access="readWrite">
<description>
SPD selection criterion.
Destination IP address. {{empty}} indicates this criterion is not
used, i.e. is ''ANY''.
</description>
<syntax>
<dataType ref="IPAddress"/>
<default type="object" value=""/>
</syntax>
</parameter>
<parameter name="DestMask" access="readWrite">
<description>
SPD selection criterion.
Destination IP address mask. If not {{empty}}, only the indicated
network portion of the {{param|DestIP}} address is to be used for
selection. {{empty}} indicates that the full {{param|DestIP}} address
is to be used for selection.
</description>
<syntax>
<dataType ref="IPAddress"/>
<default type="object" value=""/>
</syntax>
</parameter>
<parameter name="DestIPExclude" access="readWrite">
<description>
If {{false}}, the rule matches only those packets that match the
(masked) {{param|DestIP}} entry, if specified.
If {{true}}, the rule matches all packets except those that match the
(masked) {{param|DestIP}} entry, if specified.
</description>
<syntax>
<boolean/>
<default type="object" value="false"/>
</syntax>
</parameter>
<parameter name="SourceIP" access="readWrite">
<description>
SPD selection criterion.
Source IP address. {{empty}} indicates this criterion is not used,
i.e. is ''ANY''.
</description>
<syntax>
<dataType ref="IPAddress"/>
<default type="object" value=""/>
</syntax>
</parameter>
<parameter name="SourceMask" access="readWrite">
<description>
SPD selection criterion.
Source IP address mask. If not {{empty}}, only the indicated network
portion of the {{param|SourceIP}} address is to be used for
selection. {{empty}} indicates that the full {{param|SourceIP}}
address is to be used for selection.
</description>
<syntax>
<dataType ref="IPAddress"/>
<default type="object" value=""/>
</syntax>
</parameter>
<parameter name="SourceIPExclude" access="readWrite">
<description>
If {{false}}, the rule matches only those packets that match the
(masked) {{param|SourceIP}} entry, if specified.
If {{true}}, the rule matches all packets except those that match the
(masked) {{param|SourceIP}} entry, if specified.
</description>
<syntax>
<boolean/>
<default type="object" value="false"/>
</syntax>
</parameter>
<parameter name="Protocol" access="readWrite">
<description>
SPD selection criterion.
Protocol number. A value of -1 indicates this criterion is not used,
i.e. is ''ANY''.
Note that {{bibref|RFC4301}} refers to this as the ''Next Layer
Protocol''. It is obtained from the IPv4 ''Protocol'' or the IPv6
''Next Header'' fields.
</description>
<syntax>
<int>
<range minInclusive="-1" maxInclusive="255"/>
</int>
<default type="object" value="-1"/>
</syntax>
</parameter>
<parameter name="ProtocolExclude" access="readWrite">
<description>
If {{false}}, the rule matches only those packets that match
{{param|Protocol}}, if specified.
If {{true}}, the rule matches all packets except those that match
{{param|Protocol}}, if specified.
</description>
<syntax>
<boolean/>
<default type="object" value="false"/>
</syntax>
</parameter>
<parameter name="DestPort" access="readWrite">
<description>
SPD selection criterion.
Destination port number. A value of -1 indicates this criterion is
not used, i.e. is ''ANY''.
The value of this parameter is ignored for protocols that do not use
ports, e.g. ICMP (1).
</description>
<syntax>
<int>
<range minInclusive="-1" maxInclusive="65535"/>
</int>
<default type="object" value="-1"/>
</syntax>
</parameter>
<parameter name="DestPortRangeMax" access="readWrite">
<description>
SPD selection criterion.
If specified, indicates a destination port address range from
{{param|DestPort}} through {{param}} (inclusive), in which case
{{param}} MUST be greater than or equal to {{param|DestPort}}.
A value of -1 indicates that no destination port range is specified.
</description>
<syntax>
<int>
<range minInclusive="-1" maxInclusive="65535"/>
</int>
<default type="object" value="-1"/>
</syntax>
</parameter>
<parameter name="DestPortExclude" access="readWrite">
<description>
If {{false}}, the rule matches only those packets that match
{{param|DestPort}} (or port range), if specified.
If {{true}}, the rule matches all packets except those that match
{{param|DestPort}} (or port range), if specified.
</description>
<syntax>
<boolean/>
<default type="object" value="false"/>
</syntax>
</parameter>
<parameter name="SourcePort" access="readWrite">
<description>
SPD selection criterion.
Source port number. A value of -1 indicates this criterion is not
used, i.e. is ''ANY''.
The value of this parameter is ignored for protocols that do not use
ports, e.g. ICMP (1).
</description>
<syntax>
<int>
<range minInclusive="-1" maxInclusive="65535"/>
</int>
<default type="object" value="-1"/>
</syntax>
</parameter>
<parameter name="SourcePortRangeMax" access="readWrite">
<description>
SPD selection criterion.
If specified, indicates a source port address range from
{{param|SourcePort}} through {{param}} (inclusive), in which case
{{param}} MUST be greater than or equal to {{param|SourcePort}}.
A value of -1 indicates that no source port range is specified.
</description>
<syntax>
<int>
<range minInclusive="-1" maxInclusive="65535"/>
</int>
<default type="object" value="-1"/>
</syntax>
</parameter>
<parameter name="SourcePortExclude" access="readWrite">
<description>
If {{false}}, the rule matches only those packets that match
{{param|SourcePort}} (or port range), if specified.
If {{true}}, the rule matches all packets except those that match
{{param|SourcePort}} (or port range), if specified.
</description>
<syntax>
<boolean/>
<default type="object" value="false"/>
</syntax>
</parameter>
<parameter name="ProcessingChoice" access="readWrite">
<description>
Indicates how packets that match this rule will be processed
{{bibref|RFC4301|Section 4.4.1}}.
</description>
<syntax>
<string>
<enumeration value="Discard">
<description>
Packet is not allowed to traverse the IPsec boundary; packet
will be discarded
</description>
</enumeration>
<enumeration value="Bypass">
<description>
Packet is allowed to bypass traverse the IPsec boundary without
protection
</description>
</enumeration>
<enumeration value="Protect">
<description>
Packet is afforded protection as specified by {{param|Profile}}
</description>
</enumeration>
</string>
<default type="object" value="Bypass"/>
</syntax>
</parameter>
<parameter name="Profile" access="readWrite">
<description>
The profile that defines the IPsec treatment for matching packets.
{{reference}}
If {{param|ProcessingChoice}} is {{enum|Protect|ProcessingChoice}},
{{param}} MUST NOT be {{empty}}. In this case, if it ever becomes
{{empty}}, e.g. because the referenced profile is deleted, this IPsec
Filter table entry is invalid and {{param|Status}} MUST be set to
{{enum|Error_Misconfigured|Status}}.
If {{param|ProcessingChoice}} is not
{{enum|Protect|ProcessingChoice}}, {{param}} is ignored.
Any changes to the referenced profile will have an immediate effect
on any established IPsec tunnels. Such changes will often force IKEv2
sessions and child SAs to be re-established.
</description>
<syntax>
<string>
<pathRef refType="strong" targetParent="#.Profile."
targetType="row"/>
</string>
</syntax>
</parameter>
</object>
<object name="Device.IPsec.Profile.{i}." access="readWrite"
numEntriesParameter="ProfileNumberOfEntries" minEntries="0"
maxEntries="unbounded" version="2.5">
<description>
Profile table that represents the IPsec Security Policy Database (SPD)
{{bibref|RFC4301|Section 4.4.1}} processing info. Each entry defines
the IPsec treatment for packets that match the {{object|#.Filter}}
entries that reference the entry.
</description>
<uniqueKey functional="false">
<parameter ref="Alias"/>
</uniqueKey>
<parameter name="Alias" access="readWrite">
<description>
{{datatype|expand}}
</description>
<syntax>
<dataType ref="Alias"/>
</syntax>
</parameter>
<parameter name="MaxChildSAs" access="readWrite">
<description>
Controls the maximum number of child Security Association (SA) pairs
that can be negotiated by a single IKEv2 session.
If a new child SA pair is needed, but the current IKEv2 session
already has {{param}} child SA pairs, an additional IKEv2 session
(and therefore an additional IPsec tunnel) will be established.
A value of 0 means no specific limit.
Note that support for more than one child SA pair per IKEv2 session
is OPTIONAL {{bibref|RFC5996|Section 1.3}}.
</description>
<syntax>
<unsignedInt/>
</syntax>
</parameter>
<parameter name="RemoteEndpoints" access="readWrite">
<description>
The host name or IP address of the remote IPsec tunnel endpoint. If
more than one name/address is supplied, they will be tried in turn,
i.e. they are in decreasing order of precedence.
</description>
<syntax>
<list maxItems="4">
<size/>
</list>
<string>
<size maxLength="64"/>
</string>