Brocade Fabric OS Command Reference Manual Supporting Fabric OS v6.3.0 (53-1001337-01, July 2009)

Fabric OS Command Reference 859
53-1001337-01
switchShow
2
In an AD context, if one of the L_Ports or NPIV Ports is a part of the current AD, the complete device
information attached to the port is displayed.
Operands This command has the following operands:
-slot slotnumber Displays blade information. You can specify this operand with -portname, but
not with any other operand.
-portname Displays the name for each port on the switch. The port name is set by the
portName command. You can specify this operand with -slot, but not with any
other operand.
-portcount Displays the number of ports on the switch. This operand is exclusive.
-iscsi Displays the number of ports on the iSCSI sessions associated with GbE ports
in a switch. This operand is exclusive.
Examples To display the port count:
switch:admin> switchshow -portcount
FC ports = 198, GE ports = 12
To display GbE ports with iSCSI sessions:
switch:admin> switchshow -iscsi
Ports of Slot 1 ge0 ge1 ge2 ge3 ge4 ge5 ge6 ge7
-----------------+---+---+---+---+-----+---+---+---
Sessions 0 0 0 0 0 0 0 0
To display a switch in Access Gateway mode:
switch:admin> switchshow
switchName: sw0
switchType: 66.1
switchState: Online
switchMode: Native
switchRole: Subordinate
switchDomain: 2
switchId: fffc02
switchWwn: 10:00:00:05:1e:57:b3:06
zoning: OFF
switchBeacon: OFF
FC Router: ON
FC Router BB Fabric ID: 128
Index Port Address Media Speed State Proto
==============================================
0 0 020000 id N4 No_Light FC
1 1 020100 id N4 In_Sync FC Disabled
2 2 020200 id N4 No_Light FC
3 3 020300 id N4 No_Light FC
4 4 020400 id N4 Online FC F-Port 1 N Port + 1 NPIV public
5 5 020500 id N4 Online FC F-Port 1 N Port + 1 NPIV public
6 6 020600 id N4 Online FC F-Port 1 N Port + 2 NPIV public
7 7 020700 id N4 Online FC F-Port 1 N Port + 1 NPIV public
8 8 020800 id N4 Online FC F-Port 10:00:00:05:1e:65:95:81
9 9 020900 id N4 Online FC E-Port 10:00:00:05:1e:40:ff:95
"sw0" (upstream)(Trunk master)
10 10 020a00 id N4 Online FC E-Port (Trunk port, master is
Port 9 )