.. _network_mac_address_static: network mac-address static ========================== Static MAC commands static Specification -------------------- ===================================== ================================================================================ **Parameter** **Value** ===================================== ================================================================================ **Type** *Collection* **Object Key(s)** *mac, vlan* **Collection Name** :ref:`2335_static_list` **Collection URI** /axapi/v3/network/mac-address/static **Element Name** static **Element URI** /axapi/v3/network/mac-address/static/{mac}+{vlan} **Element Attributes** static_attributes **Partition Visibility** shared **Schema** :download:`static 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 .. raw:: html .. raw:: html .. raw:: html .. raw:: html
OperationMethodURIPayload
Create Object .. raw:: html POST .. raw:: html /axapi/v3/network/mac-address/static .. raw:: html :ref:`2335_static_attributes` .. raw:: html
Create List .. raw:: html POST .. raw:: html /axapi/v3/network/mac-address/static .. raw:: html :ref:`2335_static_attributes` .. raw:: html
Get Object .. raw:: html GET .. raw:: html /axapi/v3/network/mac-address/static/{mac}+{vlan} .. raw:: html :ref:`2335_static_attributes` .. raw:: html
Get List .. raw:: html GET .. raw:: html /axapi/v3/network/mac-address/static .. raw:: html :ref:`2335_static_list` .. raw:: html
Modify Object .. raw:: html POST .. raw:: html /axapi/v3/network/mac-address/static/{mac}+{vlan} .. raw:: html :ref:`2335_static_attributes` .. raw:: html
Replace Object .. raw:: html PUT .. raw:: html /axapi/v3/network/mac-address/static/{mac}+{vlan} .. raw:: html :ref:`2335_static_attributes` .. raw:: html
Replace List .. raw:: html PUT .. raw:: html /axapi/v3/network/mac-address/static .. raw:: html :ref:`2335_static_list` .. raw:: html
Delete Object .. raw:: html DELETE .. raw:: html /axapi/v3/network/mac-address/static/{mac}+{vlan} .. raw:: html :ref:`2335_static_attributes` .. raw:: html
.. _2335_static_list: static-list ----------- static-list is **JSON List** of :ref:`2335_static_attributes` static-list : [ { :ref:`2335_static_attributes` }, { :ref:`2335_static_attributes` }, ... ] .. _2335_static_attributes: static attributes ----------------- **dest** **Description** Trap MAC with this DA to CPU **Type:** boolean **Supported Values:** true, false, 1, 0 **Default:** 0 **mac** **Description** Configure a Static MAC address **Type:** string **Format:** mac-address **port** **Description** Ethernet Port on which the Address is applicable (Port Value) **Type:** number **Format:** interface **redirect-dummy-mac** **Description** Dummy for redirect use **Type:** boolean **Supported Values:** true, false, 1, 0 **Default:** 0 **uuid** **Description** uuid of the object **Type:** string **Maximum Length:** 64 characters **Maximum Length:** 1 characters **vlan** **Description** VLAN Id **Type:** number **Range:** 2-4094 **Reference Object:** :doc:`/axapi/v3/network/vlan `