network interface delete

This command disables a network interface and deletes its current configuration.

NOTE    

>You cannot delete an interface that is a member of an active bond; this command will not proceed. See network interface bonding.

>Running this command changes the interface state and causes the ctc service to restart (see Crypto Traffic Controller for QoS).

User Privileges

Users with the following privileges can perform this command:

>Admin

>Operator

Syntax

network interface delete -device <netdevice> [-force]

Argument(s) Shortcut Description
-device <netdevice> -d

Specifies the network device to delete.

Valid values: eth0, eth1, eth2, eth3

-force -f Specify -force if the interface you are deleting has the default route, and you wish to proceed without being prompted for confirmation. When the interface being deleted does not have the default route, no confirmation is prompted; there is no need to include the -force option.

Example

lunash:>network interface delete -device eth1

Command Result : 0 (Success)