Display IP Route(DSP IPRT)

Function

An OM command that queries the IP routes.

Note

None

Parameters

ID Name Description
SRN Subrack No.

Meaning: number of the subrack for running the command

Value range: 0-11

Explanation: The subrack number uniquely identifies a subrack.

Default value: None

SN Slot No.

Meaning: number of the slot for running the command

Value range: 0-27

Explanation: The subrack number and slot number uniquely identify a board.

Default value: None

DESTIP Dest IP address

Explanation: destination IP address to be routed

Value range: 0.0.0.0-255.255.255.255

Explanation: The value 255.255.255.255 indicates that all the routing information is queried.

Default value: 255.255.255.255

Example

Query the device IP route of a board (Subrack No. = 0; Slot No. = 24):
DSP IPRT: SRN=0, SN=24;
The result is as follows:
+++    HUAWEI        2007-12-17 09:27:18
O&M    #2821
%%DSP IPRT: SRN=0, SN=24;%%
RETCODE = 0  Operation succeeded

Query the IP route.
----------
Destination IP Address  Subnet Mask  Gateway Address    

127.0.0.0     255.0.0.0        127.0.0.1   
127.0.0.1     255.255.255.255  127.0.0.1   
80.0.0.0      255.0.0.0        80.0.6.1    
80.0.6.1      255.255.255.255  127.0.0.1   
65.65.65.0    255.255.255.0    65.65.65.65 
65.65.65.65   255.255.255.255  127.0.0.1   
100.0.10.0    255.255.255.0    100.0.10.101
100.0.10.101  255.255.255.255  127.0.0.1   
18.18.18.0    255.255.255.0    100.0.10.1  
28.28.28.0    255.255.255.0    100.0.10.1  
38.38.38.0    255.255.255.0    100.0.10.1  
(Number of results = 11)


---    END

Output Description

Domain Name Description
Destination IP Address

Destination IP address

Subnet Mask

Subnet mask

Gateway Address

Next-hop address

Related reference
Display Ethernet Port IP Address(DSP ETHIP)
Display Device IP Address(DSP DEVIP)
Trace Route(TRC IPADDR)

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