cisco.nxos.nxos_pim 模块 – 管理 PIM 实例的配置。
注意
此模块是 cisco.nxos 集合(版本 9.2.1)的一部分。
如果您正在使用 ansible
包,您可能已经安装了此集合。它不包含在 ansible-core
中。要检查是否已安装,请运行 ansible-galaxy collection list
。
要安装它,请使用:ansible-galaxy collection install cisco.nxos
。
要在 playbook 中使用它,请指定:cisco.nxos.nxos_pim
。
cisco.nxos 1.0.0 中的新增功能
概要
管理协议无关组播 (PIM) 实例的配置。
参数
参数 |
注释 |
---|---|
在所有 PIM 接口上启用 BFD。 依赖项:‘’feature bfd’’ 选项
|
|
为源特定组播 (SSM) 配置组范围。有效值是组播地址或关键字 默认值: |
备注
注意
Cisco MDS 不支持
有关使用 CLI 和 NX-API 的信息,请参阅:ref: `NXOS 平台选项指南 <nxos_platform_options>`
有关使用 Ansible 管理网络设备的更多信息,请参阅:ref: `Ansible 网络指南 <network_guide>`
有关使用 Ansible 管理 Cisco 设备的更多信息,请参阅 `Cisco 集成页面 <https://ansible.org.cn/integrations/networks/cisco>`_。
示例
- name: Configure ssm_range, enable bfd
cisco.nxos.nxos_pim:
bfd: enable
ssm_range: 224.0.0.0/8
- name: Set to default
cisco.nxos.nxos_pim:
ssm_range: default
- name: Remove all ssm group ranges
cisco.nxos.nxos_pim:
ssm_range: none
返回值
通用返回值记录在此处,以下是此模块特有的字段
键 |
描述 |
---|---|
发送到设备的命令 返回: 始终 示例: |