Reset Search
 

 

Article

How to display the full port-name in show interface output?

« Go Back

Information

 
TitleHow to display the full port-name in show interface output?
Question
This FAQ applies only to the NetIron code base. (MLX, MLXe, XMR, CES, CER)

Commands included: sh int br, show interface brief, port-name

Environment
Answer
Normally, when userstype the command "show interface brief," the port-name is truncated if the name is longer than 15 characters:

NetIron MLX-4 Router(config-if-e10000-1/1)#show run interface ethernet 1/1
interface ethernet 1/1
port-name thisnameiswaytolong
enable
!


NetIron MLX-4 Router(config-if-e10000-1/1)#show interface brief

Port Link Port-State Dupl Speed Trunk Tag Priori MAC Name Type
1/1 EmptyNone None None None No level0 0024.3881.b200 thisnameiswaytodefault-port
1/2 EmptyNone None None None No level0 0024.3881.b201 default-port
1/3 EmptyNone None None None No level0 0024.3881.b202 default-port


In order to display the full port-name's for all interfaces in an abbreviated list, use the following command:

NetIron MLX-4 Router(config-if-e10000-1/1)#show int brief wide

Port Link Port-State Speed Tag MAC Name
1/1 EmptyNone None No 0024.3881.b200 thisnameiswaytolong
1/2 EmptyNone None No 0024.3881.b201
1/3 EmptyNone None No 0024.3881.b202

Additional notes

Feedback

 

Was this article helpful?


   

Feedback

Please tell us how we can make this article more useful.

Characters Remaining: 255