ALTER NETWORK INTERFACE

Lets you rename a network interface.

Syntax

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

Parameters

network-interface-name

The name of the existing network interface.

new-network-interface-name

The new name for the network interface.

Privileges

Superuser

Examples

This example shows how to rename a network interface.

=> ALTER NETWORK INTERFACE myNetwork RENAME TO myNewNetwork;