HP Intelligent Management Center Extended API User Guide
<protocol>2</protocol>
<destAddr/>
<sourceAddr>192.168.10.0/255.255.10.10</sourceAddr>
<precedence>5</precedence>
<tos>10</tos>
<dscp>34</dscp>
<hpIgmpType>18</hpIgmpType>
<fragment>1</fragment>
<logging>1</logging>
<vpnIntance/>
</aclRule>
</aclRuleList>
</acl>
Response
HTTP/1.1 201 Created
Content-Type: application/xml
...
No message body is included.
4. Add an extended ACL with the protocol type being TCP or UDP on the device whose device ID
is 68.
Request
POST http://imc_host:8080/imcrs/acl/res/acl
accept: application/xml
...
<acl>
<parentId>68</parentId>
<aclName>3003</aclName>
<aclType>3</aclType>
<aclDesc>acl_3003</aclDesc>
<aclRuleList>
<aclRule>
<trName/>
<action>1</action>
<protocol>6</protocol>
<destAddr/>
<sourceAddr>192.168.10.0/255.255.10.10</sourceAddr>
<sourcePortOper>1</sourcePortOper>
<sourcePort1>55</sourcePort1>
<destPortOper>5</destPortOper>
<destPort1>554</destPort1>
<destPort2>555</destPort2>
<precedence>5</precedence>
<tos>10</tos>
<dscp>34</dscp>
<hpAck>1</hpAck>
<hpFin>0</hpFin>
<hpRst>1</hpRst>
<hpSyn>0</hpSyn>
<fragment>1</fragment>
<logging>1</logging>
<vpnIntance/>
</aclRule>
</aclRuleList>
</acl>
Add ACL on a Device 417