Модуль dellemc.enterprise_sonic.sonic_mclag — управление доменом групп агрегации каналов между несколькими шасси (MCLAG) и его параметрами
Примечание
Этот модуль входит в коллекцию dellemc.enterprise_sonic (версия 3.2.0).
Возможно, эта коллекция уже установлена, если вы используете пакет ansible. Она не входит в ansible-core. Чтобы проверить, установлена ли она, выполните ansible-galaxy collection list.
Для установки используйте: ansible-galaxy collection install dellemc.enterprise_sonic.
Чтобы использовать коллекцию в плейбуке, укажите: dellemc.enterprise_sonic.sonic_mclag.
Добавлено в dellemc.enterprise_sonic 1.0.0
Краткое описание
- Управление доменом групп агрегации каналов между несколькими шасси (MCLAG) и его параметрами.
Параметры
Параметр | Комментарии |
|---|---|
config dictionary | Словарь конфигураций домена MCLAG. |
|
backup_keepalive_interval integer добавлено в dellemc.enterprise_sonic 3.1.0 |
Интервал между сообщениями keepalive резервного сеанса MCLAG в секундах. Поддерживаемый диапазон интервалов — 1–60. |
|
backup_keepalive_peer_address string добавлено в dellemc.enterprise_sonic 3.1.0 |
IP-адрес IPv4 резервного узла для установления резервного сеанса keepalive MCLAG |
|
backup_keepalive_session_vrf string добавлено в dellemc.enterprise_sonic 3.1.0 |
VRF резервного сеанса keepalive MCLAG |
|
backup_keepalive_source_address string добавлено в dellemc.enterprise_sonic 3.1.0 |
IP-адрес IPv4 источника для установления резервного сеанса keepalive MCLAG |
|
delay_restore integer |
Время задержки восстановления MCLAG в секундах. |
|
domain_id integer / обязательный |
Идентификатор домена MCLAG. |
|
gateway_mac string |
MAC-адрес шлюза для портов маршрутизатора через MCLAG. Настроенный MAC-адрес шлюза можно изменить только при state=replaced или state=overridden. |
|
keepalive integer |
Интервал keepalive сеанса MCLAG в секундах. |
|
members dictionary |
Содержит словарь portchannels для домена MCLAG. |
|
portchannels list / elements=dictionary |
Содержит список portchannels, настраиваемых как интерфейс MCLAG. |
|
lag string |
Содержит идентификатор PortChannel. |
|
peer_address string |
IP-адрес IPv4 узла-партнера для соответствующего MCLAG. |
|
peer_gateway dictionary |
Содержит словарь VLAN для шлюза узла-партнера MCLAG. |
|
vlans list / elements=dictionary |
Содержит список VLAN и диапазонов VLAN, для которых включена функция шлюза узла-партнера MCLAG. |
|
vlan string |
Содержит имя VLAN или диапазон VLAN. Укажите один VLAN, например Vlan10. Укажите диапазон VLAN, например Vlan10-20. |
|
peer_link string |
Канал связи с узлом-партнером для соответствующего MCLAG. |
|
session_timeout integer |
Тайм-аут сеанса MCLAG в секундах. |
|
session_vrf string добавлено в dellemc.enterprise_sonic 2.5.0 |
VRF сеанса MCLAG. В качестве значения VRF сеанса можно указать mgmt или VRF, отличную от VRF по умолчанию. |
|
source_address string |
IP-адрес IPv4 источника для соответствующего MCLAG. |
|
system_mac string |
MAC-адрес MCLAG. |
|
unique_ip dictionary |
Содержит словарь VLAN для уникального IP-адреса MCLAG. |
|
vlans list / elements=dictionary |
Содержит список VLAN и диапазонов VLAN, для которых включен отдельный IP-адрес для поддержки протокола уровня 3 через MCLAG. |
|
vlan string |
Содержит имя VLAN или диапазон VLAN. Укажите один VLAN, например Vlan10. Укажите диапазон VLAN, например Vlan10-20. |
state string | Состояние, в котором должна остаться конфигурация. Варианты:
|
Примечания
Примечание
- Проверено на Enterprise SONiC Distribution от Dell Technologies.
- Поддерживает
check_mode.
Примеры
# Using "merged" state
#
# Before state:
# -------------
#
# sonic# show mclag brief
# MCLAG Not Configured
- name: Merge provided configuration with device configuration
dellemc.enterprise_sonic.sonic_mclag:
config:
domain_id: 1
peer_address: 1.1.1.1
source_address: 2.2.2.2
peer_link: 'Portchannel1'
session_vrf: 'mgmt'
keepalive: 1
session_timeout: 3
delay_restore: 240
system_mac: '00:00:00:11:11:11'
gateway_mac: '00:00:00:12:12:12'
unique_ip:
vlans:
- vlan: Vlan4
- vlan: Vlan21-25
peer_gateway:
vlans:
- vlan: Vlan4
- vlan: Vlan21-25
members:
portchannels:
- lag: PortChannel10
backup_keepalive_source_address: 3.3.3.3
backup_keepalive_peer_address: 4.4.4.4
backup_keepalive_interval: 5
backup_keepalive_session_vrf: mgmt
state: merged
# After state:
# ------------
#
# sonic# show mclag brief
#
# Domain ID : 1
# Role : standby
# Session Status : down
# Peer Link Status : down
# Source Address : 2.2.2.2
# Peer Address : 1.1.1.1
# Session Vrf : mgmt
# Peer Link : PortChannel1
# Keepalive Interval : 1 secs
# Session Timeout : 3 secs
# Delay Restore : 240 secs
# System Mac : 20:04:0f:37:bd:c9
# Mclag System Mac : 00:00:00:11:11:11
# Gateway Mac : 00:00:00:12:12:12
#
# Backup Keepalive Session Information:
# -----------------------------------
# Session Vrf : mgmt
# Session Status : down
# Source Address : 3.3.3.3
# Peer Address : 4.4.4.4
# Keepalive Interval : 5 secs
# -----------------------------------
#
# Number of MLAG Interfaces:1
# -----------------------------------------------------------
# MLAG Interface Local/Remote Status
# -----------------------------------------------------------
# PortChannel10 down/down
#
# sonic# show mclag separate-ip-interfaces
# Interface Name
# ==============
# Vlan4
# Vlan21
# Vlan22
# Vlan23
# Vlan24
# Vlan25
# ==============
# Total count : 6
# ==============
# sonic#
# sonic# show mclag peer-gateway-interfaces
# Interface Name
# ==============
# Vlan4
# Vlan21
# Vlan22
# Vlan23
# Vlan24
# Vlan25
# ==============
# Total count : 6
# ==============
# sonic#
# Using "merged" state
#
# Before state:
# ------------
#
# sonic# show mclag brief
#
# Domain ID : 1
# Role : standby
# Session Status : down
# Peer Link Status : down
# Source Address : 2.2.2.2
# Peer Address : 1.1.1.1
# Session Vrf : mgmt
# Peer Link : PortChannel1
# Keepalive Interval : 1 secs
# Session Timeout : 3 secs
# Delay Restore : 240 secs
# System Mac : 20:04:0f:37:bd:c9
# Mclag System Mac : 00:00:00:11:11:11
# Gateway Mac : 00:00:00:12:12:12
#
# Backup Keepalive Session Information:
# -----------------------------------
# Session Vrf : mgmt
# Session Status : down
# Source Address : 3.3.3.3
# Peer Address : 4.4.4.4
# Keepalive Interval : 5 secs
# -----------------------------------
#
# Number of MLAG Interfaces:1
# -----------------------------------------------------------
# MLAG Interface Local/Remote Status
# -----------------------------------------------------------
# PortChannel10 down/down
#
# sonic# show mclag separate-ip-interfaces
# Interface Name
# ==============
# Vlan4
# Vlan21
# Vlan22
# Vlan23
# Vlan24
# Vlan25
# ==============
# Total count : 6
# ==============
# sonic#
# sonic# show mclag peer-gateway-interfaces
# Interface Name
# ==============
# Vlan4
# Vlan21
# Vlan22
# Vlan23
# Vlan24
# Vlan25
# ==============
# Total count : 6
# ==============
# sonic#
- name: Merge device configuration with the provided configuration
dellemc.enterprise_sonic.sonic_mclag:
config:
domain_id: 1
source_address: 3.3.3.3
keepalive: 10
session_timeout: 30
session_vrf: VrfRed
delay_restore: 360
unique_ip:
vlans:
- vlan: Vlan5
- vlan: Vlan26-28
peer_gateway:
vlans:
- vlan: Vlan5
- vlan: Vlan26-28
members:
portchannels:
- lag: PortChannel12
backup_keepalive_source_address: 31.31.31.31
backup_keepalive_peer_address: 44.44.44.44
backup_keepalive_interval: 59
backup_keepalive_session_vrf: VrfRed
state: merged
# After state:
# ------------
#
# sonic# show mclag brief
#
# Domain ID : 1
# Role : standby
# Session Status : down
# Peer Link Status : down
# Source Address : 3.3.3.3
# Peer Address : 1.1.1.1
# Session Vrf : VrfRed
# Peer Link : PortChannel1
# Keepalive Interval : 10 secs
# Session Timeout : 30 secs
# Delay Restore : 360 secs
# System Mac : 20:04:0f:37:bd:c9
# Mclag System Mac : 00:00:00:11:11:11
# Gateway Mac : 00:00:00:12:12:12
#
# Backup Keepalive Session Information:
# -----------------------------------
# Session Vrf : VrfRed
# Session Status : down
# Source Address : 31.31.31.31
# Peer Address : 44.44.44.44
# Keepalive Interval : 59 secs
# -----------------------------------
#
# Number of MLAG Interfaces:2
# -----------------------------------------------------------
# MLAG Interface Local/Remote Status
# -----------------------------------------------------------
# PortChannel10 down/down
# PortChannel12 down/down
#
# sonic# show mclag separate-ip-interfaces
# Interface Name
# ==============
# Vlan4
# Vlan5
# Vlan21
# Vlan22
# Vlan23
# Vlan24
# Vlan25
# Vlan26
# Vlan27
# Vlan28
# ==============
# Total count : 10
# ==============
# sonic# show mclag peer-gateway-interfaces
# Interface Name
# ==============
# Vlan4
# Vlan5
# Vlan21
# Vlan22
# Vlan23
# Vlan24
# Vlan25
# Vlan26
# Vlan27
# Vlan28
# ==============
# Total count : 10
# ==============
# sonic#
# Using "deleted" state
#
# Before state:
# ------------
#
# sonic# show mclag brief
#
# Domain ID : 1
# Role : standby
# Session Status : down
# Peer Link Status : down
# Source Address : 3.3.3.3
# Peer Address : 1.1.1.1
# Session Vrf : VrfRed
# Peer Link : PortChannel1
# Keepalive Interval : 10 secs
# Session Timeout : 30 secs
# Delay Restore : 360 secs
# System Mac : 20:04:0f:37:bd:c9
# Mclag System Mac : 00:00:00:11:11:11
# Gateway Mac : 00:00:00:12:12:12
#
# Backup Keepalive Session Information:
# -----------------------------------
# Session Vrf : VrfRed
# Session Status : down
# Source Address : 31.31.31.31
# Peer Address : 44.44.44.44
# Keepalive Interval : 59 secs
# -----------------------------------
#
# Number of MLAG Interfaces:1
# -----------------------------------------------------------
# MLAG Interface Local/Remote Status
# -----------------------------------------------------------
# PortChannel10 down/down
#
# sonic# show mclag separate-ip-interfaces
# Interface Name
# ==============
# Vlan4
# Vlan21
# Vlan22
# Vlan23
# Vlan24
# Vlan25
# ==============
# Total count : 6
# ==============
# sonic#
# sonic# show mclag peer-gateway-interfaces
# Interface Name
# ==============
# Vlan4
# Vlan21
# Vlan22
# Vlan23
# Vlan24
# Vlan25
# ==============
# Total count : 6
# ==============
# sonic#
- name: Delete device configuration based on the provided configuration
dellemc.enterprise_sonic.sonic_mclag:
config:
domain_id: 1
source_address: 3.3.3.3
keepalive: 10
session_vrf: VrfRed
unique_ip:
vlans:
- vlan: Vlan22
- vlan: Vlan24-25
peer_gateway:
vlans:
- vlan: Vlan22
- vlan: Vlan24-25
members:
portchannels:
- lag: PortChannel10
backup_keepalive_source_address: 31.31.31.31
backup_keepalive_peer_address: 44.44.44.44
backup_keepalive_interval: 59
backup_keepalive_session_vrf: VrfRed
state: deleted
# After state:
# ------------
#
# sonic# show mclag brief
#
# Domain ID : 1
# Role : standby
# Session Status : down
# Peer Link Status : down
# Source Address :
# Peer Address : 1.1.1.1
# Session Vrf : default
# Peer Link : PortChannel1
# Keepalive Interval : 1 secs
# Session Timeout : 30 secs
# Delay Restore : 360 secs
# System Mac : 20:04:0f:37:bd:c9
# Mclag System Mac : 00:00:00:11:11:11
# Gateway Mac : 00:00:00:12:12:12
#
# Backup Keepalive Session Information:
# -----------------------------------
# Session Vrf : default
# Session Status : down
# Source Address :
# Peer Address :
# Keepalive Interval : 30 secs
# -----------------------------------
#
# Number of MLAG Interfaces:0
#
# sonic# show mclag separate-ip-interfaces
# Interface Name
# ==============
# Vlan4
# Vlan21
# Vlan23
# ==============
# Total count : 3
# ==============
# sonic#
# sonic# show mclag peer-gateway-interfaces
# Interface Name
# ==============
# Vlan4
# Vlan21
# Vlan23
# ==============
# Total count : 3
# ==============
# sonic#
# Using "deleted" state
#
# Before state:
# ------------
#
# sonic# show mclag brief
#
# Domain ID : 1
# Role : standby
# Session Status : down
# Peer Link Status : down
# Source Address : 3.3.3.3
# Peer Address : 1.1.1.1
# Session Vrf : default
# Peer Link : PortChannel1
# Keepalive Interval : 10 secs
# Session Timeout : 30 secs
# Delay Restore : 360 secs
# System Mac : 20:04:0f:37:bd:c9
# Mclag System Mac : 00:00:00:11:11:11
# Gateway Mac : 00:00:00:12:12:12
#
# Backup Keepalive Session Information:
# -----------------------------------
# Session Vrf : default
# Session Status : down
# Source Address :
# Peer Address :
# Keepalive Interval : 30 secs
# -----------------------------------
#
# Number of MLAG Interfaces:1
# -----------------------------------------------------------
# MLAG Interface Local/Remote Status
# -----------------------------------------------------------
# PortChannel10 down/down
#
# sonic# show mclag separate-ip-interfaces
# Interface Name
# ==============
# Vlan4
# ==============
# Total count : 1
# ==============
# sonic#
# sonic# show mclag peer-gateway-interfaces
# Interface Name
# ==============
# Vlan4
# ==============
# Total count : 1
# ==============
# sonic#
- name: Delete all device configuration
dellemc.enterprise_sonic.sonic_mclag:
config:
state: deleted
# After state:
# ------------
#
# sonic# show mclag brief
# MCLAG Not Configured
# sonic# show mclag separate-ip-interfaces
# MCLAG separate IP interface not configured
# sonic# show mclag peer-gateway-interfaces
# MCLAG Peer Gateway interface not configured
# sonic#
# Using "deleted" state
#
# Before state:
# ------------
#
# sonic# show mclag brief
#
# Domain ID : 1
# Role : standby
# Session Status : down
# Peer Link Status : down
# Source Address : 3.3.3.3
# Peer Address : 1.1.1.1
# Session Vrf : default
# Peer Link : PortChannel1
# Keepalive Interval : 10 secs
# Session Timeout : 30 secs
# Delay Restore : 360 secs
# System Mac : 20:04:0f:37:bd:c9
# Mclag System Mac : 00:00:00:11:11:11
# Gateway Mac : 00:00:00:12:12:12
#
# Backup Keepalive Session Information:
# -----------------------------------
# Session Vrf : VrfRed
# Session Status : down
# Source Address : 31.31.31.31
# Peer Address : 44.44.44.44
# Keepalive Interval : 59 secs
# -----------------------------------
#
# Number of MLAG Interfaces:2
# -----------------------------------------------------------
# MLAG Interface Local/Remote Status
# -----------------------------------------------------------
# PortChannel10 down/down
# PortChannel12 down/down
#
# sonic# show mclag separate-ip-interfaces
# Interface Name
# ==============
# Vlan4
# ==============
# Total count : 1
# ==============
# sonic#
# sonic# show mclag peer-gateway-interfaces
# Interface Name
# ==============
# Vlan4
# ==============
# Total count : 1
# ==============
# sonic#
- name: Delete device configuration based on the provided configuration
dellemc.enterprise_sonic.sonic_mclag:
config:
domain_id: 1
source_address: 3.3.3.3
keepalive: 10
peer_gateway:
vlans:
members:
portchannels:
state: deleted
# After state:
# ------------
#
# sonic# show mclag brief
#
# Domain ID : 1
# Role : standby
# Session Status : down
# Peer Link Status : down
# Source Address :
# Peer Address : 1.1.1.1
# Session Vrf : default
# Peer Link : PortChannel1
# Keepalive Interval : 1 secs
# Session Timeout : 30 secs
# Delay Restore : 360 secs
# System Mac : 20:04:0f:37:bd:c9
# Mclag System Mac : 00:00:00:11:11:11
# Gateway Mac : 00:00:00:12:12:12
#
# Backup Keepalive Session Information:
# -----------------------------------
# Session Vrf : VrfRed
# Session Status : down
# Source Address : 31.31.31.31
# Peer Address : 44.44.44.44
# Keepalive Interval : 59 secs
# -----------------------------------
#
# Number of MLAG Interfaces:0
#
# sonic# show mclag separate-ip-interfaces
# Interface Name
# ==============
# Vlan4
# ==============
# Total count : 1
# ==============
# sonic#
# sonic# show mclag peer-gateway-interfaces
# MCLAG Peer Gateway interface not configured
# sonic#
# Using "replaced" state
#
# Before state:
# ------------
#
# sonic# show mclag brief
#
# Domain ID : 1
# Role : standby
# Session Status : down
# Peer Link Status : down
# Source Address : 2.2.2.2
# Peer Address : 1.1.1.1
# Session Vrf : VrfRed
# Peer Link : PortChannel1
# Keepalive Interval : 1 secs
# Session Timeout : 3 secs
# Delay Restore : 240 secs
# System Mac : 20:04:0f:37:bd:c9
# Mclag System Mac : 00:00:00:11:11:11
# Gateway Mac : 00:00:00:12:12:12
#
#
# Backup Keepalive Session Information:
# -----------------------------------
# Session Vrf : VrfRed
# Session Status : down
# Source Address : 31.31.31.31
# Peer Address : 44.44.44.44
# Keepalive Interval : 59 secs
# -----------------------------------
#
# Number of MLAG Interfaces:2
# -----------------------------------------------------------
# MLAG Interface Local/Remote Status
# -----------------------------------------------------------
# PortChannel10 down/down
# PortChannel11 down/down
#
# sonic# show mclag separate-ip-interfaces
# Interface Name
# ==============
# Vlan4
# Vlan21
# Vlan22
# Vlan23
# Vlan24
# Vlan25
# ==============
# Total count : 6
# ==============
# sonic#
# sonic# show mclag peer-gateway-interfaces
# Interface Name
# ==============
# Vlan4
# Vlan21
# Vlan22
# Vlan23
# Vlan24
# Vlan25
# ==============
# Total count : 6
# ==============
# sonic#
- name: Replace device configuration with the provided configuration
dellemc.enterprise_sonic.sonic_mclag:
config:
domain_id: 1
unique_ip:
vlans:
- vlan: Vlan5
- vlan: Vlan24-28
session_vrf: VrfBlue
peer_gateway:
vlans:
- vlan: Vlan5
- vlan: Vlan24-28
members:
portchannels:
- lag: PortChannel10
- lag: PortChannel12
backup_keepalive_source_address: 131.131.131.131
state: replaced
# After state:
# ------------
#
# sonic# show mclag brief
#
# Domain ID : 1
# Role : standby
# Session Status : down
# Peer Link Status : down
# Source Address : 2.2.2.2
# Peer Address : 1.1.1.1
# Session Vrf : VrfBlue
# Peer Link : PortChannel1
# Keepalive Interval : 1 secs
# Session Timeout : 3 secs
# Delay Restore : 240 secs
# System Mac : 20:04:0f:37:bd:c9
# Mclag System Mac : 00:00:00:11:11:11
# Gateway Mac : 00:00:00:12:12:12
#
# Backup Keepalive Session Information:
# -----------------------------------
# Session Vrf : Default
# Session Status : down
# Source Address : 131.131.131.131
# Peer Address :
# Keepalive Interval : 30 secs
# -----------------------------------
#
# Number of MLAG Interfaces:2
# -----------------------------------------------------------
# MLAG Interface Local/Remote Status
# -----------------------------------------------------------
# PortChannel10 down/down
# PortChannel12 down/down
#
# sonic# show mclag separate-ip-interfaces
# Interface Name
# ==============
# Vlan5
# Vlan24
# Vlan25
# Vlan26
# Vlan27
# Vlan28
# ==============
# Total count : 6
# ==============
# sonic# show mclag peer-gateway-interfaces
# Interface Name
# ==============
# Vlan5
# Vlan24
# Vlan25
# Vlan26
# Vlan27
# Vlan28
# ==============
# Total count : 6
# ==============
# sonic#
# Using "overridden" state
#
# Before state:
# ------------
#
# sonic# show mclag brief
#
# Domain ID : 1
# Role : standby
# Session Status : down
# Peer Link Status : down
# Source Address : 2.2.2.2
# Peer Address : 1.1.1.1
# Session Vrf : VrfBlue
# Peer Link : PortChannel1
# Keepalive Interval : 1 secs
# Session Timeout : 3 secs
# Delay Restore : 240 secs
# System Mac : 20:04:0f:37:bd:c9
# Mclag System Mac : 00:00:00:11:11:11
# Gateway Mac : 00:00:00:12:12:12
#
# Backup Keepalive Session Information:
# -----------------------------------
# Session Vrf : Vrf_Red
# Session Status : down
# Source Address : 19.19.19.19
# Peer Address : 20.20.20.20
# Keepalive Interval : 3 secs
# -----------------------------------
#
# Number of MLAG Interfaces:2
# -----------------------------------------------------------
# MLAG Interface Local/Remote Status
# -----------------------------------------------------------
# PortChannel10 down/down
# PortChannel11 down/down
#
# sonic# show mclag separate-ip-interfaces
# Interface Name
# ==============
# Vlan4
# Vlan21
# Vlan22
# Vlan23
# Vlan24
# Vlan25
# ==============
# Total count : 6
# ==============
# sonic#
# sonic# show mclag peer-gateway-interfaces
# Interface Name
# ==============
# Vlan4
# Vlan21
# Vlan22
# Vlan23
# Vlan24
# Vlan25
# ==============
# Total count : 6
# ==============
# sonic#
- name: Override device configuration with the provided configuration
dellemc.enterprise_sonic.sonic_mclag:
config:
domain_id: 1
peer_address: 1.1.1.1
source_address: 3.3.3.3
peer_link: 'Portchannel1'
session_vrf: VrfRed
system_mac: '00:00:00:11:11:11'
gateway_mac: '00:00:00:12:12:12'
unique_ip:
vlans:
- vlan: Vlan24-28
peer_gateway:
vlans:
- vlan: Vlan24-28
members:
portchannels:
- lag: PortChannel10
- lag: PortChannel12
backup_keepalive_source_address: 131.131.131.131
backup_keepalive_peer_address: 144.144.144.144
state: overridden
# After state:
# ------------
#
# sonic# show mclag brief
#
# Domain ID : 1
# Role : standby
# Session Status : down
# Peer Link Status : down
# Source Address : 3.3.3.3
# Peer Address : 1.1.1.1
# Session Vrf : VrfRed
# Peer Link : PortChannel1
# Keepalive Interval : 1 secs
# Session Timeout : 30 secs
# Delay Restore : 300 secs
# System Mac : 20:04:0f:37:bd:c9
# Mclag System Mac : 00:00:00:11:11:11
# Gateway Mac : 00:00:00:12:12:12
#
# Backup Keepalive Session Information:
# -----------------------------------
# Session Vrf : Default
# Session Status : down
# Source Address : 131.131.131.131
# Peer Address : 141.141.141.141
# Keepalive Interval : 30 secs
# -----------------------------------
#
#
# Number of MLAG Interfaces:2
# -----------------------------------------------------------
# MLAG Interface Local/Remote Status
# -----------------------------------------------------------
# PortChannel10 down/down
# PortChannel12 down/down
#
# sonic# show mclag separate-ip-interfaces
# Interface Name
# ==============
# Vlan24
# Vlan25
# Vlan26
# Vlan27
# Vlan28
# ==============
# Total count : 5
# ==============
# sonic# show mclag peer-gateway-interfaces
# Interface Name
# ==============
# Vlan24
# Vlan25
# Vlan26
# Vlan27
# Vlan28
# ==============
# Total count : 5
# ==============
# sonic#
Возвращаемые значения
Общие возвращаемые значения описаны здесь; ниже приведены поля, уникальные для этого модуля:
Ключ | Описание |
|---|---|
after list / elements=string | Конфигурация, полученная после вызова модуля. Возвращается: при изменении Пример: |
before list / elements=string | Конфигурация до вызова модуля. Возвращается: всегда Пример: |
commands list / elements=string | Набор команд, отправленных на удаленное устройство. Возвращается: всегда Пример: |
Ссылки на коллекцию
© 2012–2018 Michael DeHaan
© 2018–2025 Red Hat, Inc.
Licensed under the GNU General Public License version 3.
https://docs.ansible.com/projects/ansible/latest/collections/dellemc/enterprise_sonic/sonic_mclag_module.html