PrepAway - Latest Free Exam Questions & Answers

4 Comments on “Which option must be used with ifconfig, to also see interfaces that are down?

  1. Ektoras says:

    ifconfig -d is correct

    ifconfig

    Configure network interface parameters

    Syntax:

    ifconfig interface address_family [address [dest_address]]
    [parameters]
    ifconfig [-hLmvz] interface [protocol_family]
    ifconfig -a [-bdhLmsuvz] [protocol_family]
    ifconfig -l [-b] [-d] [-u] [-s]
    ifconfig -s interface
    ifconfig -C

    Runs on:

    Neutrino
    Options:

    -a
    Display information about all of the interfaces in the system. You can use the -d, -u, -b, and -s options with this option to limit this display.
    -b
    List only the broadcast interfaces.
    -C
    List all of the interface cloners available on the system, with no additional information. This option is mutually exclusive with all other options and commands.
    -d
    List only the interfaces that are down.
    -h
    If you use this option in conjunction with -v, ifconfig prints the byte statistics are in human-readable format.
    -L
    Display the address lifetime for IPv6 addresses, as a time offset string.
    -l
    List all available interfaces on the system, with no additional information. This option is mutually exclusive with all other options and commands, except for -b, -d, -s, -u.
    -m
    Display all of the supported media for all of the interfaces in the system (used in conjunction with -a).

    If you specify the -m option before an interface name, ifconfig displays all of the supported media for the specified interface.
    -s
    If you specify the -a option, the -s option makes ifconfig list only the interfaces that are connected.

    If you specify the -s option for a specific interface, ifconfig queries the interface for its media status. If the interface supports reporting media status, and it reports that it doesn’t appear to be connected to a network, ifconfig exits with status of 1 (false); otherwise, it exits with zero (true). Not all interface drivers support media status reporting.
    -u
    List only the interfaces which are up.
    -v
    Print statistics on packets sent and received on the given interface. You can use the -h in conjunction with -v to display the byte statistics in human-readable format.
    -z




    0



    0

Leave a Reply