The documentation set for this product strives to use bias-free language. For the purposes of this documentation set, bias-free is defined as language that does not imply discrimination based on age, disability, gender, racial identity, ethnic identity, sexual orientation, socioeconomic status, and intersectionality. Exceptions may be present in the documentation due to language that is hardcoded in the user interfaces of the product software, language used based on RFP documentation, or language that is used by a referenced third-party product. Learn more about how Cisco is using Inclusive Language.
This chapter describes the Cisco NX-OS Ethernet and virtual Ethernet commands that begin with I.
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 }
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. |
|
SVS connection configuration mode
|
|
---|---|
This example shows how to install a certificate to the boot flash memory:
This example shows how to remove a certificate:
|
|
---|---|
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
|
|
---|---|
Note The Cisco virtual machine feature is supported only on the Cisco Nexus 5500 Series switches.
This example shows how to install the Cisco virtual machine feature set on the switch:
|
|
---|---|
Enables or disables Cisco Virtual Machine Fabric Extender (VM-FEX) on the switch. |
|
Enables the Cisco virtual machine feature set on the switch. |
|
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 ]
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. |
No VLANs are mapped to any MST instance (all VLANs are mapped to the CIST instance).
|
|
---|---|
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.
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
|
|
---|---|
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
|
|
---|---|
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)#
|
|
---|---|
Displays all configured Fabric Extender chassis connected to the switch. |
|
Displays various parameters of an Ethernet IEEE 802.3 interface. |
|
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]}
Global configuration mode
Interface configuration mode
|
|
---|---|
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.
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)#
|
|
---|---|
Displays all configured Fabric Extender chassis connected to the switch. |
|
Displays various parameters of an Ethernet IEEE 802.3 interface. |
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.
|
|
---|---|
Use the interface loopback command to create or modify loopback interfaces.
From the loopback interface configuration mode, the following parameters are available:
This example shows how to create a loopback interface:
|
|
---|---|
Displays information about the traffic on the specified loopback interface. |
To enter the management interface configuration mode, use the interface mgmt command.
|
|
---|---|
This example shows how to enter the management interface configuration mode:
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 ]
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. |
Global configuration mode
Interface configuration mode
|
|
---|---|
A port can belong to only one channel group.
When you use the interface port-channel command for Layer 2 interfaces, follow these guidelines:
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.
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:
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,...]
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. |
|
|
---|---|
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.
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)#
|
|
---|---|
Displays various parameters of a virtual Ethernet interface. |
|
Sets the default policy to enable auto creation of virtual Ethernet interfaces. |
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.
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. |
|
|
---|---|
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.
This example shows how to create a VLAN interface for VLAN 50:
|
|
---|---|
Displays information about the traffic on the specified VLAN interface. |
To enable Internet Group Management Protocol (IGMP), use the ip igmp snooping command. To disable IGMP snooping, use the no form of this command.
Note If the global setting is disabled, then all VLANs are treated as disabled, whether they are enabled or not.
|
|
---|---|
This example shows how to enable IGMP snooping:
|
|
---|---|
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
Parameter to configure. See the “Usage Guidelines” section for additional information. |
|
|
---|---|
Table 1 lists the valid values for parameter.
This example shows how to configure IGMP snooping parameters for VLAN 5:
|
|
---|---|