|
Table Of Contents
B 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. See the "Command Modes" section to determine the appropriate mode for each command. For more information, refer to the Cisco MDS 9000 Family Configuration Guide.
•boot
banner motd
To configure a message of the day (MOTD) banner, use the banner motd command in configuration mode.
banner motd [delimiting-character message delimiting-character]
no banner motd [delimiting-character message delimiting-character]
Syntax Description
delimiting-character
Identifies the delimiting character.
message
Specifies the banner message that is restricted to 40 lines with a maximum of 80 characters in each line.
Defaults
None.
Command Modes
Configuration mode.
Command History
This command was introduced in Cisco MDS SAN-OS Release 1.3(4).
Usage Guidelines
The configured MOTD banner is displayed before the login prompt on the terminal whenever a user logs in to a Cisco MDS 9000 Family switch.
Follow these guidelines when choosing your delimiting character:
•Do not use the delimiting-character in the message string.
•Do not use " and % as delimiters.
You can include tokens in the form $(token) in the message text. Tokens will be replaced with the corresponding configuration variable. For example:
•$(hostname) displays the host name for the switch
•$(line) displays the vty or tty line no or name
•The $(line-desc) and $(domain) tokens are not supported.
Examples
The following example configures a banner message with the following text "Testing the MOTD Feature."
switch# config tswitch(config)# banner motd # Testing the MOTD Feature. #The following example spans multiple lines and uses tokens to configure the banner message:
switch# config tswitch(config)# banner motd # Enter TEXT message. End with the character '#'. Welcome to switch $(hostname). You tty line is $(line). #Related Commands
boot
To perform operations on the system, use the boot command in configuration mode. Use the no form of this command to negate this feature or return to factory defaults.
boot {asm-sfn {bootflash: | slot0: | tftp:}[image] [ module [slot-number]] |
auto-copy |
kickstart {bootflash: | slot0: | tftp:}[image] [sup-1 [sup-2] | sup-2] |
lasilc {bootflash: | slot0: | tftp:}[image] [ module [slot-number]] |
system {bootflash: | slot0: | tftp:}[image] [sup-1 [sup-2] | sup-2]}no boot {asm-sfn | auto-copy | kickstart | lasilc | system}
Syntax Description
Defaults
Disabled.
Command Modes
Configuration mode.
Command History
This command was modified in Cisco MDS SAN-OS Release 1.2(2).
Usage Guidelines
The boot kickstart slot0:image command is currently not allowed. For kickstart, only bootflash: is allowed.
Whenthe boot auto-copy command is issued, the system copies the boot variable images which are local (present) in the active supervisor module (but not in the standby supervisor module) to the standby supervisor module. For kickstart and system boot variables, only those images that are set for the standby supervisor module are copied. For modules (line card) images, all modules present in standby's corresponding locations (bootflash: or slot0:) will be copied.
Examples
The following example adds the new system image file to the SYSTEM environment variable.
switch(config)# boot system bootflash:system.imgThe following example boots from the CompactFlash device (slot0:). The switch updates the SYSTEM environment variable to reflect the new image file in the specified Flash device.
switch(config)# boot system slot0:system.imgThe following example overwrites the old Kickstart environment variable in the configuration file:
switch(config)# boot kickstart bootflash:kickstart.imgThe following example specifies the ASM image to be used:
switch(config)# boot asm-sfn bootflash:m9000-ek9-asm-sfn-mz.1.2.2.binThe following example enables automatic copying of boot variables from the active supervisor module to the standby supervisor module.
switch(config)# boot auto-copyThe following example disables the automatic copy feature (default).switch(config)# no boot auto-copyRelated Commands
bport
To configure a B port mode on a FCIP interface, use the bport option. To disable a B port mode on a FCIP interface, use the no form of the command.
bport
no bport
Syntax Description
This command has no other arguments or keywords.
Defaults
Disabled
Command Modes
Interface onfiguration submode
Command History
This command was introduced in Cisco MDS SAN-OS Release 1.1(1).
Usage Guidelines
Access this command from the switch(config-if)# submode.
Examples
switch# config tswitch(config)# interface fcip 1switch(config-if)# bportRelated Commands
Command Descriptionshow interface fcip
Displays an interface configuration for a specified FCIP interface.
bport-keepalive
Configures B port keepalive responses.
bport-keepalive
To configure keepalive responses for B port FCIP interfaces, use the bport-keepalive option. To disable keepalive responses for B port FCIP interfaces, use the no form of the command.
bport-keepalive
no bport-keepalive
Syntax Description
This command has no other arguments or keywords.
Defaults
Disabled
Command Modes
Interface configuration submode
Command History
This command was introduced in Cisco MDS SAN-OS Release 1.1(1).
Usage Guidelines
Access this command from the switch(config-if)# submode.
Examples
switch# config tswitch(config)# interface fcip 1switch(config-if)# bport-keepalivesRelated Commands
Command Descriptionshow interface fcip
Displays an interface configuration for a specified FCIP interface.
bport
Configures a B port FCIP interface.