Cisco Nexus 1010 Command Reference, Release 4.2(1)SP1(4)
I Commands
Downloads: This chapterpdf (PDF - 239.0KB) The complete bookPDF (PDF - 5.05MB) | Feedback

Table of Contents

I Commands

import

install nexus1010

interface mgmt

i nterface GigabitEthernet

i nterface PortChannel

i nterface VsbEthernet

i nterface uplink

ip address

I Commands

This chapter describes the Cisco Nexus 1010 commands that begin with the letter I.

import

To import a previously saved backup copy of a virtual service blade (VSB) from remote storage to the Cisco Nexus 1010, use the import command.

import [ primary | secondary ] filename

 
Syntax Description

primary

(Optional) The Cisco Nexus 1010 that was assigned the primary role.

secondary

(Optional) The Cisco Nexus 1010 that was assigned the secondary role.

filename

Import file name.

 
Defaults

None

 
Command Modes

Virtual service blade configuration (config-vsb-config)

 
Supported User Roles

network-admin

 
Command History

Release
Modification

4.2(1)SP1(3)

This command was introduced.

 
Usage Guidelines

If importing to a redundant pair of Cisco Nexus 1010s, you must specify whether importing to the primary or secondary.

You have verified that the bootflash: export-import directory is empty. If files are present in this directory, you must delete them before importing a VSB configuration file.

Before importing, you have copied the exported image file from remote storage into the Cisco Nexus 1010 export-import folder in the bootflash: repository.

Examples

This example shows how to import the image file Vdisk1.img.tar.00 to the primary VSB vsm-1 and power off the VSB:

n1010# configure terminal
n1010(config) virtual-service-blade vsm-1
n1010-1(config-vsb-config)# import primary Vdisk1.img.tar.00
Note: import started..
Note: please be patient..
Note: Import cli returns check VSB status for completion
n1010-1(config-vsb-config)#
 

 
Related Commands

Command
Description

export

Exports a VSB configuration file from the Cisco Nexus 1010.

show network

Displays information about the network.

show virtual-service-blade

Displays information about virtual services.

show virtual-service-blade-
type summary

Displays a summary of all virtual service configurations by type, such as Virtual Supervisor Module (VSM) or Network Analysis and Monitoring (NAM).

install nexus1010

To install management software for the Cisco Nexus 1010, use the install nexus1010 command.

install nexus1010 { bootflash: path }

 
Syntax Description

bootflash:

Specifies a path from the bootflash directory.

path

Full path to the image file (.iso)

 
Defaults

None

 
Command Modes

EXEC

 
Supported User Roles

network-admin

 
Command History

Release
Modification

4.0(4)SP1(1)

This command was introduced.

 
Usage Guidelines

You can view the available installation image files by using the dir command. For example:

n1010# dir bootflash:
n
77824 Mar 27 06:02:44 2010 accounting.log
16384 Mar 26 22:31:33 2010 lost+found/
5023 Jan 18 00:23:37 2009 mts.log
48346519 Jan 15 21:33:25 2001 nexus-1010-mzg.4.0.4.SP1.0.171.bin
4096 Jan 15 21:27:11 2001 repository/
 
Usage for bootflash://
308473856 bytes used
3682906112 bytes free
3991379968 bytes total
n1010# cd repository
n1010# dir
 
77824 Jan 24 05:02:49 2001 accounting.log
370 Jan 24 05:03:02 2001 cppa_mgr.log
16384 Jan 15 21:33:09 2001 lost+found/
1331914 Jan 15 21:33:21 2001 nexus-1010.4.0.4.SP1.0.197.iso
20971008 Jan 15 21:33:22 2001 nexus-1010-4.0.4.SP1.0.171.iso
 
 
Usage for bootflash://
308473856 bytes used
3682906112 bytes free
3991379968 bytes total
Nexus1010#

Examples

This example shows how to install management software for the Cisco Nexus 1010:

n1010# install nexus1010 bootflash:repository/nexus-1010.4.0.4.SP1.0.197.iso
cppa_mgr debug: Using URI: bootflash:/repository/nexus-1010.4.0.4.SP1.0.197.iso
Installing bootflash:/repository/nexus-1010.4.0.4.SP1.0.197.iso
.................................................................................
Installation complete.
Save configuration and restart for changes to take effect
 
n1010#
#

 
Related Commands

Command
Description

copy running-config startup-config

Copies the running configuration to the startup configuration.

dir

Displays the contents of a directory or file.

 

interface mgmt

To configure the management interface and enter interface configuration mode, use the interface management command.

interface mgmt0

 
Syntax Description

This command has no arguments or keywords.

 
Defaults

None

 
Command Modes

Global configuration (config)
Interface configuration (config-if)

 
Supported User Roles

network-admin

 
Command History

Release
Modification

4.0(4)SP1(1)

This command was introduced.

 
Usage Guidelines

Use the interface mgmt0 command to configure the management interface and to enter the interface configuration mode.

Examples

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

n1010(config)# interface mgmt0
n1010(config-if)#

 
Related Commands

