182 Brocade Adapters Administrator’s Guide
53-1001256-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.
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.
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.
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 5/1
Port ID: 5/1
Port Name: ad5_p1
Port PWWN: 11:22:33:44:55:66:77:88
Port NWWN: 10:22:33:44:55:66:77:88
Port HW Path: 1.5.3.0
Num LPORTs: 4