sys-ut template l2

L2 packet paramters

l2 Specification

Parameter Value
Type Configuration Resource
Element Name l2
Element URI /axapi/v3/sys-ut/template/{name}/l2
Element Attributes l2_attributes
Partition Visibility shared
Schema l2 schema

Operations Allowed:

OperationMethodURIPayload

Create Object

POST

/axapi/v3/sys-ut/template/{name}/l2

l2 attributes

Get Object

GET

/axapi/v3/sys-ut/template/{name}/l2

l2 attributes

Modify Object

POST

/axapi/v3/sys-ut/template/{name}/l2

l2 attributes

Replace Object

PUT

/axapi/v3/sys-ut/template/{name}/l2

l2 attributes

Delete Object

DELETE

/axapi/v3/sys-ut/template/{name}/l2

l2 attributes

l2 attributes

ethertype

Description L2 frame type

Type: boolean

Supported Values: true, false, 1, 0

Default: 0

mac-list

protocol

Description ‘arp’: arp; ‘ipv4’: ipv4; ‘ipv6’: ipv6;

Type: string

Supported Values: arp, ipv4, ipv6

Default: ipv4

Mutual Exclusion: protocol and value are mutually exclusive

uuid

Description uuid of the object

Type: string

Maximum Length: 64 characters

Maximum Length: 1 characters

value

Description ethertype number

Type: number

Range: 0-2147483647

Mutual Exclusion: value and protocol are mutually exclusive

vlan

Description Vlan ID on the packet. 0 is untagged

Type: number

Range: 0-4095

Default: 0

mac-list

Specification Value
Type list
Block object keys  

address-type

Description ‘broadcast’: broadcast; ‘multicast’: multicast;

Type: string

Supported Values: broadcast, multicast

ethernet

Description Ethernet interface

Type: number

Format: interface

Reference Object: /axapi/v3/interface/ethernet

nat-pool

Description Nat pool

Type: string

Maximum Length: 128 characters

Maximum Length: 1 characters

src-dst

Description ‘dest’: dest; ‘src’: src;

Type: string

Supported Values: dest, src

trunk

Description Trunk number

Type: number

Format: interface

uuid

Description uuid of the object

Type: string

Maximum Length: 64 characters

Maximum Length: 1 characters

value

Description Mac Address

Type: string

Format: mac-address

ve

Description Virtual Ethernet interface

Type: number

Format: interface

Reference Object: /axapi/v3/interface/ve

virtual-server

Description vip

Type: string

Maximum Length: 128 characters

Maximum Length: 1 characters

Reference Object: /axapi/v3/slb/virtual-server