List IP Route(LST IPRT)

Function

An OM command that queries the configuration of an IP route.

To query the configuration of all the IP routes in a subrack, set Subrack No. only.

To query the configuration of a specific IP route, set Subrack No. and Route 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

RTIDX Route index

Meaning:Route index

Value range:0~65535

Explanation: This parameter specifies the index number of a route.

Default value:None

Example

Query the IP route (Subrack No. = 0; Route Index = 1): 
LST IPRT: SRN=0, RTIDX=1;
The result is as follows:
+++    HUAWEI        2008-07-24 15:47:39
O&M    #3863
%%LST IPRT: SRN=0, RTIDX=1;%%
RETCODE = 0  Operation succeeded

LST IPRT Result
---------------
           Subrack No.  =  0
           Route Index  =  1
              Slot No.  =  15
Destination IP Address  =  35.35.35.0
           Subnet Mask  =  255.255.255.0
       Gateway Address  =  5.5.5.7
              Priority  =  1
(Number of results = 1)


---    END

Output Description

For details, see the parameter description of the ADD IPRT command.
Related reference
Remove IP Route(RMV IPRT)
Add IP Route(ADD IPRT)

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