HP Intelligent Management Center Licenses User Manual

Page 416

Advertising
background image

Response

HTTP/1.1 201 Created
Content-Type: application/xml
...
No message body is included.

2. Add an extended ACL with the protocol type being ICMP 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>3001</aclName>
<aclNameType>1</aclNameType>
<aclType>3</aclType>
<aclDesc>acl_3001</aclDesc>
<aclRuleList>
<aclRule>
<trName/>
<action>1</action>
<protocol>1</protocol>
<destAddr/>
<sourceAddr>192.168.10.0/255.255.10.10</sourceAddr>
<icmpType>21</icmpType>
<icmpCode>254</icmpCode>
<precedence>5</precedence>
<tos>10</tos>
<dscp>34</dscp>
<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.

3. Add an extended ACL with the protocol type being IGMP 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>3002</aclName>
<aclType>3</aclType>
<aclDesc>acl_3002</aclDesc>
<aclRuleList>
<aclRule>
<trName/>
<action>1</action>

416

ACL Management

Advertising