object-group service

Configure Service Object Group

service Specification

Parameter Value
Type Collection
Object Key(s) svc-name
Collection Name service-list
Collection URI /axapi/v3/object-group/service
Element Name service
Element URI /axapi/v3/object-group/service/{svc-name}
Element Attributes service_attributes
Partition Visibility shared
Schema service schema

Operations Allowed:

OperationMethodURIPayload

Create Object

POST

/axapi/v3/object-group/service

service attributes

Create List

POST

/axapi/v3/object-group/service

service attributes

Get Object

GET

/axapi/v3/object-group/service/{svc-name}

service attributes

Get List

GET

/axapi/v3/object-group/service

service-list

Modify Object

POST

/axapi/v3/object-group/service/{svc-name}

service attributes

Replace Object

PUT

/axapi/v3/object-group/service/{svc-name}

service attributes

Replace List

PUT

/axapi/v3/object-group/service

service-list

Delete Object

DELETE

/axapi/v3/object-group/service/{svc-name}

service attributes

service-list

service-list is JSON List of service attributes

service-list : [

service attributes

description

Description Description of the object-group instance

Type: string

Format: string-rlx

Maximum Length: 128 characters

Maximum Length: 1 characters

rules

Type: List

svc-name

Description Service Object Group Name

Type: string

Format: string-rlx

Maximum Length: 63 characters

Maximum Length: 1 characters

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

rules

Specification Value
Type list
Block object keys  

alg

Description ‘FTP’: Specify FTP ALG port range; ‘TFTP’: Specify TFTP ALG port range; ‘SIP’: Specify SIP ALG port range; ‘DNS’: Specify DNS ALG port range; ‘PPTP’: Specify PPTP ALG port range; ‘RTSP’: Specify RTSP ALG port range;

Type: string

Supported Values: FTP, TFTP, SIP, DNS, PPTP, RTSP

any-code

Description Any ICMP code

Type: boolean

Supported Values: true, false, 1, 0

Default: 0

Mutual Exclusion: any-code, icmp-code, and special-code are mutually exclusive

any-type

Description Any ICMP type

Type: boolean

Supported Values: true, false, 1, 0

Default: 0

Mutual Exclusion: any-type, icmp-type, and special-type are mutually exclusive

eq-dst

Description Match only packets on a given destination port (port number)

Type: number

Range: 1-65535

eq-src

Description Match only packets on a given source port (port number)

Type: number

Range: 1-65535

gt-dst

Description Match only packets with a greater destination port number

Type: number

Range: 1-65534

gt-src

Description Match only packets with a greater source port number

Type: number

Range: 1-65534

icmp

Description Internet Control Message Protocol

Type: boolean

Supported Values: true, false, 1, 0

Default: 0

icmp-code

Description ICMP code number

Type: number

Range: 0-254

Mutual Exclusion: icmp-code, any-code, and special-code are mutually exclusive

icmp-type

Description ICMP type number

Type: number

Range: 0-254

Mutual Exclusion: icmp-type, any-type, and special-type are mutually exclusive

icmpv6

Description Internet Control Message Protocol version 6

Type: boolean

Supported Values: true, false, 1, 0

Default: 0

icmpv6-code

Description ICMPv6 code number

Type: number

Range: 0-254

Mutual Exclusion: icmpv6-code, v6-any-code, and special-v6-code are mutually exclusive

icmpv6-type

Description ICMPv6 type number

Type: number

Range: 0-254

Mutual Exclusion: icmpv6-type, v6-any-type, and special-v6-type are mutually exclusive

lt-dst

Description Match only packets with a lesser destination port number

Type: number

Range: 2-65535

lt-src

Description Match only packets with a lower source port number

Type: number

Range: 2-65535

port-num-end-dst

Description Ending Destination Port Number

Type: number

Range: 1-65535

port-num-end-src

Description Ending Source Port Number

Type: number

Range: 1-65535

protocol-id

Description Protocol ID

Type: number

Range: 0-255

range-dst

Description Match only packets in the range of destination port numbers (Starting Destination Port Number)

Type: number

Range: 1-65535

range-src

Description match only packets in the range of source port numbers (Starting Port Number)

Type: number

Range: 1-65535

seq-num

Description Sequence number

Type: number

Range: 1-8192

source

Description Source Port Information

Type: boolean

Supported Values: true, false, 1, 0

Default: 0

special-code

Description ‘frag-required’: Code 4, fragmentation required; ‘host-unreachable’: Code 1, destination host unreachable; ‘network-unreachable’: Code 0, destination network unreachable; ‘port-unreachable’: Code 3, destination port unreachable; ‘proto-unreachable’: Code 2, destination protocol unreachable; ‘route-failed’: Code 5, source route failed;

Type: string

Supported Values: frag-required, host-unreachable, network-unreachable, port-unreachable, proto-unreachable, route-failed

Mutual Exclusion: special-code, any-code, and icmp-code are mutually exclusive

special-type

Description ‘echo-reply’: Type 0, echo reply; ‘echo-request’: Type 8, echo request; ‘info-reply’: Type 16, information reply; ‘info-request’: Type 15, information request; ‘mask-reply’: Type 18, address mask reply; ‘mask-request’: Type 17, address mask request; ‘parameter-problem’: Type 12, parameter problem; ‘redirect’: Type 5, redirect message; ‘source-quench’: Type 4, source quench; ‘time-exceeded’: Type 11, time exceeded; ‘timestamp’: Type 13, timestamp; ‘timestamp-reply’: Type 14, timestamp reply; ‘dest-unreachable’: Type 3, destination unreachable;

Type: string

Supported Values: echo-reply, echo-request, info-reply, info-request, mask-reply, mask-request, parameter-problem, redirect, source-quench, time-exceeded, timestamp, timestamp-reply, dest-unreachable

Mutual Exclusion: special-type, icmp-type, and any-type are mutually exclusive

special-v6-code

Description ‘addr-unreachable’: Code 3, address unreachable; ‘admin-prohibited’: Code 1, admin prohibited; ‘no-route’: Code 0, no route to destination; ‘not-neighbour’: Code 2, not neighbor; ‘port-unreachable’: Code 4, destination port unreachable;

Type: string

Supported Values: addr-unreachable, admin-prohibited, no-route, not-neighbour, port-unreachable

Mutual Exclusion: special-v6-code, v6-any-code, and icmpv6-code are mutually exclusive

special-v6-type

Description ‘dest-unreachable’: Type 1, destination unreachable; ‘echo-reply’: Type 129, echo reply; ‘echo-request’: Type 128, echo request; ‘packet-too-big’: Type 2, packet too big; ‘param-prob’: Type 4, parameter problem; ‘time-exceeded’: Type 3, time exceeded;

Type: string

Supported Values: dest-unreachable, echo-reply, echo-request, packet-too-big, param-prob, time-exceeded

Mutual Exclusion: special-v6-type, icmpv6-type, and v6-any-type are mutually exclusive

tcp-udp

Description ‘tcp’: Protocol TCP; ‘udp’: Protocol UDP;

Type: string

Supported Values: tcp, udp

v6-any-code

Description Any ICMPv6 code

Type: boolean

Supported Values: true, false, 1, 0

Default: 0

Mutual Exclusion: v6-any-code, icmpv6-code, and special-v6-code are mutually exclusive

v6-any-type

Description Any ICMP type

Type: boolean

Supported Values: true, false, 1, 0

Default: 0

Mutual Exclusion: v6-any-type, icmpv6-type, and special-v6-type are mutually exclusive