gtpo1mgiOperations

ZTRTE-Manage IP Routing Tables

Use this command to do the following:

Requirements and Restrictions

Format




ADD
adds a new IP routing table entry. This entry includes a remote IP address or subnet of remote IP addresses, and either a corresponding local IP address or the address of the next-hop IP router used to reach the remote IP address or subnet of remote IP addresses.

RIP-ripaddr
specifies the remote IP address or subnet of remote IP addresses, where ripaddr is the numeric remote IP address or subnet of remote IP addresses.

LIP-lipaddr
specifies the local IP address, where lipaddr is the numeric IP address.

NEXThop-nextip
specifies the IP address of the next-hop IP router, where nextip is the numeric IP address.

NETmask-netmask
specifies the network mask used with the remote IP address supplied in the RIP parameter to determine the subnet of possible remote IP addresses, where netmask is the network mask in numeric format.

DELete
deletes IP routing table entries.

ALL
deletes or displays all entries in the IP routing table.

MODify
modifies IP routing table entries. You can also specify a new local IP address by using the NEWLIP parameter.

NEWLIP-newlip
specifies the local IP address placed in the selected IP routing table entries, where newlip is the numeric IP address.

DISPlay
displays IP routing table entries.

STAT
displays IP routing table statistics, including the total number of entries, the number of active entries, and the number of available entries.

Additional Information

Examples

The following example adds an IP routing table entry for a specific remote IP address:

+---------------------------------------------------------------------------------------------+
|User:   ZTRTE ADD RIP-9.117.147.165 LIP-9.117.249.70                                         |
|                                                                                             |
|System: TRTE0001I 09.01.01 IP ROUTING TABLE ENTRY CREATED,   1000 ENTRIES AVAILABLE          |
+---------------------------------------------------------------------------------------------+

The following example adds an IP routing table entry for a subnet of remote IP addresses (9.117.147.00-9.117.147.255):

+---------------------------------------------------------------------------------------------+
|User:   ZTRTE ADD RIP-9.117.147.00 LIP-9.117.249.70 NETMASK-255.255.255.0                    |
|                                                                                             |
|System: TRTE0001I 09.01.01 IP ROUTING TABLE ENTRY CREATED,   999 ENTRIES AVAILABLE           |
+---------------------------------------------------------------------------------------------+

The following example deletes an IP routing table entry for a specific remote IP address:

+---------------------------------------------------------------------------------------------+
|User:   ZTRTE DELETE RIP-9.117.147.165 LIP-9.117.249.70                                      |
|                                                                                             |
|System: TRTE0002I 09.01.01 IP ROUTING TABLE ENTRY DELETED,   1000 ENTRIES AVAILABLE          |
+---------------------------------------------------------------------------------------------+

The following example deletes an IP routing table entry for a subnet of remote IP addresses (9.117.147.00-9.117.147.255):

+---------------------------------------------------------------------------------------------+
|User:   ZTRTE DELETE RIP-9.117.147.00 LIP-9.117.249.70 NETMASK-255.255.255.0                 |
|                                                                                             |
|System: TRTE0002I 09.01.01 IP ROUTING TABLE ENTRY DELETED,   1001 ENTRIES AVAILABLE	         |
+---------------------------------------------------------------------------------------------+

The following example modifies an IP routing table entry for a specific remote IP address, changing its associated local IP address to 9.117.259.72:

+---------------------------------------------------------------------------------------------+
|User:   ZTRTE MODIFY RIP-9.117.147.165 LIP-9.117.249.70 NEWLIP-9.117.259.72                  |
|                                                                                             |
|System: TRTE0003I 09.01.01 IP ROUTING TABLE ENTRY MODIFIED,   1001 ENTRIES AVAILABLE	        |
+---------------------------------------------------------------------------------------------+

The following example displays all IP routing table entries for a specific remote IP address:

+--------------------------------------------------------------------------------+
|User:   ZTRTE DISP RIP-9.117.147.165                                            |
|                                                                                |
|System: TRTE0004I 09.01.01 IP ROUTING TABLE DISPLAY                             |
|        REMOTE            NETMASK        LOCAL            NEXTHOP               |
|        IP                               IP               IP                    |
|        --------------- ------------- ----------------- ----------------        |
|        9.117.147.165                    9.117.249.70                           |
|        9.117.147.165                    9.117.249.71                           |
|        9.117.147.165                                     9.117.247.72          |
|        END OF DISPLAY                                                          |
+--------------------------------------------------------------------------------+

The following example displays all IP routing table entries for a subnet of remote IP addresses:

+--------------------------------------------------------------------------------+
|User:   ZTRTE DISP RIP-9.117.147.0 NETMASK-255.255.255.0                        |
|                                                                                |
|System: TRTE0004I 09.01.01 IP ROUTING TABLE DISPLAY                             |
|        REMOTE            NETMASK             LOCAL            NEXTHOP          |
|        IP                                    IP               IP               |
|        --------------- ------------------- ---------------- ------------       |
|        9.117.147.000      255.255.255.000    9.117.249.60                      |
|        9.117.147.128      255.255.255.128    9.117.249.50                      |
|        9.117.147.165                         9.117.249.70                      |
|        9.117.147.165                         9.117.249.71                      |
|        9.117.147.165                         9.117.247.72                      |
|        END OF DISPLAY                                                          |
+--------------------------------------------------------------------------------+

Related Information

See TPF Transmission Control Protocol/Internet Protocol for more information about TCP/IP support. See TPF ACF/SNA Network Generation for more information about the SNAKEY macro.