CL Command Reference - CHGTCPRTE
CL Command List > CHGTCPRTE Reference
Description:
The Change TCP/IP Route (CHGTCPRTE) command is used to change an existing route in the Transmission Control Protocol/Internet Protocol (TCP/IP) configuration.
Five parameter values uniquely define a route. These values are the route destination (RTEDEST) the subnet mask (SUBNETMASK), the type of service (TOS), the internet address of the next system on the route (NEXTHOP), and the preferred binding interface (BINDIFC). For default routes and default multicast routes (*DFROUTE and *DFTMCAST), the NEXTHOP, TOS and BINDIFC values uniquely define the route because the SUBNETMASK is always *NONE.
Restrictions:
. You must have input/output system configuration (*IOSYSCFG) special authority to run this command.
. Only one parameter, the MTU value, can be changed on an existing route entry. The route cannot be in use when attempting to change its MTU value.
. Attempts to change a route that is required to reach an existing RSI entry will fail.
Examples:
Example 1: Changing a Route
CHGTCPRTE RTEDEST(กฏ132.65.0.0กฏ) SUBNETMASK(กฏ255.255.0.0กฏ)
TOS(*MINDELAY) NEXTHOP(กฏ132.65.34.98กฏ) MTU(1024)
This command changes the route identified by route destination 132.65.0.0 with a subnetmask of 255.255.0.0 and type of service of *MINDELAY. The change is to use a maximum transmission unit (MTU) of 1024.
Example 2: Changing a Default Route
CHGTCPRTE RTEDEST(*DFTROUTE) SUBNETMASK(*NONE) TOS(*NORMAL)
NEXTHOP(กฏ186.49.126.108กฏ) MTU(1024)
This command changes the default route identified by next-hop value 186.49.126.108 to use an MTU value of 1024.