Reference Guide

Brocade Fabric OS Command Reference 841
53-1004112-02
portShow
--filter filter_args
Filters the portShow output based on the specified filter arguments. The filter arguments
can be specified in any combination or as a conditional statement using the logical AND or
OR operator. A conditional statement can have up to 30 conditions. This operand is
supported with ipif, iproute, tcl, and lan-stats options. The following filter arguments are
supported:
-ipaddr ip_address
Filters the output based on the specified IP address.
-port [slot/]port
Filters the output based on the specified port number.
-tcp-port port
Filters the output based on the specified TCP port number.
-dp [slot/]dp#
Filters the output based on the specified dual processor ID.
-retransmits value
Filters the output based on the retransmits exceeding specified value.
-rtt ms
Filters the output based on the specified circuit round trip time in milliseconds.
-connect-count value
Filters the output based on the connected count exceeding specified value.
-bps value[k | m]
Filters the output based on bandwidth (bytes per second) exceeding the specified value.
Specify k for KBps and m for MBps.
-or
The logical OR operator.
-and
The logical AND operator.
-default show | hide
Sets the default display action if the specified filter statement is not supported. The default
action is hide.
Examples To display the IP interface and static route configured for failover crossports on the Brocade FX8-24:
switch:admin> portshow ipif 8/xge0
Port IP Address / Pfx MTU VLAN Flags
--------------------------------------------------------------------------------
8/xge0 192.168.10.20 / 24 1500 n/a U R M
8/xge0 192.168.11.21 / 24 1500 n/a U R M X
--------------------------------------------------------------------------------
Flags: U=Up B=Broadcast D=Debug L=Loopback P=Point2Point R=Running
N=NoArp PR=Promisc M=Multicast S=StaticArp LU=LinkUp X=Crossport
switch:admin> portshow iproute 8/xge0
Port IP Address / Pfx Gateway Flags
--------------------------------------------------------------------------------
8/xge0 192.168.0.0 / 24 * U C