.. _dellemc.enterprise_sonic.sonic_mac_module:
**********************************
dellemc.enterprise_sonic.sonic_mac
**********************************
**Manage MAC configuration on SONiC**
Version added: 2.1.0
.. contents::
:local:
:depth: 1
Synopsis
--------
- This module provides configuration management of MAC for devices running SONiC
Parameters
----------
.. raw:: html
| Parameter |
Choices/Defaults |
Comments |
|
config
list
/ elements=dictionary
|
|
A list of MAC configurations.
|
|
mac
dictionary
|
|
Configuration attributes for MAC.
|
|
|
aging_time
integer
|
Default:
600
|
Time in seconds of inactivity before the MAC entry is timed out.
|
|
|
dampening_interval
integer
|
Default:
5
|
Interval for which mac movements are observed before disabling MAC learning on a port.
|
|
|
dampening_threshold
integer
|
Default:
5
|
Number of MAC movements allowed per second before disabling MAC learning on a port.
|
|
|
mac_table_entries
list
/ elements=dictionary
|
|
Configuration attributes for MAC table entries.
|
|
|
|
interface
string
|
|
Specifies the interface for the MAC table entry.
|
|
|
|
mac_address
string
/ required
|
|
MAC address for the dynamic or static MAC table entry.
|
|
|
|
vlan_id
integer
/ required
|
|
ID number of VLAN on which the MAC address is present.
|
|
vrf_name
string
|
Default:
"default"
|
Specifies the VRF name.
|
|
state
string
|
Choices:
merged ←
- deleted
- replaced
- overridden
|
The state of the configuration after module completion
|