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 1000V commands that begin with N.
To name a VLAN, use the name command. To remove a VLAN name, use the no form of this command.
VLAN configuration (config-vlan)
|
|
This example shows how to name a VLAN:
|
|
---|---|
To configure a BGP neighbor, use the neighbor <> command.
|
|
This example shows how to configure a BGP neighbor:
|
|
---|---|
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
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. |
|
|
This example shows how to create a network segmentation policy ABC:
|
|
---|---|
To disable feature l3security in Layer 3, use the no enable l3sec command.
|
|
This example shows how to disable feature l3security in Layer 3:
|
|
---|---|
To enable or disable BGP control protocol, use the [no] segment control-protocol bgp command.
[no] segment control-protocol bgp
|
|
This example shows how to enable or disable BGP control protocol globally and also per-bd:
To prevent the system from synchronizing with unauthenticated unconfigured network peers, use the ntp authenticate command. Use the no form of this command to allow synchronization with unauthenticated unconfigured network peers.
If the system has been configured with the ntp passive, ntp broadcast client, or ntp multicast client commands, when NTP receives an incoming symmetric active, broadcast, or multicast packet, it can set up an ephemeral peer association to synchronize with the sender.
If ntp authenticate is specified, when a symmetric active, broadcast, or multicast packet is received, the system does not synchronize to the peer unless the packet carries one of the authentication keys specified in the ntp trusted-key global configuration command.
To prevent synchronization with unauthorized network hosts, ntp authenticate should be specified any time ntp passive, ntp broadcast client, or ntp multicast client has been specified unless other measures, such as the ntp access-group command, have been taken to prevent unauthorized hosts from communicating with the NTP service on the device.
This command does not authenticate peer associations configured via the ntp server and ntp peer configuration commands. To authenticate NTP server and NTP peer associations, specify the key keyword.
To enable NTP, use the ntp enable command. To disable, use the no command form.
|
|
This example shows how to enable NTP:
n1000v#
ntp enable
This example shows how to disable NTP:
n1000v#
no
ntp enable
|
|
---|---|
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 ]
(Optional) Specifies the virtual routing and forwarding (VRF) used to reach this peer. |
|
|
This example shows how to configure an NTP peer:
n1000v(
config)#
ntp peer 192.0.2.2
|
|
---|---|
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 ]
(Optional) Specifies the virtual routing and forwarding (VRF) used to reach this peer. |
|
|
This example shows how to configure an NTP server:
n1000v(
config)#
ntp server 192.0.2.2
|
|
---|---|
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.
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. |
|
|
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
|
|
---|---|