Why is interface information different between "network port show" and "ifconfig"?
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