M Commands
This chapter describes the Cisco Nexus 1010 commands that begin with the letter M.
management vlan
To configure a management VLAN, use the management vlan command.
management vlan
Syntax Description
vlan-id |
Number of a new or existing management VLAN. The range is from 1 to 3967 and 4048 to 4093. |
Defaults
None
Command Modes
SVS domain configuration (config-svs-domain)
network-admin
Command History
|
|
---|---|
4.0(4)SP1(1) |
This command was introduced. |
Examples
This example shows how to apply the control interface and VLAN ID 1044 to this virtual service:
n1010# config t
n1010(config)# svs-domain
n1010(config-svs-domain)# management vlan
n1010(config-svs-domain)#
Related Commands
media
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
Syntax Description
ethernet |
Specifies Ethernet media type. |
Defaults
None
Command Modes
VLAN configuration (config-vlan)
network-admin
Command History
|
|
4.0(4)SP1(1) |
This command was introduced. |
Examples
This example shows how to configure the media type:
n1010#
configure terminal
n1010(
config)#
media ethernet
n1010(
config)#
Related Commands
|
|
---|---|
show vlan |
Displays VLAN information. |
mkdir
To create a new directory, use the mkdir command.
mkdir {bootflash: | debug: | volatile:}
Syntax Description
bootflash: |
Specifies bootflash as the directory name. |
debug: |
Specifies debug as the directory name. |
volatile: |
Specifies volatile as the directory name. |
Defaults
None
Command Modes
Any
network-admin
Command History
|
|
4.0(4)SP1(1) |
This command was introduced. |
Examples
This example shows how to create the bootflash: directory:
n1010#
mkdir bootflash:
Related Commands
|
|
---|---|
cd |
Changes the current working directory. |
dir |
Displays the directory contents. |
pwd |
Displays the name of the current working directory. |
move
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}
Syntax Description
Defaults
The default name for the destination file is the same as the source filename.
Command Modes
Any
network-admin
Command History
|
|
---|---|
4.0(4)SP1(1) |
This command was introduced. |
Usage Guidelines
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.
Examples
This example shows how to move a file to another directory:
n1010# move file1 my_files:file2
This example shows how to move a file to another file system:
n1010# move file1 slot0:
This example shows how to move a file to another VSM:
n1010# move file1 bootflash://sup-remote/file1.bak
Related Commands
|
|
---|---|
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. |
mtu
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
Syntax Description
size |
MTU size. The range is 1500 to 9000. |
Defaults
1500 bytes
Command Modes
Interface configuration (config-if)
network-admin
Command History
|
|
4.0(4)SP1(1) |
This command was introduced. |
Examples
This example shows how to set the MTU size to 2000:
n1010#
configure terminal
n1010(
config)#
interface port-channel 2
n1010(
config-if)#
mtu 2000
Related Commands
|
|
---|---|
show interface |
Displays information about the interface, which includes the MTU size. |