PrepAway - Latest Free Exam Questions & Answers

Which command would you use to save the IP address and routing information before upgrading a GAiA Gateway?

Which command would you use to save the IP address and routing information before upgrading a
GAiA Gateway?

PrepAway - Latest Free Exam Questions & Answers

A.
netstat –rn > [filename].txt

B.
ipconfig –a > [filename].txt

C.
cp /etc/sysconfig/network.C [location]

D.
ifconfig > [filename].txt

13 Comments on “Which command would you use to save the IP address and routing information before upgrading a GAiA Gateway?

  1. Oliver Fink says:

    | [Expert@gw01:0]# cat /etc/sysconfig/network.C
    | cat: /etc/sysconfig/network.C: No such file or directory

    Does not look like a correct answer. SInce ipconfig only exists on Windows and ifconfig does not contains any routing information, all that remains is netstat. But this command does not contain any ip address of an interface.

    It seems, that there is no correct answer.




    0



    0
  2. pranab says:

    ipconfig — > windows
    ifconfig -a — > Linux but does not provide routing information
    cp /etc/sysconfig/network.C –> SPLAT only
    netstat -rn –> Windows and Linux and does provide routing information




    0



    0
    1. FriedBacon says:

      Hhmmm..i doubt that linux has an -r option, usually linux uses ‘netstat -an’
      It would be correct if it is only ‘netstat -n’ since BOTH linux and windows use the -n option




      0



      0
  3. German says:

    From the CLI of my GAiA R77.30 Gateway:

    gateway> netstat -rn
    Kernel IP routing table
    Destination Gateway Genmask Flags MSS Window irtt Iface
    x.x.x.x x.x.x.x 255.255.255.255 UGHD 0 0 0 eth1-05.1
    0.0.0.0 x.x.x.x 0.0.0.0 UGD 0 0 0 eth1-01

    I believe the answer is (A), since with that information you could recreate the routing configuration of your Gateway; still I would prefer to run a ‘show configuration’ and copy the output to a .txt file




    0



    0
  4. florentjustin says:

    Does /etc/sysconfig/network.C exist ? I only see /etc/sysconfig/network without .C

    Interfaces and routing
    * /etc/sysconfig/netconf.C
    * /etc/sysconfig/network

    sk54100
    Routing and interface information

    The following information is useful to have on hand as a reference, if you are attempting to restore a configuration, especially if your gateway module has a heavy routing table.

    * Copy of /etc/sysconfig/netconf.C
    * Copy of your routing and interface information

    To create a copy of your routing and interface information:

    # netstat -rn > routes.txt
    # ipconfig -a > ipconfig.txt
    # ifconfig > ifconfig.txt




    0



    0
  5. GGG says:

    A. netstat -rn

    netconf.C exists on my working system, but it’s an empty file:

    =============
    [Expert@FW-01:0]# pwd
    /etc/sysconfig
    [Expert@FW-01:0]# ls netconf.C
    netconf.C
    [Expert@FW-01:0]# more netconf.C
    (conf
    : (conns)
    : (routes)
    )
    [Expert@FW-01:0]#
    =============




    0



    0

Leave a Reply