How to Display Port Information: Connected Media, Interface Counters, Speed/Duplex

How to Display Port Information: Connected Media, Interface Counters, Speed/Duplex

142340
Created On 09/25/18 19:47 PM - Last Modified 06/08/23 02:53 AM


Resolution


 

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



Actions
  • Print
  • Copy Link

    https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA10g000000Cld3CAC&refURL=http%3A%2F%2Fknowledgebase.paloaltonetworks.com%2FKCSArticleDetail

Choose Language