ip/prefix-list

Resource URIs

URI Description
<base_URI>/config/running/ip/prefix-list/{name},{seq-keyword},{instance} Configures IP address prefix list.
GET URIs Description
<base_URI>/config/running/ip/prefix-list/{name},{seq-keyword},{instance} Retrieves IP address prefix list.
<base_URI>/config/running/ip/prefix-list/{name},{seq-keyword},{instance}/ge Retrieves minimum IP prefix length.
<base_URI>/config/running/ip/prefix-list/{name},{seq-keyword},{instance}/le Retrieves maximum IP prefix length.
PATCH URIs Payload Description
<base_URI>/config/running/ip/prefix-list/{name},{seq-keyword},{instance} <prefix-list><action-ipp>{action-t}</action-ipp><prefix-ipp>{inet:ipv4-prefix}</prefix-ipp></prefix-list> Configures IP address prefix list.
<base_URI>/config/running/ip/prefix-list/{name},{seq-keyword},{instance} <prefix-list><ge>{prefix-len-t}</ge></prefix-list> Configures minimum IP prefix length.
<base_URI>/config/running/ip/prefix-list/{name},{seq-keyword},{instance} <prefix-list><le>{prefix-len-t}</le></prefix-list> Configures maximum IP prefix length.
PUT URIs Payload Description
<base_URI>/config/running/ip/prefix-list/{name},{seq-keyword},{instance}/ge <ge>{prefix-len-t}</ge> Configures minimum IP prefix length.
<base_URI>/config/running/ip/prefix-list/{name},{seq-keyword},{instance}/le <le>{prefix-len-t}</le> Configures maximum IP prefix length.
DELETE URIs
<base_URI>/config/running/ip/prefix-list/{name},{seq-keyword},{instance}

Usage Guidelines

GET, POST, PUT, PATCH, DELETE, OPTIONS, and HEAD operations are supported.

Examples

URI

The following example uses the GET option to retrieve the configuration details.

http://host:80/rest/config/running/ip/prefix-list/PRLIST1,seq,5

None

<prefix-list xmlns="urn:brocade.com:mgmt:brocade-ip-policy" xmlns:y="http://brocade.com/ns/rest" 
y:self="/rest/config/running/ip/prefix-list/PRLIST1%2Cseq%2C5">
  <name>PRLIST1</name>
  <seq-keyword>seq</seq-keyword>
  <instance>5</instance>
  <action-ipp>permit</action-ipp>
  <prefix-ipp>17.0.0.0/16</prefix-ipp>
  <ge>18</ge>
  <le>24</le>
</prefix-list>

URI

The following example uses the PUT option to configure IP address prefix list.

http://host:80/rest/config/running/config/running/ip/prefix-list/PRLIST1,seq,5/ge

<ge>{prefix-len-t}</ge>

None

URI

The following example uses the DELETE option to remove IP address prefix list.

http://host:80/rest/config/running/ip/prefix-list/PRLIST1,seq,5

None

None