Details
The following CLI command displays the physical media connected to a port:
> show system state filter-pretty sys.s(x).p(y).phy [x=slot number and y=port number]
Example output:
> show system state filter-pretty sys.s1.p1.phy
sys.s1.p1.phy: {
link-partner: { },
media: CAT5,
type: Ethernet,
}
The following command displays the interface counters:
> show system state filter-pretty sys.s(x).p(y).stats [x=slot number and y=port number]
Example Output
> show system state filter-pretty sys.s1.p1.stats
sys.s1.p1.stats: {
rx-broadcast: 0,
rx-bytes: 0,
rx-multicast: 0,
rx-unicast: 0,
tx-broadcast: 0,
tx-bytes: 0,
tx-multicast: 0,
tx-unicast: 0,
}
The following command displays the actual and configured speed/duplex of the port:
> show interface ethernet1/20
Name: ethernet1/20, ID: 35
Link status:
Runtime link speed/duplex/state: 1000/full/up
Configured link speed/duplex/state: auto/auto/auto
MAC address:
Port MAC address 00:1b:17:01:10:23
Operation mode: layer3
owner: kadak