Skip to content

Latest commit

 

History

History
134 lines (108 loc) · 4.9 KB

comware_loghost_module.rst

File metadata and controls

134 lines (108 loc) · 4.9 KB

comware_loghost

Added in version 1.0

Manage info-center log host and related parameters on V7 devices

parameter required default choices comments
loghost yes Address of the log host
VRF yes VRF instance name
hostport no 514 Port number of the log host.
168
sourceID no Configure the source IP address of the sent log information.The default state is Using the primary IP address of the outgoing interface as the source IP address of the sent log information
state no present
  • present
  • absent
Desired state of the switchport
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 config
- comware_loghost: loghost=3.3.3.7 VRF=vpn2 hostport=512 facility=128 sourceID=LoopBack0 username={{ username }} password={{ password }} hostname={{ inventory_hostname }}

# delete config
- comware_loghost: loghost=3.3.3.7 VRF=vpn2 hostport=512 facility=128 sourceID=LoopBack0 state=absent username={{ username }} password={{ password }} hostname={{ inventory_hostname }}

Note