List Physical Port IP Address(LST PHYPORTIP)

Function

An OM command that queries the configuration of the IP address of the physical port.

To query the IP addresses of all the physical ports in a subrack, set the parameter Subrack No..

To query the IP address of a specific physical port, set the parameters Subrack No., Slot No., Port No., and IP address index.

Note

None

Parameters

ID Name Description
SRN Subrack No.

Meaning:Subrack No.

Value range:0~11

Explanation: This parameter specifies the subrack number of an IP-based interface board.

Default value:None

SN Slot No.

Meaning:Slot No.

Value range:0~27

Explanation: This parameter specifies the slot number of an IP-based interface board.

Default value:None

PORT Port No.

Meaning:Port No.

Value range:0~7

Explanation: This parameter specifies the port number of an IP-based interface board.

Default value:None

IPINDEX IP address index

Meaning:IP address index

Value range:0~5

Explanation: This parameter specifies the IP address index. A maximum of six IP addresses can be configured for one port.

Default value:None

Example

Query the IP address of a physical port (Subrack No. = 0; Slot No. = 14;):
LST PHYPORTIP: SRN=0, SN=14;
The result is as follows:
+++    HUAWEI        2008-10-29 19:44:30
O&M    #121
%%LST PHYPORTIP: SRN=0, SN=14;%%
RETCODE = 0  Operation succeeded

LST PHYPORTIP Result
--------------------
           Subrack No.  =  0
              Slot No.  =  14
              Port No.  =  0
Local IP address index  =  0
            IP Address  =  2.2.2.2
           Subnet Mask  =  255.255.255.0
    Standby IP Address  =  255.255.255.255
(Number of results = 1)


---    END

Output Description

For details, see the parameter description of the ADD PHYPORTIP command.
Related reference
Remove Physical Port IP Address(RMV PHYPORTIP)
Mod Physical Port IP Address(MOD PHYPORTIP)
Add Physical Port IP Address(ADD PHYPORTIP)

Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.