cgnv6 map encapsulation domain basic-mapping-rule prefix-rule

IPv6 and IPv4 prefix rules

prefix-rule Specification

Parameter Value
Type Collection
Object Key(s) name
Collection Name prefix-rule-list
Collection URI /axapi/v3/cgnv6/map/encapsulation/domain/{name}/basic-mapping-rule/prefix-rule
Element Name prefix-rule
Element URI /axapi/v3/cgnv6/map/encapsulation/domain/{name}/basic-mapping-rule/prefix-rule/{name}
Element Attributes prefix-rule_attributes
Partition Visibility shared
Schema prefix-rule schema

Operations Allowed:

OperationMethodURIPayload

Create Object

POST

/axapi/v3/cgnv6/map/encapsulation/domain/{name}/basic-mapping-rule/prefix-rule

prefix-rule attributes

Create List

POST

/axapi/v3/cgnv6/map/encapsulation/domain/{name}/basic-mapping-rule/prefix-rule

prefix-rule attributes

Get Object

GET

/axapi/v3/cgnv6/map/encapsulation/domain/{name}/basic-mapping-rule/prefix-rule/{name}

prefix-rule attributes

Get List

GET

/axapi/v3/cgnv6/map/encapsulation/domain/{name}/basic-mapping-rule/prefix-rule

prefix-rule-list

Modify Object

POST

/axapi/v3/cgnv6/map/encapsulation/domain/{name}/basic-mapping-rule/prefix-rule/{name}

prefix-rule attributes

Replace Object

PUT

/axapi/v3/cgnv6/map/encapsulation/domain/{name}/basic-mapping-rule/prefix-rule/{name}

prefix-rule attributes

Replace List

PUT

/axapi/v3/cgnv6/map/encapsulation/domain/{name}/basic-mapping-rule/prefix-rule

prefix-rule-list

Delete Object

DELETE

/axapi/v3/cgnv6/map/encapsulation/domain/{name}/basic-mapping-rule/prefix-rule/{name}

prefix-rule attributes

prefix-rule-list

prefix-rule-list is JSON List of prefix-rule attributes

prefix-rule-list : [

prefix-rule attributes

ea-length

Description Length of Embedded Address (EA) bits

Type: number

Range: 0-23

ipv4-address-port-settings

Description ‘prefix-addr’: Each CE is assigned an IPv4 prefix; ‘single-addr’: Each CE is assigned an IPv4 address; ‘shared-addr’: Each CE is assigned a shared IPv4 address;

Type: string

Supported Values: prefix-addr, single-addr, shared-addr

ipv4-netmask

Description Subnet mask (subnet bigger than /8 is not allowed)

Type: string

Format: ipv4-netmask-brief

name

Description MAP BMR prefix rule name

Type: string

Format: string-rlx

Maximum Length: 63 characters

Maximum Length: 1 characters

port-start

Description Starting Port, Must be Power of 2 value or zero

Type: number

Range: 0-32768

rule-ipv4-prefix

Description IPv4 prefix of BMR

Type: string

Format: ipv4-address

rule-ipv6-prefix

Description IPv6 prefix of BMR

Type: string

Format: ipv6-address-plen

share-ratio

Description Port sharing ratio for each NAT IP. Must be Power of 2 value

Type: number

Range: 1-65536

user-tag

Description Customized tag

Type: string

Format: string-rlx

Maximum Length: 127 characters

Maximum Length: 1 characters

uuid

Description uuid of the object

Type: string

Maximum Length: 64 characters

Maximum Length: 1 characters