N Commands
This chapter describes the Cisco Nexus 1000V commands that begin with the letter N.
name
To name a VLAN, use the name command. To remove a VLAN name, use the no form of this command.
Syntax Description
Defaults
Command Modes
VLAN configuration (config-vlan)
Command History
|
|
Examples
This example shows how to name a VLAN:
Related Commands
|
|
---|---|
network-segment policy
To create a network segmentation policy, use the network-segment policy command. To remove a network segmentation policy, use the no form of this command.
no network-segment policy name
Syntax Description
Name of the network segmentation policy. The policy name can be up to 80 characters and must be unique for each policy on the network segmentation manager. |
Defaults
Command Modes
Command History
|
|
Usage Guidelines
Examples
This example shows how to create a network segmentation policy ABC:
Related Commands
|
|
---|---|
ntp enable
To enable NTP, use the ntp enable command. To disable, use the no command form.
Syntax Description
Defaults
Command Modes
Command History
|
|
Examples
This example shows how to enable NTP:
n1000v#
ntp enable
This example shows how to disable NTP:
n1000v#
no
ntp enable
Related Commands
|
|
---|---|
ntp peer
To do configure the Network Time Protocol 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
(Optional) Specifies the virtual routing and forwarding (VRF) used to reach this peer. |
Defaults
Command Modes
Command History
|
|
Examples
This example shows how to configure an NTP peer:
n1000v(
config)#
ntp peer 192.0.2.2
Related Commands
|
|
---|---|
ntp server
To do configure a Network Time Protocol 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
(Optional) Specifies the virtual routing and forwarding (VRF) used to reach this peer. |
Defaults
Command Modes
Command History
|
|
Examples
This example shows how to configure an NTP server:
n1000v(
config)#
ntp server 192.0.2.2
Related Commands
|
|
---|---|
ntp source
To do configure the Network Time Protocol source, use the ntp source command. To remove the NTP source, use the no form of this command.
Syntax Description
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
Command Modes
Command History
|
|
Examples
This example shows how to configure the NTP source:
n1000v(
config)#
ntp source 192.0.2.3
This example shows how to remove the NTP source:
n1000v(
config)#
no ntp source 192.0.2.3
Related Commands
|
|
---|---|