Why can't I read /sys/class/net/$NIC_DEVICE/phys_port_id?

Solution Unverified - Updated -

Issue

  • Why can't I read /sys/class/net/$NIC_DEVICE/phys_port_id?

Sample log:

# ethtool -i ens3 | head -2
driver: e1000
version: 7.3.21-k8-NAPI
# cat /sys/class/net/ens3/phys_port_id
cat: /sys/class/net/ens3/phys_port_id: Operation not supported

Environment

  • Red Hat Enterprise Linux 7

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content