Cisco MDS 9000 Family Command Reference, Release 1.1(1a)
W Commands

Table Of Contents

W Commands

write erase

wwn secondary-mac


W Commands


The commands in this chapter apply to the Cisco MDS 9000 Family of multilayer directors and fabric switches. All commands are shown here in alphabetical order regardless of command mode. Please see the Command Mode section to determine the appropriate mode for each command. For more information, see the Cisco MDS 9000 Family Configuration Guide.

write erase

wwn secondary-mac

write erase

To clear a startup configuration, enter the write erase command from the EXEC mode prompt.

write erase [boot | debug]

Syntax Description

boot

Destroys boot configuration.

debug

Clears the existing debug configuration.


Defaults

None.

Command Modes

EXEC mode.

Command History

This command was introduced in Cisco MDS SAN-OS Release 1.0(2).

Usage Guidelines

Once this command is issued, the switch's startup configuration reverts to factory defaults. The running configuration is not affected. The write erase command erases the entire startup configuration with the exception of any configuration that affects the loader functionality.

The write erase boot command only erases the configuration that affects the loader functionality. The loader functionaility configuration includes the boot variables and the mgmt0 IP configuration information (IP address, netmask and default gateway).

Examples

The following example clears the existing startup configuration completely.

switch# write erase

The following example clears the loader functionality configuration.

switch# write erase boot
This command will erase the boot variables and the ip configuration of interface mgmt 0

wwn secondary-mac

To allocate secondary MAC addresses, use the wwn secondary-mac command.

www secondary-mac wwn-id range address-range

Syntax Description

secondary-mac wwn-id

The secondary MAC address with the format hh:hh:hh:hh:hh:hh.

range address-range

The range for the specified WWN (64).


Command Modes

EXEC

Command History

This command was introduced in Cisco MDS SAN-OS Release 1.0(2).

Usage Guidelines

This command cannot be undone.

Changes to the worldwide names are only performed as required. They should not be changed on a daily basis. These changes should be made by an administrator or individual who is completely familiar with switch operations.

For more information, refer to the Cisco MDS 9000 Family Configuration Guide.

Examples

switch(config)# wwnm secondary-mac 00:99:55:77:55:55 range 64 
This command CANNOT be undone. 
Please enter the BASE MAC ADDRESS again: 00:99:55:77:55:55
Please enter the mac address RANGE again: 64
From now on WWN allocation would be based on new MACs.
Are you sure? (yes/no) no
You entered: no. Secondary MAC NOT programmed