Cisco Nexus 1010 Command Reference, Release 4.0(4)SP1(1)
N Commands
Downloads: This chapterpdf (PDF - 128.0KB) The complete bookPDF (PDF - 4.74MB) | Feedback

N Commands

Table Of Contents

N Commands

network-uplink type

ntp enable

ntp peer

ntp server

ntp source

numcpu


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

1

Specifies that ports 1 and 2 carry all management, control, and data VLANs.

2

Specifies that ports 1 and 2 carry management and control VLANs, and ports 3 through 6 carry data VLANs.

3

Specifies that ports 1 and 2 carry management VLANs, and ports 3 through 6 carry control and data VLANs.

4

Specifies that ports 1 and 2 carry management VLANs, ports 3 and 4 carry control VLANs, and ports 5 and 6 carry data VLANs.


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 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

Command
Description

show network-uplink type

Displays the uplink 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)

Supported User Roles

network-admin

Command History

Release
Modification

4.0(4)SP1(1)

This command was introduced.


Examples

This example shows how to enable NTP:

switch# ntp enable
 
   

This example shows how to disable NTP:

switch# no ntp enable
 
   

Related Commands

Command
Description

show ntp peers

Displays all NTP peers.

show ntp peer-status

Displays the status for all NTP servers and peers.

ntp server

Configures an NTP server.

ntp source

Configures the NTP source.


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

host

Hostname or IP address of the NTP peer.

prefer

(Optional) Specifies this peer as the preferred peer.

use-vrf vrf

(Optional) Specifies the virtual routing and forwarding (VRF) used to reach this peer.


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 configure an NTP peer:

switch(config)# ntp peer 192.0.2.2
 
   

Related Commands

Command
Description

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.

ntp source

Configures the NTP source.


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

host

Hostname or IP address of the NTP server.

prefer

(Optional) Specifies this server as the preferred server.

use-vrf vrf

(Optional) Specifies the virtual routing and forwarding (VRF) used to reach this peer.


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 configure an NTP server:

switch(config)# ntp server 192.0.2.2
 
   

Related Commands

Command
Description

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)

Supported User Roles

network-admin

Command History

Release
Modification

4.0(4)SP1(1)

This command was introduced.


Examples

This example shows how to configure the NTP source:

switch(config)# ntp source 192.0.2.3
 
   

This example shows how to remove the NTP source:

switch(config)# no ntp source 192.0.2.3
 
   

Related Commands

Command
Description

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)

Supported User Roles

network-admin

Command History

Release
Modification

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
 
   

Related Commands

Command
Description

virtual-service-blade

Creates the named virtual service and places you into configuration mode for that service.

ramsize

Modifies the memory allocated for RAM in the virtual service.

description

Adds a description to the virtual service.

show virtual-service-blade

Displays information about the virtual service blades.