URI | Description |
---|---|
<base_URI>/config/running/ip/community-list | Configures IP community list. |
GET URIs | Description |
---|---|
<base_URI>/config/running/ip/community-list | Retrieves IP community list. |
<base_URI>/config/running/ip/community-list/standard/{name},{seq-keyword},{instance} | Retrieves standard community list. |
<base_URI>/config/running/ip/community-list/extended/{name},{seq-keyword},{instance} | Retrieves extended community list. |
POST URIs | Payload | Description |
---|---|---|
<base_URI>/config/running/ip/community-list | <standard><name>{ip-community-list-name-t}</name><seq-keyword>{enumeration}</seq-keyword><instance>{instance-id-t}</instance><ip-action>{action-t}</ip-action><std-community-expr>{ip-std-community-expr-t}</std-community-expr></standard> | Configures standard community list. |
<base_URI>/config/running/ip/community-list | <extended><name>{ip-community-list-name-t}</name><seq-keyword>{enumeration}</seq-keyword><instance>{instance-id-t}</instance><ip-action>{action-t}</ip-action><ip-community-reg-expr>{ip-community-reg-expr-t}</ip-community-reg-expr></extended> | Configures extended community list. |
PATCH URIs | Payload | Description |
---|---|---|
<base_URI>/config/running/ip/community-list/standard/{name},{seq-keyword},{instance} | <standard><ip-action>{action-t}</ip-action><std-community-expr>{ip-std-community-expr-t}</std-community-expr></standard> | Configures standard community list. |
<base_URI>/config/running/ip/community-list/extended/{name},{seq-keyword},{instance} | <extended><ip-action>{action-t}</ip-action><ip-community-reg-expr>{ip-community-reg-expr-t}</ip-community-reg-expr></extended> | Configures extended community list. |
DELETE URIs |
---|
<base_URI>/config/running/ip/community-list/standard/{name},{seq-keyword},{instance} |
<base_URI>/config/running/ip/community-list/extended/{name},{seq-keyword},{instance} |
GET, POST, PUT, PATCH, DELETE, OPTIONS, and HEAD operations are supported.
The following example uses the GET option to retrieve the configuration details.
http://host:80/rest/config/running/ip/community-list
None
<community-list xmlns="urn:brocade.com:mgmt:brocade-ip-policy" xmlns:y="http://brocade.com/ns/rest" y:self="/rest/config/running/ip/community-list"> </community-list>
The following example uses the POST option to configure IP community list.
http://host:80/rest/config/running/config/running/ip/community-list
<standard><name>{ip-community-list-name-t}</name><seq-keyword>{key}</seq-keyword><instance>{instance-id-t} </instance><ip-action>{action-t}</ip-action><std-community-expr>{ip-std-community-expr-t}</std-community-expr></standard>
None
The following example uses the DELETE option to remove IP community list.
http://host:80/rest/config/running/ip/community-list/standard/{ip-community-list-name-t},{key},{instance-id-t}
None
None