Skip to content

Latest commit

 

History

History
131 lines (107 loc) · 5.03 KB

comware_vsi_intf_module.rst

File metadata and controls

131 lines (107 loc) · 5.03 KB

comware_vsi_intf

Added in version 1.8

Configure some functions of vsi-interface

parameter required default choices comments
vsi_intf yes The vsi interface view to config
binding no Bind the interface with a VPN instance
macaddr no config MAC address information
local_proxy no
  • nd
  • arp
Enable local proxy ARP or ND function
distribute_gateway no
  • local
Specify the VSI interface as a distributed gateway
state no present
  • present
  • absent
Desired state for the interface configuration
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/


  # - name:  config vsi
# comware_vsi_intf: vsi_intf=Vsi-interface1 binding=vpna macaddr=201a-101a-40fa  local_proxy=arp \
distribute_gateway=local username={{ username }} password={{ password }} hostname={{ inventory_hostname }}

Note

l2vpn needs to enbled before config vsi view.vsi_intf must be vsi interface type , the module is only used for config vsi interface.If you want to bind a interface with VPN instance, the VPN instance must be already exist.