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 1010 commands that begin with the letter M.
To configure a management VLAN, use the management vlan command.
management vlan
vlan-id |
Number of a new or existing management VLAN. The range is from 1 to 3967 and 4048 to 4093. |
None
SVS domain configuration (config-svs-domain)
network-admin
|
|
---|---|
4.0(4)SP1(1) |
This command was introduced. |
This example shows how to apply the control interface and VLAN ID 1044 to this virtual service:
switch# config t
switch(config)# svs-domain
switch(config-svs-domain)# management vlan
switch(config-svs-domain)#
To specify the media type of a VLAN as Ethernet, use the media command. To remove the type, use the no form of this command.
media ethernet
no media
ethernet |
Specifies Ethernet media type. |
None
VLAN configuration (config-vlan)
network-admin
|
|
4.0(4)SP1(1) |
This command was introduced. |
This example shows how to configure the media type:
switch#
configure terminal
switch(
config)#
media ethernet
switch(
config)#
|
|
---|---|
show vlan |
Displays VLAN information. |
To create a new directory, use the mkdir command.
mkdir {bootflash: | debug: | volatile:}
bootflash: |
Specifies bootflash as the directory name. |
debug: |
Specifies debug as the directory name. |
volatile: |
Specifies volatile as the directory name. |
None
Any command mode
network-admin
|
|
4.0(4)SP1(1) |
This command was introduced. |
This example shows how to create the bootflash: directory:
switch#
mkdir bootflash:
|
|
---|---|
cd |
Changes the current working directory. |
dir |
Displays the directory contents. |
pwd |
Displays the name of the current working directory. |
To move a file from one directory to another, use the move command.
move [filesystem:[//module/][directory/] | directory/]source-filename {{filesystem:[//module/][directory/] | directory/}[destination-filename] | target-filename}
The default name for the destination file is the same as the source filename.
Any command mode
network-admin
|
|
---|---|
4.0(4)SP1(1) |
This command was introduced. |
You can make a copy of a file by using the copy command.
Tip You can rename a file by moving it within the same directory.
This example shows how to move a file to another directory:
switch# move file1 my_files:file2
This example shows how to move a file to another file system:
switch# move file1 slot0:
This example shows how to move a file to another VSM:
switch# move file1 bootflash://sup-remote/file1.bak
|
|
---|---|
cd |
Changes the current working directory. |
copy |
Makes a copy of a file. |
dir |
Displays the directory contents. |
pwd |
Displays the name of the current working directory. |
To configure the maximum transmission unit (MTU) size for an interface, use the mtu command. To remove the configured MTU size from the interface, use the no form of this command.
mtu size
no mtu size
size |
MTU size. The range is 1500 to 9000. |
1500 bytes
Interface configuration (config-if)
network-admin
|
|
4.0(4)SP1(1) |
This command was introduced. |
This example shows how to set the MTU size to 2000:
switch#
configure terminal
switch(
config)#
interface port-channel 2
switch(
config-if)#
mtu 2000
|
|
---|---|
show interface |
Displays information about the interface, which includes the MTU size. |