Skip to main content
NetApp Knowledge Base

Why is interface information different between "network port show" and "ifconfig"?

Views:
695
Visibility:
Public
Votes:
0
Category:
ontap-9
Specialty:
hw
Last Updated:

 

Applies to

ONTAP 9.7

Answer

ifconfig information is updated only once the link comes up

Additional Information

  • network port show reflects the configuration specified by the administrator

cluster::> network port show -node node-01 -port e3b
                                                  Speed(Mbps) Health
Port      IPspace      Broadcast Domain Link MTU  Admin/Oper  Status
--------- ------------ ---------------- ---- ---- ----------- --------
e3b       Default      Default          down 9000 40000/-     -

  • ifconfig reflects the current status (Operational Status) of the interface

cluster::> node run -node node-01 -command ifconfig e3b
e3b: flags=8843<up,broadcast,running,simplex,multicast> metric 0 mtu 1500
    options=ec07bb<rxcsum,txcsum,vlan_mtu,vlan_hwtagging,jumbo_mtu,vlan_hwcsum,tso4,tso6,lro,vlan_hwtso,linkstate,rxcsum_ipv6,txcsum_ipv6>
    ether 00:07:43:44:05:58
    media: Ethernet autoselect (autoselect)
    status: no carrier

NetApp provides no representations or warranties regarding the accuracy or reliability or serviceability of any information or recommendations provided in this publication or with respect to any results that may be obtained by the use of the information or observance of any recommendations provided herein. The information in this document is distributed AS IS and the use of this information or the implementation of any recommendations or techniques herein is a customer's responsibility and depends on the customer's ability to evaluate and integrate them into the customer's operational environment. This document and the information contained herein may be used solely in connection with the NetApp products discussed in this document.
Scan to view the article on your device