The vNIC name shown in the display is a logical interface that the Cisco CSR 1000v uses to map to the
interface on the hypervisor. It does not always map to the corresponding NIC name added during the VM
installation. For example, the logical
“
eth1
”
vNIC name in the display may not necessarily map to
“
NIC1
”
that
was added in the VM installation process.
It is important that you verify the interface mapping before you begin configuring the Gigabit Ethernet
network interfaces on the Cisco CSR 1000v. This ensures that the network interface configuration will
apply to the correct physical MAC address interface on the VM host.
Caution
If you reboot the router and do not add or delete any vNICs, the interface mapping remains the same as before.
If you reboot the router and delete vNICs, special care must be taken to ensure that the configuration for the
remaining interfaces remains intact. For more information, see
Adding and Deleting Network Interfaces on
the Cisco CSR 1000v, on page 215
.
In Cisco IOS XE Release 3.10S and earlier, the first vNIC added is automatically mapped to the
GigabitEthernet0 management interface. All subsequent vNICs added are mapped to router interfaces.
Support for the GigabitEthernet0 interface was removed in Cisco IOS XE Release 3.11S.
Note
Adding and Deleting Network Interfaces on the Cisco CSR 1000v
The Cisco CSR 1000v maps the router GigabitEthernet interfaces to the logical vNIC name assigned by the
VM, which in turn is mapped to a MAC address on the VM host. You can add or delete vNICs on the VM to
add or delete GigabitEthernet interfaces on the Cisco CSR 1000v. You can add vNICs while the router is
active.
To delete a vNIC from the VM, you must first power down the VM. If you delete any vNICs, the router must
be rebooted. For more information about adding and deleting vNICs, see the
.
If you remove a vNIC without first updating the Cisco CSR 1000v network interface configuration, you
risk a configuration mismatch when the router reboots. When the router reboots and a vNIC has been
removed, the remaining logical vNIC names could get reassigned to different MAC addresses. As a result,
the GigabitEthernet network interfaces on the Cisco CSR 1000v can be reassigned to different physical
interfaces on the hypervisor.
Caution
Before you add or delete network interfaces, first verify the interface-to-vNIC mapping using the
show
platform software vnic-if interface-mapping
command.
csr1000v# show platform software vnic-if interface-mapping
--------------------------------------------------------------------------
Interface Name
Driver Name
Mac Addr
--------------------------------------------------------------------------
GigabitEthernet3
vmxnet3
000c.2946.3f4d
GigabitEthernet2
vmxnet3
0050.5689.0034
GigabitEthernet1
vmxnet3
0050.5689.000b
GigabitEthernet0
vmxnet3
000c.2946.3f4d
--------------------------------------------------------------------------
After adding or deleting network interfaces on the VM, always verify the new interface-to-vNIC mapping
before making configuration changes to the network interfaces. The following example shows the interface
Cisco CSR 1000v Series Cloud Services Router Software Configuration Guide
215
Mapping Cisco CSR 1000v Network Interfaces to VM Network Interfaces
Adding and Deleting Network Interfaces on the Cisco CSR 1000v