937

Use the display ip routing-tableip-address1 { mask-length mask } ip-address2

{mask-length mask } command to display route entries with destination addresses within a specified range.

Examples # Display route entries for the destination IP address 11.1.1.1.

[Sysname] display ip routing-table 11.1.1.1 Routing Table : Public

Summary Count : 4

Destination/Mask

Proto

Pre

Cost

NextHop

Interface

0.0.0.0/0

Static

60

0

0.0.0.0

NULL0

11.0.0.0/8

Static

60

0

0.0.0.0

NULL0

11.1.0.0/16

Static

60

0

0.0.0.0

NULL0

11.1.1.0/24

Static

60

0

0.0.0.0

NULL0

For detailed description about the output, see Table 204.

#Display route entries by specifying a destination IP address and the longer-matchkeyword.

[Sysname] display ip routing-table 11.1.1.1 longer-match Routing Table : Public

Summary Count : 1

Destination/Mask

Proto

Pre

Cost

NextHop

Interface

11.1.1.0/24

Static

60

0

0.0.0.0

NULL0

# Display route entries by specifying a destination IP address and mask.

[Sysname] display ip routing-table

11.1.1.1 24

 

Routing Table : Public

 

 

 

 

Summary Count : 3

 

 

 

 

 

Destination/Mask

Proto

Pre

Cost

NextHop

Interface

11.0.0.0/8

Static

60

0

0.0.0.0

NULL0

11.1.0.0/16

Static

60

0

0.0.0.0

NULL0

11.1.1.0/24

Static

60

0

0.0.0.0

NULL0

#Display route entries by specifying a destination IP address and mask and the longer-matchkeyword.

[Sysname] display ip routing-table 11.1.1.1 24 longer-match Routing Table : Public

Summary Count : 1

Destination/Mask

Proto

Pre

Cost

NextHop

Interface

11.1.1.0/24

Static

60

0

0.0.0.0

NULL0

For detailed description of the above output, see Table 204.

# Display route entries for destination addresses in the range 1.1.1.0 to 5.5.5.0.

<Sysname> display ip routing-table 1.1.1.0 24 5.5.5.0 24 Routing Table : Public

Destination/Mask

Proto Pre Cost

NextHop

Interface

Page 937
Image 937
3Com MSR 50, MSR 30 manual 937