Adding an IP Host

This procedure associates hostnames with IP addresses using the ent-ip-host command.

The ent-ip-host command uses the following parameters.

:host– The host name to be associated with the IP address. This parameter identifies the logical name assigned to the device with the IP address indicated. The host name can contain up to 60 characters (using only these characters: a-z, A-Z, 0-9, -, .) and is not case sensitive. The host name must begin with a letter. Host names containing a dash (-) must be enclosed in double quotes.

:ipaddr – The IP address to be associated with the hostname. The node’s IP address. This is an IP address expressed in standard “dot notation.” IP addresses consist of the system’s network number and the machine’s unique host number.

:type – Specifies if the host resides on the IP card on the EAGLE 5 (type=local, the default value), or if the host resides on equipment that is not in the EAGLE 5 (type=remote). This parameter is optional.

The EAGLE 5 can contain a maximum of 4096 IP hosts.

The IP address for a local host must be shown in the rtrv-ip-lnk output.

The IP address for a remote host must not be shown in the rtrv-ip-lnk output.

  1. Display the current IP host information in the database by entering the rtrv-ip-host:display=all command.

    The following is an example of the possible output.

    
    rlghncxa03w 13-06-28 21:17:37 GMT EAGLE5 45.0.0
    LOCAL IPADDR    LOCAL HOST
    192.1.1.10      IPNODE1-1201
    192.1.1.12      IPNODE1-1203
    192.1.1.14      IPNODE1-1205
    192.1.1.20      IPNODE2-1201
    192.1.1.22      IPNODE2-1203
    192.1.1.24      IPNODE2-1205
    192.1.1.32      KC-HLR2
    192.1.1.50      DN-MSC1
    192.1.1.52      DN-MSC2
    
    REMOTE IPADDR   REMOTE HOST
    150.1.1.5       NCDEPTECONOMIC_DEVELOPMENT. SOUTHEASTERN_COORIDOR_ASHVL. GOV
    
    IP Host table is (10 of 4096) .24% full
    
  2. Verify that the IP address assigned to the IP links by entering the rtrv-ip-lnk command.

    The following is an example of the possible output.

    
    rlghncxa03w 08-12-28 21:14:37 GMT EAGLE5 40.0.0
    LOC   PORT IPADDR          SUBMASK         DUPLEX  SPEED MACTYPE AUTO MCAST
    1201  A    192.1.1.10      255.255.255.128 HALF    10    802.3   NO   NO
    1201  B    --------------- --------------- HALF    10    DIX     NO   NO
    1203  A    192.1.1.12      255.255.255.0   ----    ---   DIX     YES  NO
    1203  B    --------------- --------------- HALF    10    DIX     NO   NO
    1205  A    192.1.1.14      255.255.255.0   FULL    100   DIX     NO   NO
    1205  B    --------------- --------------- HALF    10    DIX     NO   NO
    2101  A    192.1.1.20      255.255.255.0   FULL    100   DIX     NO   NO
    2101  B    --------------- --------------- HALF    10    DIX     NO   NO
    2103  A    192.1.1.22      255.255.255.0   FULL    100   DIX     NO   NO
    2103  B    --------------- --------------- HALF    10    DIX     NO   NO
    2105  A    192.1.1.24      255.255.255.0   FULL    100   DIX     NO   NO
    2105  B    --------------- --------------- HALF    10    DIX     NO   NO
    2207  A    192.1.1.32      255.255.255.0   FULL    100   DIX     NO   NO
    2207  B    --------------- --------------- HALF    10    DIX     NO   NO
    2213  A    192.1.1.50      255.255.255.0   FULL    100   DIX     NO   NO
    2213  B    --------------- --------------- HALF    10    DIX     NO   NO
    2301  A    192.1.1.52      255.255.255.0   FULL    100   DIX     NO   NO
    2301  B    --------------- --------------- HALF    10    DIX     NO   NO
    
    IP-LNK   table is (20 of 2048) 1% full.
    

    If a local host is being configured in this procedure, the IP address assigned to the local host must be shown in the rtrv-ip-lnk output. If the IP address is not shown in the rtrv-ip-lnk output, add the IP address by performing the Configuring an IP Link procedure.

    If a remote host is being configured in this procedure, the IP address assigned to the remote host cannot be shown in the rtrv-ip-lnk output.

  3. Add IP host information to the database by entering the ent-ip-host command.
    If a local host is being configured, enter the ent-ip-host command with the IP address from 2, and the type=local parameter or without the type parameter. If the type parameter is not specified with the ent-ip-host command, the type parameter value defaults to local.

    If a remote host is being configured, enter the ent-ip-host command with the IP address that is not shown in 2, and the type=remote parameter.

    For example, enter this command.

    ent-ip-host:host=”kc-hlr1”:ipaddr=192.1.1.30

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

    
    rlghncxa03w 06-10-28 21:18:37 GMT EAGLE5 36.0.0
    ENT-IP-HOST: MASP A - COMPLTD
    
  4. Verify the new IP host information in the database by entering the rtrv-ip-host command with the host parameter value specified in 3.

    For this example, enter this command.

    rtrv-ip-host:host=”kc-hlr1”

    The following is an example of the possible output.

    
    rlghncxa03w 13-06-28 21:19:37 GMT EAGLE5 45.0.0
    LOCAL IPADDR    LOCAL HOST
    192.1.1.30      KC-HLR1
    
    IP Host table is (11 of 4096) .26% full
    
  5. 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-4 Adding an IP Host