Linux, FreeBSD, Juniper, Cisco / Network security articles and troubleshooting guides

FAQ
It is currently Sat Oct 23, 2021 9:26 am


Username:
Subject:
Message body:
Enter your message here, it may contain no more than 60000 characters. 

Smilies
:D :) ;) :( :o :shock: :? 8-) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :!: :?: :idea: :arrow: :| :mrgreen: :geek: :ugeek:
Font size:
 
Font colour
Options:
BBCode is ON
[img] is ON
[flash] is OFF
[url] is ON
Smilies are ON
Disable BBCode
Disable smilies
Do not automatically parse URLs
Confirmation code
Confirmation code:
In an effort to prevent automatic submissions, we require that you enter both of the words displayed into the text field underneath.
     

Topic review - FreeBSD ifconfig display capability and supported media types for an interface
Author Message
Post subject: FreeBSD ifconfig display capability and supported media types for an interface  |  Post Posted: Thu Jul 08, 2010 6:26 am
FreeBSD ifconfig display capability and supported media types for an interface

ifconfig FreeBSD utility is used to configure network interface parameters. To display the capability and supported media types of an interface the -m argument must be used.

Ex:
Code:
# ifconfig -m em0
em0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        options=5b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,POLLING>
        capabilities=5b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,POLLING>
        inet 82.78.227.177 netmask 0xfffffff0 broadcast 82.78.227.191
        ether 00:04:23:c7:94:50
        media: Ethernet autoselect (1000baseTX <full-duplex>)
        status: active
        supported media:
                media autoselect
                media 1000baseTX
                media 1000baseTX mediaopt full-duplex
                media 100baseTX mediaopt full-duplex
                media 100baseTX
                media 10baseT/UTP mediaopt full-duplex
                media 10baseT/UTP


Quote:
The ifconfig utility displays the current configuration for a network
interface when no optional parameters are supplied. If a protocol family
is specified, ifconfig will report only the details specific to that pro-
tocol family.

If the -m flag is passed before an interface name, ifconfig will display
the capability list and all of the supported media for the specified
interface. If -L flag is supplied, address lifetime is displayed for
IPv6 addresses, as time offset string.
Jump to:  
cronNews News Site map Site map SitemapIndex SitemapIndex RSS Feed RSS Feed Channel list Channel list


Delete all board cookies | The team | All times are UTC - 5 hours [ DST ]



phpBB SEO