Displaying the Port Name for an Interface
You can use the
show interface brief
command to display the name assigned to the port. If any of the ports have long port
names, they are truncated. To show full port names, use the show interfaces brief
wide command.
device# show interfaces brief Port Link State Dupl Speed Trunk Tag Pvid Pri MAC Name 1/1/23 Up Forward Full 1G None No 1 0 748e.f82d.7a16 connected- 1/1/47 Up Forward Full 1G None No 1 0 748e.f82d.7a2e mgmt1 Up None Full 1G None No None 0 748e.f82d.7a00
In this output, the port name for interface 1/1/23 is truncated.
Use the
show interface brief wide command to avoid truncating long port names.
To display the complete port name for an interface, enter the following command.
device# show interface brief wide Port Link State Dupl Speed Trunk Tag Pvid Pri MAC Name 1/1/23 Up Forward Full 1G None No 1 0 748e.f82d.7a16 connected- to-the nearest device 1/1/47 Up Forward Full 1G None No 1 0 748e.f82d.7a2e mgmt1 Up None Full 1G None No None 0 748e.f82d.7a00
The following table describes the output parameters of the
show interface brief wide command.
Output parameters of the show interface brief wide command
To display the complete port name for an Ethernet interface, enter a command such as the following.
device# show interface brief wide ethernet 1/1/23 Port Link State Dupl Speed Trunk Tag Pvid Pri MAC Name 1/1/23 Up Forward Full 1G None No 1 0 748e.f82d.7a16 connected-to-ICX