cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1202
Views
0
Helpful
2
Replies

ifType Specification

I would like to know ifType specifications. 

 

I run the below API and it returns the ifType value as an integer. Can it be used to identify the switch port type? I am getting the value as 56 or 2 for ifType. What 56 or 2 or any other value mean? Can you share the detailed specification for if type and mapping integer value and its description? 

 

"https://10.x.x.x/fm/fmrest/inventory/getInterfacesBySwitch/?switchDbID=<value>&network=<value> 

Sample Output:

"ifIndex":"16777816","speedValue":"16000000000","nativeVlanId":"","ifType":"56","description":"fc1/1","duplex":"","mode":"NP","isOwnerAllowed":"true","speedStr":"16Gb","ifAllowedVlan":"","adminStatusStr":"up","connectedToType":"SAN","ifIpmask":"","portGroup":"","connToInterfaceIfName":"fc1/1","adminStatus":"1","operStatusCause":"ok","alias":"","connectedToStr":"U36-C8132T-A ......

 

Second Request:

How to identify the port type like (e port, g port) from CLI command show interface?

 

Thanks,

Mayank Gupta

 

2 Replies 2

I would also like to know how to identify the port type like (e port, n port, etc.) from show interface cli command.

 

Thanks.

Ruben Cocheno
Spotlight
Spotlight

@MayankGupta31591 

All sorted?

Tag me to follow up.
Please mark it as Helpful and/or Solution Accepted if that is the case. Thanks for making Engineering easy again.
Connect with me for more on Linkedin https://www.linkedin.com/in/rubencocheno/
Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:


This community is intended for developer topics around Data Center technology and products. If you are looking for a non-developer topic about Data Center, you might find additional information in the Data Center and Cloud community