Command
Description

interface loopback

Create and configures a loopback interface.

show interface brief

Displays a short version of the interface configuration.

interface GigabitEthernet

To configure the Gigabit Ethernet interface and enter the interface configuration mode, use the interface GigabitEthernet command.

interface GigabitEthernet id

 
Syntax Description

id

ID of the Gigabit Ethernet interface [intf-id].

 
Defaults

None

 
Command Modes

Interface configuration (config-if)

 
Supported User Roles

network-admin

 
Command History

Release
Modification

4.2(1)SP1(4)

This command was introduced.

Examples

This example shows how how to enter the interface configuration mode on GigabitEthernet4:

n1010# configure terminal
n1010(config)# interface GigabitEthernet4
n1010(config-if)#

 
Related Commands

Command
Description

show interface brief

Displays a short version of the interface configuration.

show interface ethernet

Displays information about the Ethernet interface.

show interface mgmt0

Displays information about the traffic on the management interface.

show interface vethernet

Displays information about the traffic on the specified virtual Ethernet interface.

interface PortChannel

To configure a port channel interface and enter the interface configuration mode, use the interface PortChannel command.

interface PortChannel id

 
Syntax Description

id

ID of the port channel interface [intf-id].

 
Defaults

None

 
Command Modes

Interface configuration (config-if)

 
Supported User Roles

network-admin

 
Command History

Release
Modification

4.2(1)SP1(4)

This command was introduced.

Examples

This example shows how how to enter the interface configuration mode on a port channel:

n1010# configure terminal
n1010(config)# interface PortChannel1
n1010(config-if)#

 
Related Commands

Command
Description

show interface brief

Displays a short version of the interface configuration.

show interface ethernet

Displays information about the Ethernet interface.

show interface mgmt0

Displays information about the traffic on the management interface.

show interface vethernet

Displays information about the traffic on the specified virtual Ethernet interface.

interface VsbEthernet

To configure the virtual service blade (VSB) Ethernet interface and enter interface configuration mode, use the interface VsbEthernet command.

interface VsbEthernet name

 
Syntax Description

name

Name of virtual service blade interfaceVsbEthernet [vb-id | intf-id].

 
Defaults

None

 
Command Modes

Global configuration (config)

 
Supported User Roles

network-admin

 
Command History

Release
Modification

4.2(1)SP1(3)

This command was introduced.

Examples

This example shows how how to enter the interface configuration mode on VsbEthernet 1/1/2:

n1010# configure terminal
n1010(config)# interface vsbEthernet 1/1/2
n1010(config-if)#

 
Related Commands

Command
Description

show interface brief

Displays a short version of the interface configuration.

show interface ethernet

Displays information about the Ethernet interface.

show interface mgmt0

Displays information about the traffic on the management interface.

show interface vethernet

Displays information about the traffic on the specified virtual Ethernet interface.

interface uplink

To assign an uplink to the virtual service blade (VSB) Ethernet interface , use the interface uplink command.

interface name uplink name

 
Syntax Description

name

Name of the uplink for the interface.

 
Defaults

None

 
Command Modes

VSB configuration (config-vsb-config)

 
Supported User Roles

network-admin

 
Command History

Release
Modification

4.2(1)SP1(4)

This command was introduced.

Examples

This example shows how to assign an uplink to VSB:

n1010# configure terminal
n1010(config-vsb-config)#interface control vlan 347
n1010(config-vsb-config)#interface control uplink PortChannel2
n1010(config-vsb-config)#
 
 

 
Related Commands

Command
Description

show network summary

Displays network summary information.

 

 

ip address

To create an IP route, use the ip address command. To remove an IP address, use the no form of this command.

ip address { address mask | prefix } { next-hop | next-hop-prefix | interface-type interface-number } [ tag tag-value | preference ]

no ip address { address mask | prefix } { next-hop | next-hop-prefix | interface-type interface-number } [ secondary | tag tag-value | preference ]

 
Syntax Description

address

IP address, in format A.B.C.D.

mask

IP network mask, in format A.B.C.D.

prefix

IP prefix and network mask length, in format A.B.C.D/LEN.

next-hop

IP next-hop address, in format A.B.C.D.

next-hop-prefix

IP next-hop prefix in format A.B.C.D./LEN.

interface-type

Interface type.

interface-number

Interface or subinterface number.

secondary

(Optional) Configures additional IP addresses on the interface.

tag

(Optional) Specifies a supply tag.

tag-value

Supply tag value. The range of valid values is from 0 to 4294967295. The default is 0.

preference

(Optional) Route preference.

 
Defaults

None

 
Command Modes

Global configuration (config)

 
Supported User Roles

network-admin

 
Command History

Release
Modification

4.0(4)SP1(1)

This command was introduced.

Examples

This example shows how to create an IP address:

n1010(config)# configure terminal
n1010(config)# ip address 209.165.200.225 255.255.255.224 x
n1010(config)#

 
Related Commands

Command
Description

show ip interface A.B.C.D.

Displays interfaces for local IP addresses.