Skip to content

Latest commit

 

History

History
142 lines (116 loc) · 5.58 KB

comware_isis_interface_module.rst

File metadata and controls

142 lines (116 loc) · 5.58 KB

comware_isis_interface

Added in version 1.0

Manage isis for Comware 7 devicesauthor:gongqianyu

parameter required default choices comments
name yes interface name
isisID yes cSpecifies that IS-IS functions are enabled on the interface and configures the IS-IS processes associated with the interface
level no 3
  • 1
  • 2
  • 3
Link adjacency type of configuration interface.
cost no Configure the link cost value of IS-IS interface.(1锝?6777215)
routerid no Configure the link cost value of IS-IS interface,to chose router.
silent no
  • true
  • false
Forbid the interface to send and receive IS-IS message.
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
state no present
  • present
  • absent
Desired state of the vlan
look_for_keys no False Whether searching for discoverable private key files in ~/.ssh/


# create sisi 4 and releated params.
- comware_isis_interface: name=vlan-interface30 isisID=4 level=2 networkType=p2p cost=5 routerid=level-2 silent=true state=present
                username={{ username }} password={{ password }} hostname={{ inventory_hostname }}

# delete isis 4
- comware_isis_interface: name=vlan-interface30 isisID=4 level=2 networkType=p2p cost=5 routerid=level-2 silent=true state=absent
                username={{ username }} password={{ password }} hostname={{ inventory_hostname }}