Professional Documents
Culture Documents
Commands
January 2017
© 2017 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public. Page 1 of 6
Contents
What You Will Learn
Basic difference between Brocade FOS and Cisco NX-OS
Command Availability
Auto-Completion of command
Argument lookup
Reversal of a command
Mapping from Brocade FOS to Cisco NX-OS Commands
General Commands
Zoning and Device alias commands
Name Server Commands
Generic Fibre Channel Commands
Configuration Procedure
Brocade’s trunking or Cisco’s port-channel configuration
Zoning configuration
References
© 2017 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public. Page 2 of 6
What You Will Learn
This document provides mapping of commands between Brocade Fabric OS (FOS) and Cisco NX-OS. The
document is verified for Brocade FOS 8.0.1 and Cisco NX-OS 7.3.0. The scope of this document is limited to
frequently used commands only. For detailed information please refer to the configuration and command reference
guides at brocade.com and cisco.com.
Command Availability
Brocade Fabric OS (FOS) provides a flat command line interface (CLI). All types of commands (display or
configuration) are executed on the same prompt. For example, portshow command displays details of a port and
portdisable command disables a port.
Cisco NX-OS provides multiple mode command line interface (CLI). The default login prompt is called exec mode.
All the display commands are available in exec mode. Display commands start with the keyword ‘show’ followed by
the feature/component. For example, interface details are displayed by command ‘show interface’.
Configuration is edited by entering config mode using command ‘configure terminal’. Further feature/component
configuration can be edited by entering the mode for that specific feature/component. For example, an interface
can be disabled by entering interface config mode using ‘interface <name>’ in config mode followed by ‘shutdown’
command. All other interface configuration commands are available in interface config mode under config mode.
Auto-Completion of command
Both Brocade FOS and Cisco NX-OS supports auto-completion of commands using ‘tab’ key.
Argument lookup
Many commands accept arguments. In Brocade FOS, these arguments must be known before executing the
command. For example, you must be aware of the port number for the portshow command. In Cisco NX-OS, you
© 2017 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public. Page 3 of 6
can use the ‘?’ key to know the arguments of any command. For example, typing ‘?’ after ‘show interface’
command will display the further options with this command.
Reversal of a command
Reversal of a command in Brocade FOS is achieved by a specific command. For example, an interface is enabled
by ‘portenable’ command while the interface is disabled by ‘portdisable’ command. In Cisco NX-OS, the reverse of
a command is achieved by prefixing ‘no ‘ to a command. For example, interface can be disabled by ‘shutdown’
command in interface config mode while the interface can be enabled by ‘no shutdown’ command.
General Commands
Brocade FOS Command Cisco NX-OS Command Description
psshow show environment power Displays power supply status
fanshow show environment fan Displays fan status and speed
chassisshow show module Displays Field Replaceable Units
(FRUS)
tempshow show environment temperature Displays temperature readings
sensorshow show environment and subcommands. Displays sensor readings
firmwareshow show version Displays firmware version
version show version Displays firmware version
switchshow show interface Displays switch and port status
show system resources
show fcs database
portshow show interface Displays status and configuration of
ports
portcfgshow show interface Displays configuration of ports
show running-config interface
portdisable shutdown (interface config mode) Disables a port
portenable No shutdown (interface config mode) Enables a port
trunkshow show port-channel summary Displays trunking (port-channel)
information
configshow show running-config Displays system configuration.
show startup-config In Cisco NX-OS, running-config is the
current configuration of the switch.
Startup-config is the saved
configuration of the switch. The switch
(re)boots using saved-configuration.
© 2017 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public. Page 4 of 6
Any changes are reflected in running-
configuration. Running-configuraton is
saved to startup-config using copy
command.
uptime show system uptime Displays uptime of the switch
switchuptime show system uptime Displays uptime of the switch
hashow show system redundancy status Displays Control Processor (CP) status
date show clock Displays or sets the switch date and
time
bannershow show banner Displays the banner text
errshow show logging Displays error log messages
licenseshow show license [usage] Displays system license information
licenseidshow show license host-id Displays the system license ID
ipaddrshow show [ ip ] interface Displays IP address information
islshow show topology isl Displays ISL information
memshow show system resources Displays system memory information
show processes memory
reboot reload Reboots the switch
fastboot reload Reboots switch without POST
switchbeacon locator-led Sets switch beacon
topologyshow show topology Displays the fabric topology
firmwaredownload copy Downloads firmware
configdownload copy <> startup-config Downloads configuration to switch
configupload copy startup-config <> Uploads switch configuration
© 2017 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public. Page 5 of 6
Generic Fibre Channel Commands
Brocade FOS Command Cisco NX-OS Command Description
fabstatsshow show fcdomain statistics Displays fabric statistics
fabricshow show topology Displays member switches in the
fabric
agshow show npv status Displays access gateway
information
fspfshow show fspf
interfaceshow show fspf interface Displays FSPF interface information
isdbshow show fspf database Displays FSPF link state database
nbrstateshow show fspf Displays FSPF neighbor information
Configuration Procedure
For Cisco NX-OS port-channel, please refer to ‘Configuring Port Channels’ chapter in ‘Cisco MDS 9000 Family NX-
OS Interfaces Configuration Guide’:
http://www.cisco.com/c/en/us/td/docs/switches/datacenter/mds9000/sw/7_3/configuration/interfaces/interfaces/pc.h
tml
Zoning configuration
For Brocade’s zoning configuration, please refer to ‘Administering Advanced Zoning’ chapter in ‘Brocade Fabric OS
administrator’s guide’: http://www.brocade.com/content/html/en/administration-guide/fos-801-adminguide/GUID-
26A601F6-4B9F-4D2C-B26B-F928795FB62C.html
For Cisco’s zoning configuration, please refer to ‘Configuring and Managing Zones’ chapter in ‘Cisco MDS 9000
Family NX-OS Fabric Configuration Guide’:
http://www.cisco.com/c/en/us/td/docs/switches/datacenter/mds9000/sw/7_3/configuration/fabric/fabric/zone.html.
References
Brocade FOS 8.0.1 administration guide: http://www.brocade.com/content/html/en/administration-guide/fos-801-
adminguide/GUID-9E473D88-DB89-4C5D-888B-DEE98DEDD686-homepage.html
© 2017 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public. Page 6 of 6