Skip to content

Latest commit

 

History

History
110 lines (85 loc) · 3.75 KB

comware_lldp_interface_module.rst

File metadata and controls

110 lines (85 loc) · 3.75 KB

comware_lldp_interface

Added in version 1.0

Manage lldp enable on interfaces.The default state is enable.

parameter required default choices comments
name yes Full name of the interface
interface_enable yes
  • enabled
  • disabled
Layer 2 mode of the interface
state no present
  • present
  • default
Desired state of the interface lldp state.
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
port no 830 NETCONF port number
look_for_keys no False Whether searching for discoverable private key files in ~/.ssh/


# Basic interface lldp config
- comware_lldp_interface: name=FortyGigE1/0/2 interface_enable=enabled username={{ username }} password={{ password }} hostname={{ inventory_hostname }}

Note

Before config interface lldp enable, the global lldp must be enable.