B Commands

This chapter describes the basic Cisco NX-OS system commands that begin with B.

banner motd

To configure the message-of-the-day (MOTD) banner that displays when the user logs in to a Cisco Nexus 5000 Series switch, use the banner motd command. To revert to the default, use the no form of this command.

banner motd delimiter message delimiter

no banner motd

 
Syntax Description

delimiter

Delimiter character that indicates the start and end of the message and is not a character that you use in the message. Do not use " or % as a delimiting character. White space characters will not work.

message

Message text. The text is alphanumeric, case sensitive, and can contain special characters. It cannot contain the delimiter character you have chosen. The text has a maximum length of 80 characters and a maximum of 40 lines.

 
Command Default

“Nexus 5000 Switch” is the default MOTD string.

 
Command Modes

Interface configuration mode

 
Command History

Release
Modification

4.0(0)N1(1a)

This command was introduced.

 
Usage Guidelines

To create a multiple-line MOTD banner, press Enter before typing the delimiting character to start a new line. You can enter up to 40 lines of text.

Examples

This example shows how to configure a single-line MOTD banner:

switch(config)# banner motd #Unauthorized access to this device is prohibited!#
 

This example shows how to configure a multiple-line MOTD banner:

switch(config)# banner motd #Welcome Authorized Users Unauthorized access prohibited!#
 

This example shows how to revert to the default MOTD banner:

switch(config)# no banner motd
 

 
Related Commands

Command
Description

show banner motd

Displays the MOTD banner.

boot

To configure the boot variable for the Cisco Nexus 5000 Series kickstart or system software image, use the boot command. To clear the boot variable, use the no form of this command.

boot { kickstart | system } [ bootflash: ] [// server /] [ directory ] filename

no boot { kickstart | system }

 
Syntax Description

kickstart

Configures the kickstart image.

system

Configures the system image.

bootflash:

(Optional) Specifies the name of the bootflash file system.

// server /

(Optional) Name of the server. Valid values are ///, //module-1/, //sup-1/, //sup-active/, or //sup-local/. The double slash (//) is required.

directory

(Optional) Name of a directory. The directory name is case sensitive.

filename

Name of the kickstart or system image file. The filename is case sensitive.


Note There can be no spaces in the bootflash://server/directory/filename string. Individual elements of this string are separated by colons (:) and slashes (/).


 
Command Default

None

 
Command Modes

Global configuration mode

 
Command History

Release
Modification

4.0(0)N1(1a)

This command was introduced.

 
Usage Guidelines

The Cisco NX-OS software uses the boot variable for loading images when booting up. You must copy the correct image to the switch before you reload.


Note Changing the boot variable in not recommended way to upgrade or downgrade Cisco NX-OS, doing so may cause loss of configuration and system instability.


Examples

This example shows how to configure the system boot variable:

switch(config)# boot system bootflash:n5000.bin
 

This example shows how to configure the kickstart boot variable:

switch(config)# boot kickstart bootflash:n5000-kickstart.bin
 

This example shows how to clear the system boot variable:

switch(config)# no boot system
 

This example shows how to clear the kickstart boot variable:

switch(config)# no boot kickstart
 

 
Related Commands

Command
Description

copy

Copies files.

show boot

Displays boot variable configuration information.