Cli nomenclature on chassis-based models, Cli nomenclature on stackable devices, Searching and filtering output from cli commands – Brocade FastIron Ethernet Switch Administration Guide User Manual
Page 22: Searching and filtering output from show commands

Using stack-unit, slot number, and port numberwith CLI commands
Many CLI commands require users to enter port numbers as part of the command syntax, and many
show command outputs display port numbers. The port numbers are entered and displayed in one of
the following formats:
• port number only
• slot number and port number
• stack-unit, slot number, and port number
The following sections show which format is supported on which devices. The ports are labelled on the
front panels of the devices.
CLI nomenclature on Chassis-based models
Chassis-based models (FSX 800 and FSX 1600) use port numbering that consists of a slot number
and a port number. When you enter CLI commands on these devices, you must specify both the slot
number and the port number. The slot numbers used in the FSX CLI examples apply only to Chassis
devices.
Here is an example. The following commands change the CLI from the global CONFIG level to the
configuration level for the first port on the device:
• FSX commands
device(config)#interface e 1/1
device(config-if-1/1)#
Syntax: ethernet slotnum/portnum
CLI nomenclature on Stackable devices
Stackable devices (FCX and ICX) use the stack-unit /slot/port nomenclature. When you enter CLI
commands that include the port number as part of the syntax, you must use the stack-unit/slot/port
number format. For example, the following commands change the CLI from the global CONFIG level
to the configuration level for the first port on the device:
device(config)#interface e 1/1/1
device(config-if-e1000-1/1/1)#
Syntax: ethernet stack-unit/slotnum/portnum
Refer to "Brocade Stackable Devices" chapter in the FastIron Ethernet Switch Stacking Configuration
Guide for more information about these devices.
Searching and filtering output from CLI commands
You can filter CLI output from show commands and at the --More-- prompt. You can search for
individual characters, strings, or construct complex regular expressions to filter the output.
Searching and filtering output from Show commands
You can filter output from show commands to display lines containing a specified string, lines that do
not contain a specified string, or output starting with a line containing a specified string. The search
Using stack-unit, slot number, and port numberwith CLI commands
22
FastIron Ethernet Switch Administration Guide
53-1003075-02