04-19-2022 04:32 PM - edited 04-19-2022 04:33 PM
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'.
04-19-2022 04:59 PM - edited 04-19-2022 05:01 PM
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.
04-19-2022 05:41 PM
show controller dwdm
Try this command
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide