Removing an IP Route

This procedure is used to remove an IP route from the database using the dlt-ip-rte command.

The dlt-ip-rte command uses these parameters.

:loc – The location of the IP card containing the IP route being removed.

:dest – The IP address of the remote host or network assigned to the IP route being removed.

:force – To remove the IP route, the IP card that the route is assigned to must be out of service, or the force=yes parameter must be specified with the dlt-ip-rte command. The force=yes parameter allows the IP route to be removed if the IP card is in service.

Caution:

Removing an IP route while the IP card is still in service can result in losing the ability to route outbound IP traffic on the IP card. This can cause both TCP and SCTP sessions on the IP card to be lost.
  1. Display the IP routes in the database with the rtrv-ip-rte command.
    This is an example of the possible output.
    
    rlghncxa03w 06-10-28 09:12:36 GMT EAGLE5 36.0.0
    LOC   DEST             SUBMASK          GTWY
    1212  132.10.175.20    255.255.0.0      150.1.1.50
    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.255.0    150.190.15.24
    
    IP Route table is  (6 of 2048) 0.29% full
    
  2. Verify the state of the IP card containing the IP route being removed by entering the rept-stat-card command and specifying the card location of the IP card.
    The IP card should be in the out-of-service maintenance-disabled (OOS-MT-DSBLD) in order to remove the IP route. If the IP card’s state is out-of-service maintenance-disabled, the entry OOS-MT-DSBLD is shown in the PST column of the rept-stat-card output. For this example, enter this command.

    rept-stat-card:loc=1301

    This is an example of the possible output.

    
    rlghncxa03w 06-10-27 17:00:36 GMT EAGLE5 36.0.0
    CARD  VERSION      TYPE    GPL       PST           SST       AST
    1301  114-000-000  DCM     IPLIM     IS-NR         Active    -----
      ALARM STATUS      = No Alarms.
      BPDCM GPL         = 002-102-000
      IMT BUS A         = Conn
      IMT BUS B         = Conn
      SIGNALING LINK STATUS
          SLK    PST                LS            CLLI
          A      IS-NR              nc001         -----------
    
    Command Completed.
    

    Note:

    If the output of 2 shows that the IP card’s state is not OOS-MT-DSBLD, and you do not wish to change the state of the IP card, continue the procedure with 4.
  3. Change the IP card’s state to OOS-MT-DSBLD using the inh-card command and specifying the card location of the IP card.
    For this example, enter these commands.

    inh-card:loc=1301

    When this command has successfully completed, this message appears.

    
    rlghncxa03w 06-10-12 09:12:36 GMT EAGLE5 36.0.0
    Card has been inhibited.
    
  4. Remove the IP route from the database using the dlt-ip-rte command.
    If the state of the IP card is not OOS-MT-DSBLD, the force=yes parameter must be specified with the dlt-ip-rte command. For this example, enter this command.

    dlt-ip-rte:loc=1301:dest=128.252.0.0

    Caution:

    Removing an IP route while the IP card is still in service can result in losing the ability to route outbound IP traffic on the IP card. This can cause both TCP and SCTP sessions on the IP card to be lost.

    When this command has successfully completed, this message should appear.

    
    rlghncxa03w 06-10-12 09:12:36 GMT EAGLE5 36.0.0
    DLT-IP-RTE: MASP A - COMPLTD
    
  5. Verify the changes using the rtrv-ip-rte command.
    This is an example of the possible output.
    
    rlghncxa03w 06-10-28 09:12:36 GMT EAGLE5 36.0.0
    LOC   DEST             SUBMASK          GTWY
    1212  132.10.175.20    255.255.0.0      150.1.1.50
    1301  128.252.10.5     255.255.255.255  140.188.13.33
    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 Route table is  (5 of 2048) 0.24% full
    
  6. Place the IP card back into service by using the alw-card command.

    Note:

    If the IP card containing the IP route that was removed from the database does not contain other IP routes, continue the procedure with 7.

    For example, enter this command.

    alw-card:loc=1301

    This message should appear.

    
    rlghncxa03w 06-10-28 21:22:37 GMT EAGLE5 36.0.0
    Card has been allowed.
    
  7. Back up the new changes using the chg-db:action=backup:dest=fixed command.
    These messages should appear, the active Maintenance and Administration Subsystem Processor (MASP) appears first.
    
    BACKUP (FIXED) : MASP A - Backup starts on active MASP.
    BACKUP (FIXED) : MASP A - Backup on active MASP to fixed disk complete.
    BACKUP (FIXED) : MASP A - Backup starts on standby MASP.
    BACKUP (FIXED) : MASP A - Backup on standby MASP to fixed disk complete.
    

Figure 3-15 Removing an IP Route