ip prefix-list

Configure Prefix-list

prefix-list Specification

Type Collection
Object Key(s) name
Collection Name prefix-list-list
Collection URI /axapi/v3/ip/prefix-list/
Element Name prefix-list
Element URI /axapi/v3/ip/prefix-list/{name}
Element Attributes prefix-list_attributes
Schema prefix-list schema

Operations Allowed:

Operation Method URI Payload

Create Object

POST

/axapi/v3/ip/prefix-list/

prefix-list Attributes

Create List

POST

/axapi/v3/ip/prefix-list/

prefix-list Attributes

Get Object

GET

/axapi/v3/ip/prefix-list/{name}

prefix-list Attributes

Get List

GET

/axapi/v3/ip/prefix-list/

prefix-list-list

Modify Object

POST

/axapi/v3/ip/prefix-list/{name}

prefix-list Attributes

Replace Object

PUT

/axapi/v3/ip/prefix-list/{name}

prefix-list Attributes

Replace List

PUT

/axapi/v3/ip/prefix-list/

prefix-list-list

Delete Object

DELETE

/axapi/v3/ip/prefix-list/{name}

prefix-list Attributes

prefix-list-list

prefix-list-list is JSON List of prefix-list Attributes

prefix-list-list : [

prefix-list Attributes

name

Description: Name of a prefix list

Type: string

Required: Yes

rules

Description: rules is a JSON List . Please see below for rules

Type: List

uuid

Description: uuid of the object

Type: string

rules

Specification
Type list
Block object keys

action

Description: ‘deny’: Specify packets to reject; ‘permit’: Specify packets to forward;

Type: string

Supported Values: deny, permit

any

Description: Any prefix match. Same as “0.0.0.0/0 le 32”

Type: boolean

Supported Values: true, false, 1, 0

Default: 0

description

Description: Prefix-list specific description (Up to 80 characters describing this prefix-list)

Type: string

ge

Description: Minimum prefix length to be matched

Type: number

Range: 0-32

ipaddr

Description: IP prefix, e.g., 35.0.0.0/8

Type: string

Format: ipv4-cidr

le

Description: Maximum prefix length to be matched

Type: number

Range: 0-32

seq

Description: Sequence number of an entry

Type: number

Range: 1-4294967295