4.515 rtrv-ip-rte

Use this command to display all static IP route entries in the Static IP Route table, entries for a specific card, entries for a specific destination IP address, or entries for a specific gateway IP address.

Parameters

dest (optional)
Destination IP Address. The IP Address of a remote destination host or network.
gtwy (optional)
Gateway IP Address. The IP address assigned to the gateway router that will properly forward IP datagrams with the destination IP address (dest) to the next-hop gateway router or final destination host.
Range:
4 numbers separated by dots, with each number in the range of 0-255.

The IP address 0.0.0.0 is not valid.

loc (optional)
Card location. The unique identifier of a specific IP card in the system.
Range:
1101 - 1108, 1111 - 1112, 1201 - 1208, 1211 - 1218, 1301 - 1308, 1311 - 1318, 2101 - 2108, 2111 - 2118, 2201 - 2208, 2211 - 2218, 2301 - 2308, 2311 - 2318, 3101 - 3108, 3111 - 3118, 3201 - 3208, 3211 - 3218, 3301 - 3308, 3311 - 3318, 4101 - 4108, 4111 - 4118, 4201 - 4208, 4211 - 4218, 4301 - 4308, 4311 - 4318, 5101 - 5108, 5111 - 5118, 5201 - 5208, 5211 - 5218, 5301 - 5308, 5311 - 5318, 6101 - 6108, 6111 - 6118
num (optional)
Number of IP route entries to be retrieved.
Range:
1 - 2048
Default:
2048

Example

rtrv-ip-rte

rtrv-ip-rte:loc=1301

rtrv-ip-rte:dest=128.252.10.5

rtrv-ip-rte:gtwy=140.190.15.3

Dependencies

Only one of the dest, gtwy, or loc optional parameters can be specified in a single command.

The value specified for the loc parameter must not correspond to an E5 TDM-A or TDM-B

The specified destination IP address (dest parameter):

  • Must not be the default route (0.0.0.0)
  • Must not correspond to any loopback address (i.e. 127.X.X.X)

The specified gateway IP address (gtwy parameter):

  • Must not be the default route (0.0.0.0)
  • Must not correspond to any loopback address (i.e. 127.X.X.X)

Notes

None

Output

rtrv-ip-rte
    rlghncxa03w 12-07-23 09:50:17 EST  EAGLE 45.0.0
    LOC   DEST             SUBMASK          GTWY
    1301  128.252.10.5     255.255.255.255  140.188.13.33
    1301  128.252.0.0      255.255.0.0      140.188.13.34
    1301  150.10.1.1       255.255.255.255  140.190.15.3
    1303  192.168.10.1     255.255.255.255  150.190.15.23
    1303  192.168.0.0      255.255.0.0      150.190.15.24

    IP Rte  (5 of 2048) 1% 
;


rtrv-ip-rte:loc=1301
rlghncxa03w 12-07-23 09:50:17 EST  EAGLE 45.0.0
    LOC   DEST             SUBMASK          GTWY
    1301  128.252.10.5     255.255.255.255  140.188.13.33
    1301  128.252.0.0      255.255.0.0      140.188.13.34
    1301  150.10.1.1       255.255.255.255  140.190.15.3

    IP Rte (5 of 2048) 1%  
;

Command Executed

Notes

Legend

  • LOC—Card location
  • DEST—Destination IP Address. Can be either IPv4 or IPv6 address
  • GTWY—Gateway IP Address. Can be either IPv4 or IPv6 address
  • SUBMASK—Subnet mask of the IP interface.

Related Topics