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

IOS-XR version of "show interface capabilities" command?

Jimmy Cricket
Level 1
Level 1

I am trying to find a command on Cisco IOS-XR that will definitely inform me if a given interface is an SFP cage port (versus RJ45 hard-wired for example). I am not trying to determine if an SFP is present or not, or what type of SFP, but rather if the interface actually supports an SFP at all.

 

For example on Cisco NXOS (and IOS) you can run 'show interface capabilities' and see output like below:

 

Nexus 9348GC-FXP which has hard-wired interfaces:

Ethernet1/1
  Model:                 N9K-C9348GC-FXP
  Type (Non SFP):        10/100/1g

 

Nexus 93180YC-EX which has SFP cages:

Ethernet1/1
  Model:                 N9K-C93180YC-EX
  Type (SFP capable):    10Gbase-(unknown)

 

I have checked all of the controller commands and the closest I can find on a Cisco IOS-XR is something like:

show controllers GigabitEthernet 0/0/0/10 all

And the information that reveals this is part of the "internal" table:

Internal data for interface: GigabitEthernet0/0/0/10
Subport Number      : 255 
Port Number         : 10 *
Bay Number          : 0 *
Board Type          : 0x60020201 *
Port Type           : 1GE *
Bandwidth(Kbps)     : 1000000 *
Transport mode      : LAN *
BIA MAC addr        : 008a:9621:1428
Oper. MAC addr      : 008a:9621:1428
Egress MAC addr     : 008a:9621:1428
Port Available      : true *
Status polling is   : disabled *
Status events are   : disabled
I/F Handle          : 0x00000138 *
Cfg Link Enabled    : enabled
H/W Tx Enable       : yes
MTU                 : 1514 *
H/W Speed           : 1 Gbps *
H/W Duplex          : Full *
H/W Loopback Type   : None *
FEC                 : Not Configured *
H/W FlowCtrl Type   : Disabled *
H/W AutoNeg Enable  : Off *
H/W Link Defects    : No Fault *
Link Up             : yes *
Link Led Status     : Green ON *
Pluggable Present   : Yes *
Pluggable Type      : SFP 1G 1000BASE-T
Pluggable PID       :  *
Pluggable Compl.    : Failed - Bad Vendor CRC

 

But, you can only get that info by running against each and every interface. I am needing to run a single command on a given device and see the info for every interface. I tried using wildcard (*) but its not supported for the 'all' set of data, nor the 'internal'.

2 Replies 2

balaji.bandi
Hall of Fame
Hall of Fame

how about :

 

show interfaces status
show interfaces transceiver details

if that is not suitable, you looking for more information of the interface, you need to do some scripting out of the box and compile your own reports.

 

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

show controller dwdm

Try this command