diff --git a/docs/arista.eos.eos_bgp_address_family_module.rst b/docs/arista.eos.eos_bgp_address_family_module.rst
index cc64946ab..5b793084e 100644
--- a/docs/arista.eos.eos_bgp_address_family_module.rst
+++ b/docs/arista.eos.eos_bgp_address_family_module.rst
@@ -840,6 +840,7 @@ Parameters
Route action.
+ aliases: mode
|
@@ -921,7 +922,6 @@ Parameters
Type of address fmaily
- aliases: mode
|
diff --git a/plugins/modules/eos_bgp_address_family.py b/plugins/modules/eos_bgp_address_family.py
index e281bf2b0..7f625faad 100644
--- a/plugins/modules/eos_bgp_address_family.py
+++ b/plugins/modules/eos_bgp_address_family.py
@@ -198,11 +198,11 @@
description: Route action.
type: str
choices: ['both', 'import', 'export']
+ aliases: ['mode']
type:
description: Type of address fmaily
type: str
choices: ['evpn', 'vpn-ipv4', 'vpn-ipv6']
- aliases: ['mode']
route_map:
description: Name of a route map.
type: str