The documentation set for this product strives to use bias-free language. For the purposes of this documentation set, bias-free is defined as language that does not imply discrimination based on age, disability, gender, racial identity, ethnic identity, sexual orientation, socioeconomic status, and intersectionality. Exceptions may be present in the documentation due to language that is hardcoded in the user interfaces of the product software, language used based on RFP documentation, or language that is used by a referenced third-party product. Learn more about how Cisco is using Inclusive Language.
This chapter describes the Cisco Nexus Virtual Services Appliance commands that begin with the letter N.
To assign a native VLAN to a port channel interface , use the native VLAN command.
native vlan id
id |
The ID of the native VLAN. |
None
Interface configuration (config-if)
network-admin
|
|
4.2(1)SP1(4) |
This command was introduced. |
This example shows how to assign a native VLAN to an interface:
n1010#
configure terminal
n1010(config)# interface Gigabitethernet1
n1010(config)#
native vlan 346
n1010(config-if)#
|
|
---|---|
show network summary |
Displays summary information of the network uplink. |
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| flexible}
no network-uplink type
None
Global configuration (config)
network-admin
|
|
4.2(1)SP1(4) |
The flexible option was introduced. |
4.0(4)SP1(1) |
This command was introduced. |
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)#
This example shows how to configure the flexible network uplink type:
n1010# configure terminal
n1010(config)# network-uplink type flexible
n1010(config)#
|
|
---|---|
show network-uplink type |
Displays the uplink configuration. |
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}
None
Global configuration (config)
network-admin
|
|
4.0(4)SP1(1) |
This command was introduced. |
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.
This example shows how to manually configure remote management for the primary Cisco Nexus 1010:
n1010#
configure terminal
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#
configure terminal
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
|
|
---|---|
show run config |
Displays the running configuration. |
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
This command has no arguments or keywords.
Enabled
Global configuration (config)
network-admin
|
|
4.0(4)SP1(1) |
This command was introduced. |
This example shows how to enable NTP:
n1010#
ntp enable
This example shows how to disable NTP:
n1010#
no ntp enable
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]
None
Global configuration (config)
network-admin
|
|
4.0(4)SP1(1) |
This command was introduced. |
This example shows how to configure an NTP peer:
n1010(
config)#
ntp peer 192.0.2.2
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]
None
Global configuration (config)
network-admin
|
|
4.0(4)SP1(1) |
This command was introduced. |
This example shows how to configure an NTP server:
n1010(
config)#
ntp server 192.0.2.2
|
|
---|---|
ntp enable |
Enables NTP |
ntp source |
Configures the NTP source. |
show ntp peers |
Displays all NTP peers. |
show ntp peer-status |
Displays the status for all NTP servers and peers. |
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
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. |
None
Global configuration (config)
network-admin
|
|
4.0(4)SP1(1) |
This command was introduced. |
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
|
|
---|---|
ntp enable |
Enables NTP. |
ntp server |
Configures an NTP server. |
show ntp peers |
Displays all NTP peers. |
show ntp peer-status |
Displays the status for all NTP servers and peers. |
To configure the virtual CPUs for a virtual service, use the numcpu command.
numcpu cpu-number
cpu-number |
Number of CPU. The range is from 1 to 10. |
None
Virtual service blade configuration (config-vsb-config)
network-admin
|
|
4.0(4)SP1(1) |
This command was introduced. |
This example shows how to allocate 5 virtual CPU to VSM-1:
n1010#
configure terminal
n1010(
config)#
virtual-service-blade VSM-1
n1010(config-vsb-
config)#
numcpu 5