Skip to content

Latest commit

 

History

History
99 lines (72 loc) · 3.08 KB

comware_lldp_global_module.rst

File metadata and controls

99 lines (72 loc) · 3.08 KB

comware_lldp_global

Added in version 1.0

Enable or Disable global LLDP on a HP Comware 7 deviceauthor: gongqianyu

parameter required default choices comments
state yes
  • enabled
  • disabled
Desired state for LLDP global configuration
port no 830 NETCONF port number
hostname yes IP Address or hostname of the Comware v7 device that has NETCONF enabled
username yes Username used to login to the switch
password yes Password used to login to the switch
look_for_keys no False Whether searching for discoverable private key files in ~/.ssh/


- name: manage lldp global enable
- comware_lldp_global: state=enabled username={{ username }} password={{ password }} hostname={{ inventory_hostname }}


- name: manage lldp global disable
- comware_lldp_global: state=disabled username={{ username }} password={{ password }} hostname={{ inventory_hostname }}