Can an interface group (IFGRP) be modified after it is created?
Applies to
ONTAP 9
Answer
- Only member ports of an IFGRP can be modified (added/removed) after it is created
- An IFGRP must be deleted and re-created to change the mode or distribution function
- Move any lifs away from the ifgrp (ifgrp cannot be deleted with lifs hosted on it)
- Delete any vlans on the ifgrp (ifgrp cannot be deleted if it contains vlans)
network port vlan delete -node <node> -vlan-name <ifgrp-vlan>
- To remove/delete the existing IFGRP:
network port ifgrp delete -node <node> -ifgrp <ifgrp>
- To recreate the IFGRP:
network port ifgrp create -node <node> -ifgrp <ifgrp> -distr-func <function> -mode <mode>
- Distribution function:
- mac - Network traffic is distributed based on MAC addresses
- ip - Network traffic is distributed based on IP addresses
- sequential - Network traffic is distributed in round-robin fashion from the list of configured, available ports
- port - Network traffic is distributed based on the transport layer (TCP/UDP) ports
- Mode:
- multimode - Bundle multiple member ports of the interface group to act as a single trunked port
- multimode_lacp - Bundle multiple member ports of the interface group using Link Aggregation Control Protocol
- singlemode - Provide port redundancy using member ports of the interface group for failover
- Distribution function:
- Port(s) need to be added to the new IFGRP:
network port ifgrp add-port -node <node> -ifgrp <ifgrp> -port <port>
- Move lifs back to the recreated ifgrp