Brocade Communications Systems 425 Manual De Usuario
146
Brocade Adapters Administrator’s Guide
53-1001256-01
About the BCU
B
About the BCU
This appendix provides reference documentation for the Brocade Command Line Utility (BCU)
supporting the Brocade Fibre Channel components.
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> <auto|p2p|loop>
•
Shell mode, accessed using the bcu shell; for example,
bcu> port --topology <port_id> <auto|p2p|loop>
bcu> port --topology <port_id> <auto|p2p|loop>
.
•
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> <auto|p2p|loop>
To use the CLI help, type the following command:
bcu --help
BCU commands
The following table alphabetically lists the Brocade Command Line Utility (BCU) commands that are
available for configuring the devices in a SAN environment that use a Brocade CNA.
available for configuring the devices in a SAN environment that use a Brocade CNA.
Command
Operands
Synopsis
Help commands
bcu --help
Lists all available sub-commands.
bcu <sub_command> --help
Lists all details about the specific subcommand.
Adapter commands
bcu adapter
--list
--name
<ad_id> <adapter_name>
--query
<ad_id>
--enable
<ad_id>
--disable
<ad_id>
Authentication commands
bcu auth
--show
<port_id>
--policy
<port_id> <on | off>
--algo
<port_id> <md5 | sha1 | ms | sm>
--secret
<port_id> “secret string”
--stats
<port_id>
--statsclr
<port_id>