icmp-test.xml 645 字节
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
<filter name='testcase' chain='root'>
  <uuid>5c6d49af-b071-6127-b4ec-6f8ed4b55335</uuid>
  <rule action='accept' direction='out'>
     <icmp srcmacaddr='1:2:3:4:5:6'
           dstipaddr='10.1.2.3' dstipmask='255.255.255.255'
           dscp='2' type='12' code='11'/>
  </rule>
  <rule action='accept' direction='in'>
     <icmp srcmacaddr='1:2:3:4:5:6'
           srcipaddr='10.1.2.3' srcipmask='22'
           dscp='33' type='255' code='255'/>
  </rule>
  <rule action='accept' direction='in'>
     <icmp srcmacaddr='1:2:3:4:5:6'
           srcipaddr='10.1.2.3' srcipmask='22'
           dscp='33' type='256' code='256'/>
  </rule>
</filter>