.. _sys_ut_state_next_state_case_action_l2_mac: sys-ut state next-state case action l2 mac ========================================== Mac Address mac Specification ----------------- ===================================== ===================================================================================================================================== **Parameter** **Value** ===================================== ===================================================================================================================================== **Type** *Collection* **Object Key(s)** *src-dst* **Collection Name** :ref:`3151_mac_list` **Collection URI** /axapi/v3/sys-ut/state/{name}/next-state/{name}/case/{case-number}/action/{direction}/l2/mac **Element Name** mac **Element URI** /axapi/v3/sys-ut/state/{name}/next-state/{name}/case/{case-number}/action/{direction}/l2/mac/{src-dst} **Element Attributes** mac_attributes **Partition Visibility** shared **Schema** :download:`mac schema ` ===================================== ===================================================================================================================================== **Operations Allowed:** .. raw:: html .. raw:: html .. raw:: html .. raw:: html .. raw:: html .. raw:: html .. raw:: html .. raw:: html .. raw:: html .. raw:: html .. raw:: html
OperationMethodURIPayload
Create Object .. raw:: html POST .. raw:: html /axapi/v3/sys-ut/state/{name}/next-state/{name}/case/{case-number}/action/{direction}/l2/mac .. raw:: html :ref:`3151_mac_attributes` .. raw:: html
Create List .. raw:: html POST .. raw:: html /axapi/v3/sys-ut/state/{name}/next-state/{name}/case/{case-number}/action/{direction}/l2/mac .. raw:: html :ref:`3151_mac_attributes` .. raw:: html
Get Object .. raw:: html GET .. raw:: html /axapi/v3/sys-ut/state/{name}/next-state/{name}/case/{case-number}/action/{direction}/l2/mac/{src-dst} .. raw:: html :ref:`3151_mac_attributes` .. raw:: html
Get List .. raw:: html GET .. raw:: html /axapi/v3/sys-ut/state/{name}/next-state/{name}/case/{case-number}/action/{direction}/l2/mac .. raw:: html :ref:`3151_mac_list` .. raw:: html
Modify Object .. raw:: html POST .. raw:: html /axapi/v3/sys-ut/state/{name}/next-state/{name}/case/{case-number}/action/{direction}/l2/mac/{src-dst} .. raw:: html :ref:`3151_mac_attributes` .. raw:: html
Replace Object .. raw:: html PUT .. raw:: html /axapi/v3/sys-ut/state/{name}/next-state/{name}/case/{case-number}/action/{direction}/l2/mac/{src-dst} .. raw:: html :ref:`3151_mac_attributes` .. raw:: html
Replace List .. raw:: html PUT .. raw:: html /axapi/v3/sys-ut/state/{name}/next-state/{name}/case/{case-number}/action/{direction}/l2/mac .. raw:: html :ref:`3151_mac_list` .. raw:: html
Delete Object .. raw:: html DELETE .. raw:: html /axapi/v3/sys-ut/state/{name}/next-state/{name}/case/{case-number}/action/{direction}/l2/mac/{src-dst} .. raw:: html :ref:`3151_mac_attributes` .. raw:: html
.. _3151_mac_list: mac-list -------- mac-list is **JSON List** of :ref:`3151_mac_attributes` mac-list : [ { :ref:`3151_mac_attributes` }, { :ref:`3151_mac_attributes` }, ... ] .. _3151_mac_attributes: mac attributes -------------- **address-type** **Description** 'broadcast': broadcast; 'multicast': multicast; **Type:** string **Supported Values:** broadcast, multicast **ethernet** **Description** Ethernet interface **Type:** number **Format:** interface **Reference Object:** :doc:`/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:** :doc:`/axapi/v3/interface/ve ` **virtual-server** **Description** vip **Type:** string **Maximum Length:** 128 characters **Maximum Length:** 1 characters **Reference Object:** :doc:`/axapi/v3/slb/virtual-server `