Delete an IP interface


Access mode

config

Syntax

no vSwitch-name vRouter-name ip interface

Arguments

Field Name Description
ifName IfName The name of the interface to which you want to assign an IP address (the interface that connects to the IP instance). This could be either vlan.x, lag.x, eth.x.x, loopback, or ip.vSwitch:vRouter. If the interface does not already exist, the system returns an error.
adminState enumeration Optional: The administrative (manually configured) status of the interface.

The default setting is "enabled".

Valid values: enabled, disabled
eventFilter enumeration Optional: The event filter level set for the interface.

The default setting is "informational".

Valid values:
  • emergency : The system detected a serious problem; further operation can cause damage.
  • alert : The system detected a problem that requires operator attention.
  • critical : The system software detected a critical problem requiring a restart.
  • error : The system detected a significant problem, but continues operating.
  • warning : The system detected a problem, but was able to recover.
  • notice : The system detected normal activity, but event was generated for review.
  • informational : The system detected a normal operational activity.
  • debug : The system detected normal operational activities and unexpected events.
linkUpDownTrap enumeration Optional: Specifies if link up/down SNMP traps should be sent on the interface.

The default setting is "enabled".

Valid values:
  • enabled : Link up/down trap enabled.
  • disabled : Link up/down trap disabled.
status enumeration The operational state of the interface.

Valid values:
  • up : The interface is operational.
  • down : The interface is not operational.
  • testing : Interface attempting to come up; verifying configuration.
  • unknown : The interface is not in any of the listed states.
  • dormant : Interface is uninitialized; configuration database/hardware not synchronized.
type enumeration The interface type.

Valid values:
  • OTHER : Unspecified interface.
  • ethernet : Ethernet interface.
  • rs232 : RS232 interface.
  • sonet : SONET interface.
  • hssi : HSSI interface.
  • fastEther : Fast Ethernet (copper) interface.
  • fastEtherFX : Fast Ethernet (fiber) interface.
  • gigEther : Gigabit Ethernet interface.
  • ip : IP interface.
  • tunnel : Tunnel interface.
  • l2vlan : VLAN interface.
  • l3ipvlan : VLAN interface.
  • ipForward : IP forwarding interface.
  • mplsTunnel : MPLS tunnel interface.
  • rfc1483 : RFC 1483 interface.
  • etherLag : Ethernet LAG interface.
mtu integer Optional: The Maximum Transmission Unit (MTU) of the interface. This is the maximum length, in number of bytes, of a packet transmitted over this interface. Packets are fragmented to this size. Can only be modified on IP interfaces.

Valid values are from 576 to 9000; the default setting is "1500".
speed integer The speed of the interface. This value is derived from the speed of the Ethernet port (at the bottom of the stack) that is connected to this interface.
physAddress macAddress The Layer 2 physical address (the MAC address) of the IP interface. The system associates this address with the interface displayed. Any interface that does not have a physical address associated with it, for example a virtual LAN (VLAN), displays N/A in this field.
lastChange integer The value, in ticks, of the sysUpTime variable at the time of the last change to the interface. This could be a change to the configuration, or in the administrative state or operational status. If the field displays 0, there have been no changes to the IP instance since the last system reboot.
packetTrace enumeration Optional: The setting for the packet trace capability. When enabled, the system sends debug messages relating to packets moving through the system. Because of the large amount of data generated by setting this variable, you should only enable it when you want to debug your network by verifying where packets are going in the system.

The default setting is "disabled".

Valid values: enabled, disabled
description text Optional: The text string you assigned to the interface. You can use this value to identify a interface name (for example, vlan.10) with a meaningful description.

The default setting is "".
ifIndex hexUInt The system-assigned interface name, in hexadecimal.