I Commands
This chapter describes the Cisco Nexus Cloud Services Platform 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 Cloud Services Platform, use the
import
command.
import
[
primary
|
secondary
]
filename
Syntax Description
primary
|
(Optional) The Cisco Nexus Cloud Services Platform that was assigned the primary role.
|
secondary
|
(Optional) The Cisco Nexus Cloud Services Platform that was assigned the secondary role.
|
filename
|
Import file name.
|
Command Modes
Virtual service blade configuration (config-vsb-config)
network-admin
Command History
|
|
4.2(1)SP1(3)
|
This command was introduced.
|
Usage Guidelines
If importing to a redundant pair of Cisco Nexus Cloud Services Platforms, 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 Cloud Services Platform 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: please be patient.. Note: Import cli returns check VSB status for completion n1010-1(config-vsb-config)#
Related Commands
|
|
export
|
Exports a VSB configuration file from the Cisco Nexus Cloud Services Platform.
|
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 Cloud Services Platform, 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)
|
Command Modes
EXEC
network-admin
Command History
|
|
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:
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/ 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
Examples
This example shows how to install management software for the Cisco Nexus Cloud Services Platform:
n1010#
install nexus1010 bootflash:repository/nexus-1010.4.0.4.SP1.0.197.isocppa_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
.................................................................................
Save configuration and restart for changes to take effect
Related Commands
|
|
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.
Command Modes
Global configuration (config)
Interface configuration (config-if)
network-admin
Command History
|
|
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
Related Commands
|
|
interface loopback
|
Create and configures a loopback interface.
|
show interface brief
|
Displays a short version of the interface configuration.
|
interface name mode passthrough
To configure a VSB interface in passthrough mode, use the
interface mode passthrough
command.
interface name mode passthrough
Syntax Description
name
|
name of the interface to configure in the passthrough mode.
|
Command Modes
VSB Interface configuration (config-vsb-config)
network-admin
Command History
|
|
4.2(1)SP1(6.1)
|
This command was introduced.
|
Usage Guidelines
-
This command can be used only in a flexible topology.
-
Passthrough mode is currently available for VXLAN Gateway VSBs.
Examples
This example shows how to configure a VXLAN Gateway VSB in the passthrough mode:
switch(config)# virtual-service-blade VXGW
switch(config-vsb-config)# virtual-service-blade-type new vxgw.4.2.1.SV2.1.1 iso
Note: please be patient.
switch(config-vsb-config)# [no] interface vxgw_intf_1 uplink1 uplink Ethernet2
switch(config-vsb-config)#
switch(config-vsb-config)# interface vxgw_intf_2 uplink2 uplink Ethernet3
switch(config-vsb-config)
switch(config-vsb-config)# interface vxgw_intf_1 uplink1 mode passthrough
vxgw_intf_2 uplink2 mode passthrough
switch(config-vsb-config)
switch(config-vsb-config)#enable
Enter vsb image: [vxgw.4.2.1.SV2.1.1 iso]
Enter domain id[1-4095]: 4
Management IP version [V4/V6]:[V4]
Enter primary IP address: 10.105.234.50
Enter primary subnet mask: 255.255.255.224
IPv4 address of the default gateway: 10.105.234.33
Enter Hostname: vxgw
Enter the password for 'admin': pwd123
VSM L3 Ctrl IPv4 address: 10.105.234.53
VSM Primary MAC Address: 00:02:3d:78:c4:0c
Enter VSM uplink port-profile name: UPLINK-VXGW
Enter Encapsulation port-profile name: vxlangw-tvlan1495
Note: VSB installation is in progress, please use show virtual-service-blade commands to check the installation status.
switch(config-vsb-config)
Related Commands
|
|
virtual-service-blade-name name
|
Create and configures a loopback interface.
|
show network summary
|
Displays a summary of all VSBs inclduing the ones configured in passthrough mode.
|
interface <interface_name>
To configure the virtual service blade (VSB) interface type (such as VsbEthernet, Ethernet, PortChannel) and its ID, use the interface command. The interface command supports the auto complete type feature.
interface
intf_name
Syntax Description
intf_name
|
Name of the VSB Ethernet interface type VsbEthernet/Port channel/Ethernet.
|
Command Modes
Interface configuration (config-if)
network-admin
Command History
|
|
5.2(1)SP1(7.1)
|
This command was updated
|
4.2(1)SP1(4)
|
This command was introduced.
|
Examples
This example shows how to enter the interface configuration mode on Ethernet4:
n1010# configure terminal
n1010(config)#
interface Ethernet4
Related Commands
|
|
interface mgmt
|
Configures the management interface and enters into interface configuration mode.
|
show interface ethernet
|
Displays information about the Ethernet interface.
|
interface uplink
To assign an uplink to the VSB Ethernet interface, use the
interface uplink
command.
interface
name uplink name
Syntax Description
name
|
Name of the uplink for the interface.
|
Command Modes
VSB configuration (config-vsb-config)
network-admin
Command History
|
|
4.2(1)SP1(4)
|
This command was introduced.
|
Examples
This example shows how to assign an uplink to VSB:
n1010#
configure terminaln1010(config-vsb-config)#
interface control vlan 347n1010(config-vsb-config)#
interface control uplink PortChannel2n1010(config-vsb-config)#
Related Commands
|
|
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.
|
Command Modes
Global configuration (config)
network-admin
Command History
|
|
4.0(4)SP1(1)
|
This command was introduced.
|
Examples
This example shows how to create an IP address:
n1010(
config)#
configure terminaln1010(
config)#
ip address 209.165.200.225 255.255.255.224 x
Related Commands
|
|
show ip interface A.B.C.D.
|
Displays interfaces for local IP addresses.
|