Sun Microsystems 816-0830-12 Switch User Manual


 
90 Sun StorEdge Network FC Switch-8 and Switch-16 Installation and Configuration Guide October 2001
“To Configure All Fabric Devices on a Fabric-Connected Host Port” on page 95
“To Unconfigure All Fabric Devices on a Fabric-Connected Host Port” on page 97
To Discover Fabric Devices Visible on a Host
Fibre channel host ports c0 and c1, and the devices attached to them, provide an
example of discovering Fabric devices. This procedure also shows the device
configuration information that can be displayed with the cfgadm(1M) command.
Note If the proper cfgadm support for fibre channel devices is not installed, fibre
channel devices do not display in the cfgadm(1M) command output. In the next
examples, only fp attachment point IDs (Ap_Ids) are listed. The attachment points
displayed on your system depend on your system configuration.
1. Become superuser.
2. Display information about the attachment points on the system.
In this example, c0 represents a Fabric-connected host port, and c1 represents a
private, loop-connected host port. Use the cfgadm(1M) command to manage the
device configuration on Fabric-connected host ports.
By default, the device configuration on private, loop-connected host ports is handled
by a Solaris host.
3. Display the information about the host ports and their attached devices.
# cfgadm -l
Ap_Id Type Receptacle Occupant Condition
c0 fc-fabric connected unconfigured unknown
c1 fc-private connected configured unknown
# cfgadm -al
Ap_Id Type Receptacle Occupant Condition
c0 fc-fabric connected unconfigured unknown
c0::50020f2300006077 disk connected unconfigured unknown
c0::50020f23000063a9 disk connected unconfigured unknown
c0::50020f2300005f24 disk connected unconfigured unknown
c0::50020f2300006107 disk connected unconfigured unknown
c1 fc-private connected configured unknown
c1::220203708b69c32b disk connected configured unknown
c1::220203708ba7d832 disk connected configured unknown
c1::220203708b8d45f2 disk connected configured unknown
c1::220203708b9b20b2 disk connected configured unknown