Reference Guide

Example to show the switchshow output
The switchshow -portname command displays the switch name, port type, port index, and alias in the output.
switch:admin> switchshow -portname
switchName: sw0
switchType: 66.1
switchState: Online
switchMode: Native
switchRole: Principal
switchDomain: 1
switchId: fffc01
switchWwn: 10:00:00:05:1e:82:3c:2a
zoning: OFF
switchBeacon: OFF
FC Router: OFF
Fabric Name: switch_test
Allow XISL Use: OFF
LS Attributes: [FID: 128, Base Switch: No, Default Switch: Yes, Address Mode 0]
Index Port PortWWN Name
==================================================
0 0 20:00:00:05:1e:82:3c:2a port0
1 1 20:01:00:05:1e:82:3c:2a port1
2 2 20:02:00:05:1e:82:3c:2a port2
3 3 20:03:00:05:1e:82:3c:2a port3
4 4 20:04:00:05:1e:82:3c:2a port4
5 5 20:05:00:05:1e:82:3c:2a port5
6 6 20:06:00:05:1e:82:3c:2a port6
7 7 20:07:00:05:1e:82:3c:2a port7
8 8 20:08:00:05:1e:82:3c:2a port8
9 9 20:09:00:05:1e:82:3c:2a port9
10 10 20:0a:00:05:1e:82:3c:2a port10
11 11 20:0b:00:05:1e:82:3c:2a port11
12 12 20:0c:00:05:1e:82:3c:2a port12
13 13 20:0d:00:05:1e:82:3c:2a port13
14 14 20:0e:00:05:1e:82:3c:2a port14
[output truncated]
Dynamic port name format
You can configure the port name format for the dynamically populated port names. You can add or delete any fields from the supported
list. At least one field should be given as input to set the dynamic port name format. Use the portName command with the "-d" option to
configure the dynamic port name format. The dynamic port name format is a switch wide configuration and this format will be used for
all the ports in the switch. The dynamic port name format is stored in the configuration.
The supported port name fields are Switch name, Port type, Port Index, slot number/port number, F_Port Alias, FDMI hostname and
Remote switch name. A control key is used to represent the supported port name fields. The dot ".", dash "-" and under score "_" are the
supported field separators. Only these control keys and field separators are allowed as inputs to set the dynamic port name format.
NOTE
You can define the dynamic port name format even if the dynamic port name feature is not enabled. However, the customized
dynamic port name format is displayed only if the dynamic port name feature is enabled.
NOTE
You cannot downgrade to an earlier version than Fabric OS 8.0.1 when the dynamic port name format is set to a non default
dynamic port name format using this dynamic port name format feature.
The following are the supported port name fields and their corresponding control keys:
Performing Advanced Configuration Tasks
Brocade Fabric OS Administration Guide, 8.0.1
53-1004111-02 79