cgnv6 one-to-one global

Set one-to-one NAT config parameters

global Specification

Type Configuration Resource
Element Name global
Element URI /axapi/v3/cgnv6/one-to-one/global
Element Attributes global_attributes
Statistics Data URI /axapi/v3/cgnv6/one-to-one/global/stats
Schema global schema

Operations Allowed:

Operation Method URI Payload

Create Object

POST

/axapi/v3/cgnv6/one-to-one/global

global Attributes

Get Object

GET

/axapi/v3/cgnv6/one-to-one/global

global Attributes

Modify Object

POST

/axapi/v3/cgnv6/one-to-one/global

global Attributes

Replace Object

PUT

/axapi/v3/cgnv6/one-to-one/global

global Attributes

Delete Object

DELETE

/axapi/v3/cgnv6/one-to-one/global

global Attributes

Get Stats

GET

/axapi/v3/cgnv6/one-to-one/global/stats

stats data

global Attributes

mapping-timeout

Description: Configure timeout for the one-to-one NAT mapping (Timeout in minutes (default: 10 minutes))

Type: number

Range: 0-180

Default: 10

sampling-enable

Description: sampling-enable is a JSON List . Please see below for sampling-enable

Type: List

uuid

Description: uuid of the object

Type: string

sampling-enable

Specification
Type list
Block object keys

counters1

Description: ‘all’: all; ‘total-map-allocated’: Total One-to-One Address Mapping Allocated; ‘total-map-freed’: Total One-to-One Address Mapping Freed; ‘map-alloc-failure’: One-to-One Address Mapping Allocation Failure; ‘map-dbl-free’: Address Mapping Double Free; ‘alloc-map-race’: Mapping Exists When Allocating Address Mapping; ‘map-not-found’: Mapping to be Released Not Found; ‘ha-map-mismatch’: HA Standby Mapping Mismatch; ‘ha-select-addr-failure’: HA Standby Allocate Address Failure; ‘ha-alloc-map-conflicts’: HA Standby Allocate Mapping Conflicts;

Type: string

Supported Values: all, total-map-allocated, total-map-freed, map-alloc-failure, map-dbl-free, alloc-map-race, map-not-found, ha-map-mismatch, ha-select-addr-failure, ha-alloc-map-conflicts

stats data

Counter Size Description
total-map-freed 8 Total One-to-One Address Mapping Freed
map-alloc-failure 8 One-to-One Address Mapping Allocation Failure
total-map-allocated 8 Total One-to-One Address Mapping Allocated