B About the BCU

About the BCU

This appendix provides reference documentation for the Brocade Command Line Utility (BCU) supporting the Brocade Fibre Channel components.

BCU runs in two modes:

Direct mode, where you type the command at the command prompt. For example: bcu port --topology <port_id> <autop2p>

Shell mode, accessed using bcu> port --topology

the bcu shell; for example, <port_id> <autop2p>.

-To access the shell mode, type bcu shell.

-To exit out of shell mode, type exit.

All the commands in this appendix are shown in the direct mode. For example:

bcu port --topology <port_id> <autop2p>

To list all the commands and subcommands, type the following command:

bcu --help

To check the CLI and Driver version number, type the following command:

bcu --version

BCU commands

The following table lists the Brocade Command Line Utility (BCU) commands alphabetically that are available for configuring the devices in a SAN environment that use a Brocade adapter.

Command

Operands

Synopsis

 

 

 

bcu --help

 

Lists all available sub-commands.

 

 

 

bcu <sub_command> --help

 

Lists all details about the specific subcommand.

 

 

 

Adapter commands

 

 

 

 

 

bcu adapter

--list

 

 

 

 

 

--name

<serial-no> <adapter-name>

 

 

 

 

--query

<ad_id>

 

 

 

 

--enable

<ad_id>

 

 

 

 

--disable

<ad_id>

 

 

 

Authentication commands

 

 

 

 

 

bcu auth

--show

<port_id>

 

 

 

 

--policy

<port_id> <on off>

 

 

 

 

--reinit

<port_id>

 

 

 

 

--algo

<port_id> <md5 sha1 ms sm>

 

 

 

 

--secret

<port_id> “secret string”

 

 

 

 

--stats

<port_id>

122

Brocade Adapters Administrator’s Guide

 

53-1001583-01

Page 136
Image 136
Brocade Communications Systems 804 manual About the BCU, BCU commands