ALTER NETWORK INTERFACE

Lets you rename a network interface.

Syntax

ALTER NETWORK INTERFACE network-interface-name RENAME TO new-network-interface-name

The parameters are defined as follows:

network-interface-name

The name of the existing network interface.

new-network-interface-name

The new name for the network interface.

Privileges

Must be a superuser to alter a network interface.

Examples

This example shows how to rename a network interface.

=> ALTER NETWORK INTERFACE myNetwork RENAME TO myNewNetwork;