Brocade Communications Systems 804 Manuale Utente

Pagina di 186
148
Brocade Adapters Administrator’s Guide
53-1001583-01
lport
B
lport 
Lists the logical port (lport) commands. 
Synopsis
bcu lport --list <port_id
bcu lport --query <port_id> [-l lpwwn
bcu lport --stats <port_id> [-l lpwwn
bcu lport --statsclr <port_id> [-l lpwwn]
Description
Lists all the logical ports (lports) under a given port ID. A logical port is a port that is logged into a 
fabric. Possible logical port type values are the following:
Base port
Virtual port
Logical port PWWN - logical port’s port world wide name
Logical port NWWN - logical port’s port node world wide name
FC addr - FC address of the logical port
Possible roles supported by the logical port are FCP initiator mode (IM), FCP target mode (FCPTM), 
and IP over FC support (IP).
Operands
--list
Lists all the lports for a specified port.
port_id
Specifies the ID of the port for which you want to display information.
--query
Lists the attributes of the logical port.
port_id
Specifies the ID of the port for which you want to display information.
-l lpwwn
Specifies the logical port’s world wide name for which you want to display 
information. If the lpwwn is not specified, the base port is used.
--stats
Displays the logical port’s statistics.
port_id
Specifies the ID of the port for which you want to display statistical 
information.
-l lpwwn
Specifies the logical port’s world wide name for which you want to display 
statistical information. If the lpwwn is not specified, the base port is used.
--statsclr
Clears the logical port’s statistics.
port_id
Specifies the ID of the port for which you want to clear statistical information.
-l lpwwn
Specifies the logical port’s port world wide name for which you want to clear 
statistical information. If the lpwwn is not specified, the base port is used.
Example
bcu lport 
--
list 1/0
Port ID: 1/0
Port Name: 
Port PWWN: 10:00:00:05:1e:ae:e3:a4
Port NWWN: 20:00:00:05:1e:ae:e3:a4
HW Path: 0000.06:00.0
Num LPORTs: 5