Deactivating and removing an interface

SUSE Linux Enterprise Server 15 SP5 z/VM guest

Use ip or an equivalent command to deactivate an interface.

About this task

Issue a command of this form:
# ip link set dev <interface> down
where <interface> is the name of the interface to be deactivated.

You can remove the interface and its corresponding IUCV device by writing the interface name to the NETIUCV device driver's remove attribute. Issue a command of this form:

# echo <interface> > /sys/bus/iucv/drivers/netiucv/remove

where <interface> is the name of the interface to be removed. The interface name is of the form iucv<n>.

After the interface has been removed the interface name can be assigned again as interfaces are activated.

Example

This example deactivates and removes an interface iucv0 and its corresponding IUCV device:
# ip link set dev iucv0 down
# echo iucv0 > /sys/bus/iucv/drivers/netiucv/remove