I Commands
This chapter describes the Cisco NX-OS Ethernet and virtual Ethernet commands that begin with I.
install certificate
To install a certificate that is used to connect to a vCenter Server, use the install certificate command. To remove a certificate, use the no form of this command.
install certificate { bootflash: [// server /] | default }
Syntax Description

Specifies the source or destination URL for boot flash memory to install the certificate. The server argument value is module-1, sup-1, sup-active, or sup-local. |
|
Command Default

Command Modes

SVS connection configuration mode
Command History

|
|
---|---|
Usage Guidelines

Examples

This example shows how to install a certificate to the boot flash memory:
This example shows how to remove a certificate:
Related Commands

|
|
---|---|
install feature-set virtualization
To install the Cisco virtual machine feature set on the switch, use the install feature-set virtualization command. To remove the Cisco virtual machine feature set, use the no form of this command.
install feature-set virtualization
no install feature-set virtualization
Syntax Description

Command Default

Command Modes

Command History

|
|
---|---|
Usage Guidelines


Note The Cisco virtual machine feature is supported only on the Cisco Nexus 5500 Series switches.
Examples

This example shows how to install the Cisco virtual machine feature set on the switch:
Related Commands

|
|
---|---|
Enables or disables Cisco Virtual Machine Fabric Extender (VM-FEX) on the switch. |
|
Enables the Cisco virtual machine feature set on the switch. |
|
instance vlan
To map a VLAN or a set of VLANs to a Multiple Spanning Tree instance (MSTI), use the instance vlan command. To delete the instance and return the VLANs to the default instance (Common and Internal Spanning Tree [CIST]), use the no form of this command.
instance instance-id vlan vlan-id
no instance instance-id [ vlan vlan-id ]
Syntax Description

Instances to which the specified VLANs are mapped. The range is from 0 to 4094. |
|
Specifies the number of the VLANs that you are mapping to the specified MSTI. The VLAN ID range is from 1 to 4094. |
Command Default

No VLANs are mapped to any MST instance (all VLANs are mapped to the CIST instance).
Command Modes

Command History

|
|
---|---|
Usage Guidelines

The VLAN identifier is entered as a single value or a range.
The mapping is incremental, not absolute. When you enter a range of VLANs, this range is added to or removed from the existing instances.
Any unmapped VLAN is mapped to the CIST instance.


Examples

This example shows how to map a range of VLANs to MSTI 4:
switch(config)#
spanning-tree mst configuration
switch(
config-mst)#
instance 4 vlan 100-200
Related Commands

|
|
---|---|
interface ethernet
To enter interface configuration mode for an Ethernet IEEE 802.3 interface, use the interface ethernet command.
interface ethernet [ chassis_ID /] slot /[ QSFP-module /] port
Syntax Description

Command Default

Command Modes

Command History

|
|
---|---|
Examples

This example shows how to enter configuration mode for Ethernet interface 1/4:
switch(config)#
interface ethernet 1/4
switch(config-if)#
This example shows how to enter configuration mode for a host interface on a Fabric Extender:
switch(config)#
interface ethernet 101/1/1
switch(config-if)#
Related Commands

|
|
---|---|
Displays all configured Fabric Extender chassis connected to the switch. |
|
Displays various parameters of an Ethernet IEEE 802.3 interface. |
|
interface ethernet (Layer 3)
To configure a Layer 3 Ethernet IEEE 802.3 routed interface, use the interface ethernet command.
interface ethernet [ chassis_ID /] {slot/[QSFP-module/]port[.subintf-port-no]}
Syntax Description

Command Default

Command Modes

Global configuration mode
Interface configuration mode
Command History

|
|
---|---|
Usage Guidelines

You must use the no switchport command in the interface configuration mode to configure the interface as a Layer 3 routed interface. When you configure the interface as a Layer 3 interface, all Layer 2 specific configurations on this interface are deleted.
Use the switchport command to convert a Layer 3 interface into a Layer 2 interface. When you configure the interface as a Layer 2 interface, all Layer 3 specific configurations on this interface are deleted.
Examples

This example shows how to enter configuration mode for a Layer 3 Ethernet interface 1/5:
switch(config)#
interface ethernet 1/5
switch(config-if)#
no switchport
switch(config-if)#
ip address 10.1.1.1/24
switch(config-if)#
This example shows how to configure a Layer 3 subinterface for Ethernet interface 1/5 in the global configuration mode:
switch(config)#
interface ethernet 1/5.2
switch(config-if)#
no switchport
switch(config-subif)#
ip address 10.1.1.1/24
switch(config-subif)#
This example shows how to configure a Layer 3 subinterface in interface configuration mode:
switch(config)#
interface ethernet 1/5
switch(config-if)#
no switchport
switch(config-if)#
interface ethernet 1/5.1
switch(config-subif)#
ip address 10.1.1.1/24
switch(config-subif)#
This example shows how to convert a Layer 3 interface to a Layer 2 interface:
switch(config)#
interface ethernet 1/5
switch(config-if)#
no switchport
switch(config-if)#
ip address 10.1.1.1/24
switch(config-if)#
switchport
switch(config-if)#
Related Commands

|
|
---|---|
Displays all configured Fabric Extender chassis connected to the switch. |
|
Displays various parameters of an Ethernet IEEE 802.3 interface. |
interface loopback
To create a loopback interface and enter interface configuration mode, use the interface loopback command. To remove a loopback interface, use the no form of this command.
Syntax Description

Command Default

Command Modes

Command History

|
|
---|---|
Usage Guidelines

Use the interface loopback command to create or modify loopback interfaces.
From the loopback interface configuration mode, the following parameters are available:
- description —Provides a description of the purpose of the interface.
- ip —Configures IP features, such as the IP address for the interface, Address Resolution Protocol (ARP) attributes, load balancing, Unicast Reverse Path Forwarding (RPF) or IP Source Guard.
- logging —Configure logging of events.
- shutdown —Shut down traffic on the interface.
Examples

This example shows how to create a loopback interface:
Related Commands

|
|
---|---|
Displays information about the traffic on the specified loopback interface. |
interface mgmt
To enter the management interface configuration mode, use the interface mgmt command.
Syntax Description

Command Default

Command Modes

Command History

|
|
---|---|
Examples

This example shows how to enter the management interface configuration mode:
Related Commands

interface port-channel
To create an EtherChannel interface and enter interface configuration mode, use the interface port-channel command. To remove an EtherChannel interface, use the no form of this command.
interface port-channel channel-number [. subintf-channel-no ]
no interface port-channel channel-number [. subintf-channel-no ]
Syntax Description

Channel number that is assigned to this EtherChannel logical interface. The range is from 1 to 4096. |
|
(Optional) Port number of the EtherChannel subinterface. The range is from 1 to 4093. |
Command Default

Command Modes

Global configuration mode
Interface configuration mode
Command History

|
|
---|---|
Usage Guidelines

A port can belong to only one channel group.
When you use the interface port-channel command for Layer 2 interfaces, follow these guidelines:
- If you are using CDP, you must configure it only on the physical interface and not on the EtherChannel interface.
- If you do not assign a static MAC address on the EtherChannel interface, a MAC address is automatically assigned. If you assign a static MAC address and then later remove it, the MAC address is automatically assigned.
- The MAC address of the EtherChannel is the address of the first operational port added to the channel group. If this first-added port is removed from the channel, the MAC address comes from the next operational port added, if there is one.
You must use the no switchport command in the interface configuration mode to configure the EtherChannel interface as a Layer 3 interface. When you configure the interface as a Layer 3 interface, all Layer 2 specific configurations on this interface are deleted.
Use the switchport command to convert a Layer 3 EtherChannel interface into a Layer 2 interface. When you configure the interface as a Layer 2 interface, all Layer 3 specific configurations on this interface are deleted.
You can configure one or more subinterfaces on a port channel made from routed interfaces.
Examples

This example shows how to create an EtherChannel group interface with channel-group number 50:
This example shows how to create a Layer 3 EtherChannel group interface with channel-group number 10:
This example shows how to configure a Layer 3 EtherChannel subinterface with channel-group number 1 in interface configuration mode:
This example shows how to configure a Layer 3 EtherChannel subinterface with channel-group number 20.1 in global configuration mode:
Related Commands

interface vethernet
To enter interface configuration mode for a virtual Ethernet (vEth) interface, use the interface vethernet command. To remove a virtual Ethernet interface, use the no form of this command.
interface vethernet veth-id [, vethernet veth-id,...]
no interface vethernet veth-id [, vethernet veth-id,...]
Syntax Description

Virtual Ethernet interface number. The range is from 1 to 1,048,575. You can specify more than one virtual Ethernet interface. Make sure you use the comma (,) separator. |
Command Default

Command Modes

Command History

|
|
---|---|
Usage Guidelines

Before you use a virtual Ethernet interface, you must enable the Cisco Virtual Machine Fabric Extender (VM-FEX) on the switch by using the feature vmfex command.
You must configure a virtual Ethernet interface on each switch. The configuration in the secondary switch must be identical to that of the primary switch.
You can create a maximum of 1000 virtual Ethernet interfaces on a Cisco Nexus 5548 switch. Before you disable Adapter-FEX on the switch, make sure that you delete these interfaces. After you delete a virtual Ethernet interface, make sure that you save the running configuration of the switch to the startup configuration file.
Examples

This example shows how to enter configuration mode for virtual Ethernet interface 10:
switch(config-if)#
This example shows how to enter configuration mode for multiple virtual Ethernet interfaces:
switch(config-if-range)#
This example shows how to bind an interface, configure a vEthernet access interface, assign the access VLAN for that interface, and then assign a port profile named ppVEth, and a class of service (CoS) value 3 to a virtual Ethernet interface:
This example shows how to remove a virtual Ethernet interface:
switch(config)#
Related Commands

|
|
---|---|
Displays various parameters of a virtual Ethernet interface. |
|
Sets the default policy to enable auto creation of virtual Ethernet interfaces. |
interface vlan
To create a VLAN interface and enter interface configuration mode, use the interface vlan command. To remove a VLAN interface, use the no form of this command.
Syntax Description

VLAN to set when the interface is in access mode; valid values are from 1 to 4094, except for the VLANs reserved for the internal switch use. |
Command Default

Command Modes

Command History

|
|
---|---|
Usage Guidelines

Before you use this command, enable the interface-vlan feature by using the feature interface-vlan command.
Use the interface vlan command to create or modify VLAN interfaces.
The VLAN interface is created the first time that you enter the interface vlan command for a particular VLAN. The vlan-id argument corresponds to the VLAN tag that is associated with the data frames on an IEEE 802.1Q-encapsulated trunk, or the VLAN ID that is configured for an access port.
Examples

This example shows how to create a VLAN interface for VLAN 50:
Related Commands

|
|
---|---|
Displays information about the traffic on the specified VLAN interface. |
ip igmp snooping (EXEC)
To enable Internet Group Management Protocol (IGMP), use the ip igmp snooping command. To disable IGMP snooping, use the no form of this command.
Syntax Description

Command Default


Note If the global setting is disabled, then all VLANs are treated as disabled, whether they are enabled or not.
Command Modes

Command History

|
|
---|---|
Examples

This example shows how to enable IGMP snooping:
Related Commands

|
|
---|---|
ip igmp snooping (VLAN)
To configure Internet Group Management Protocol (IGMP) on a VLAN, use the ip igmp snooping command. To negate the command or return to the default settings, use the no form of this command
Syntax Description

Parameter to configure. See the “Usage Guidelines” section for additional information. |
Command Default

Command Modes

Command History

|
|
---|---|
Usage Guidelines

Table 1 lists the valid values for parameter.
Examples

This example shows how to configure IGMP snooping parameters for VLAN 5:
Related Commands

|
|
---|---|