Added in version 1.0
Manage routed and bridged aggregation configurations on Comware 7devices. This includes physical interface configs for LACP.
parameter | required | default | choices | comments |
---|---|---|---|---|
group | yes | Group number to identify the Aggregate interface | ||
members | no | COMPLETE Interface List that should be in the agg group. Full names should be used AND Interface names ARE case sensitive. For example, FortyGigE1/0/1 should NOT be written as fortygige1/0/1. This is for safety. | ||
mode | no | dynamic |
|
Mode of the Aggregate interface.If you want to Configure the port rate as a condition for selecting the reference port first, require it. |
type | yes |
|
Type of the Aggregate interface (L2 or L3) | |
lacp_mode | no | active |
|
If mode is set to LACP, the type operating mode can be selected. This mode will then be set for all members in the group. |
hash_mode | no | -Hash mode for the agg group. some mode cannot config use netconfig,like 'flexible' and 'per-packet'. | ||
min_ports | no | Minimum number of selected ports for the agg group | ||
max_ports | no | Maximum number of selected ports for the agg group | ||
lacp_edge | no |
|
Determine if an LACP agg group should be an edge aggregate interface | |
s_mlag | no | Determine if add agg group into s_mlag group.If you want to collocate lacp system-mac, you must require it | ||
speed | no |
|
Configure the port rate as a condition for selecting the reference port first.The default state is port ID as a condition for selecting the reference port first.Before configure it, the agg group interface must be dynamic agg interface. | |
state | no | present |
|
Desired state for the interface 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/ |
# Portchannel config - comware_portchannel: group=100 members=HundredGigE1/0/3 mode=static type=bridged lacp_mode=active hash_mode=source-ip min_ports=2 max_ports=4 lacp_edge=enabled s_mlag=1 speed=enabled state=present username={{ username }} password={{ password }} hostname={{ inventory_hostname }} #delete config - comware_portchannel: group=100 members=HundredGigE1/0/3 mode=static type=bridged lacp_mode=active hash_mode=source-ip min_ports=2 max_ports=4 lacp_edge=enabled s_mlag=1 speed=enabled state=absent username={{ username }} password={{ password }} hostname={{ inventory_hostname }}
Note
When configuring a LAGG, the members param must be includedMembers is ALL membersit is ensuring that the members sentis the full list of all members. This means to remove a memberit just needs to be removed from the members list.When removing a LAGG, members is not requiredIf mode is set to static, lacp_edge and lacp_mode are disregardedif those params are set