N Commands
This chapter describes the Cisco Nexus 1010 commands that begin with the letter N.
network-uplink type
To change the uplink type for the Cisco Nexus 1010, use the network-uplink type command. To remove the configuration and set the uplink type to the default, use the no form of this command.
network-uplink type {1 | 2 | 3 | 4}
no network-uplink type
Syntax Description
Defaults
None
Command Modes
Global configuration (config)
network-admin
Command History
|
|
4.0(4)SP1(1) |
This command was introduced. |
Examples
This example shows how to configure the network uplink type so that ports 1 and 2 carry all management, control, and data VLANs:
n1010# configure terminal
n1010(config)# network-uplink type 1
n1010(config)#
This example shows how to remove the configuration and set the network uplink type to the default:
n1010# configure terminal
n1010(config)# no network-uplink type 1
n1010(config)#
Related Commands
|
|
---|---|
show network-uplink type |
Displays the uplink configuration. |
nexus1010-system remote-mgmt
To create the remote management configuration, use the nexus1010-system remote-mgmt command. To remove the remote management configuration, use the no command form.
nexus1010-system remote-mgmt {primary | secondary} ip ipaddr username username password password
no nexus1010-system remote-mgmt {primary | secondary}
Syntax Description
Defaults
None
Command Modes
Global configuration (config)
network-admin
Command History
|
|
4.0(4)SP1(1) |
This command was introduced. |
Usage Guidelines
Run the nexus1010-system remote-mgmt command to establish remote management to the primary and secondary Cisco Nexus 1010. You should also run this command when the CIMC configuration has changed. Before reconfiguring, run the no version of the command to reset the configuration..
Note Make sure the username and password match those of your CIMC credentials.
Examples
This example shows how to manually configure remote management for the primary Cisco Nexus 1010:
n1010#
config t
n1010(config)#
nexus1010-system remote-mgmt primary ip 172.23.231.89 username admin
password ABC2XYZ4
Note: User must ensure the login and password matches CIMC login credentials.
This example shows how to manually configure remote management a secondary Cisco Nexus 1010:
n1010(config)#
nexus1010-system remote-mgmt secondary ip 172.23.231.90 username admin
password ABC2XYZ4
Note: User must ensure the login and password matches CIMC login credentials.
This example shows how to remove the configuration on a primary Cisco Nexus 1010:
n1010#
config t
n1010(config)# no nexus1010-system remote-mgmt primary
This example displays the output of the remote management configuration:
n1010(config)#
show running-config | begin remote
nexus1010-system remote-mgmt primary ip 172.23.231.89 username admin password **
*************
nexus1010-system remote-mgmt secondary ip 172.23.231.90 username admin password
Related Commands
|
|
---|---|
show run config |
Displays the running configuration. |
ntp enable
To enable the Network Time Protocol (NTP), use the ntp enable command. To disable NTP, use the no command form.
ntp enable
no ntp enable
Syntax Description
This command has no arguments or keywords.
Defaults
Enabled
Command Modes
Global configuration (config)
network-admin
Command History
|
|
4.0(4)SP1(1) |
This command was introduced. |
Examples
This example shows how to enable NTP:
n1010#
ntp enable
This example shows how to disable NTP:
n1010#
no ntp enable
Related Commands
ntp peer
To configure the Network Time Protocol (NTP) peer, use the ntp peer command. To remove the peer, use the no form of this command.
ntp peer host [prefer] [use-vrf vrf]
no ntp peer host [prefer] [use-vrf vrf]
Syntax Description
Defaults
None
Command Modes
Global configuration (config)
network-admin
Command History
|
|
4.0(4)SP1(1) |
This command was introduced. |
Examples
This example shows how to configure an NTP peer:
n1010(
config)#
ntp peer 192.0.2.2
Related Commands
ntp server
To configure a Network Time Protocol (NTP) server, use the ntp server command. To remove the server, use the no form of this command.
ntp server host [prefer] [use-vrf vrf]
no ntp server host [prefer] [use-vrf vrf]
Syntax Description
Defaults
None
Command Modes
Global configuration (config)
network-admin
Command History
|
|
4.0(4)SP1(1) |
This command was introduced. |
Examples
This example shows how to configure an NTP server:
n1010(
config)#
ntp server 192.0.2.2
Related Commands
|
|
---|---|
show ntp peers |
Displays all NTP peers. |
show ntp peer-status |
Displays the status for all NTP servers and peers. |
ntp enable |
Enables NTP |
ntp source |
Configures the NTP source. |
ntp source
To configure the Network Time Protocol (NTP) source, use the ntp source command. To remove the NTP source, use the no form of this command.
ntp source addr
no ntp source addr
Syntax Description
addr |
IPv4 or IPv6 address of the source. The IPv4 address format is dotted decimal, x.x.x.x. The IPv6 address format is hex A:B::C:D. |
Defaults
None
Command Modes
Global configuration (config)
network-admin
Command History
|
|
4.0(4)SP1(1) |
This command was introduced. |
Examples
This example shows how to configure the NTP source:
n1010(
config)#
ntp source 192.0.2.3
This example shows how to remove the NTP source:
n1010(
config)#
no ntp source 192.0.2.3
Related Commands
|
|
---|---|
show ntp peers |
Displays all NTP peers. |
show ntp peer-status |
Displays the status for all NTP servers and peers. |
ntp enable |
Enables NTP. |
ntp server |
Configures an NTP server. |
numcpu
To configure the virtual CPUs for a virtual service, use the numcpu command.
numcpu cpu-number
Syntax Description
cpu-number |
Number of CPU. The range is from 1 to 10. |
Defaults
None
Command Modes
Virtual service blade configuration (config-vsb-config)
network-admin
Command History
|
|
4.0(4)SP1(1) |
This command was introduced. |
Examples
This example shows how to allocate 5 virtual CPU to VSM-1:
n1010#
conf t
n1010(
config)#
virtual-service-blade VSM-1
n1010(config-vsb-
config)#
numcpu 5