N Commands
This chapter describes the Cisco NX-OS Ethernet and virtual Ethernet commands that begin with N.
name (VLAN configuration)
To set the name for a VLAN, use the name command. To remove the user-configured name from a VLAN, use the no form of this command.
Syntax Description
Command Default
Command Modes
Command History
|
|
---|---|
Usage Guidelines
You cannot change the name for the default VLAN, VLAN 1, or for the internally allocated VLANs.
Examples
This example shows how to name VLAN 2:
switch(config)#
vlan 2
switch(
config-vlan)#
name accounting
Related Commands
|
|
---|---|
name (MST configuration)
To set the name of a Multiple Spanning Tree (MST) region, use the name command. To return to the default name, use the no form of this command.
Syntax Description
Name to assign to the MST region. It can be any string with a maximum length of 32 alphanumeric characters. |
Command Default
Command Modes
Command History
|
|
Usage Guidelines
Two or more switches with the same VLAN mapping and configuration version number are considered to be in different MST regions if the region names are different.
Examples
This example shows how to name a region:
switch(config)#
spanning-tree mst configuration
switch(
config-mst)#
name accounting
Related Commands
|
|
---|---|
no switchport
To configure the interface as a Layer 3 Ethernet interface, use the no switchport command.
Syntax Description
Command Default
Command Modes
Command History
|
|
---|---|
Usage Guidelines
You can configure any Ethernet port as a routed interface. When you configure an interface as a Layer 3 interface, any configuration specific to Layer 2 on this interface is deleted.
If you want to configure a Layer 3 interface for Layer 2, enter the switchport command. Then, if you change a Layer 2 interface to a routed interface, enter the no switchport command.
Examples
This example shows how to enable an interface as a Layer 3 routed interface:
This example shows how to configure a Layer 3 interface as a Layer 2 interface:
Related Commands
|
|
---|---|
Saves the running configuration to the startup configuration file. |
|