Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

show interface transceiver <interface> fails in Multi-asic without the asic. #2984

Open
rraghav-cisco opened this issue Sep 17, 2023 · 0 comments

Comments

@rraghav-cisco
Copy link

When we use the command, is it expected to provide the asic if we provide the interface ?

root@xx37-lc0:/home/cisco# show interfaces transceiver -h
Usage: show interfaces transceiver [OPTIONS] COMMAND [ARGS]...

  Show SFP Transceiver information

Options:
  -h, -?, --help  Show this message and exit.

Commands:
  eeprom        Show interface transceiver EEPROM information
  error-status  Show transceiver error-status
  info          Show interface transceiver information
  lpmode        Show interface transceiver low-power mode status
  pm            Show interface transceiver performance monitoring...
  presence      Show interface transceiver presence
  status        Show interface transceiver status information
root@xx37-lc0:/home/cisco# show interfaces transceiver eeprom -h
Usage: show interfaces transceiver eeprom [OPTIONS] [INTERFACENAME]

  Show interface transceiver EEPROM information

Options:
  -d, --dom                       Also display Digital Optical Monitoring
                                  (DOM) data
  -n, --namespace [asic0|asic1|asic2]
                                  Namespace name or all
  --verbose                       Enable verbose output
  -h, -?, --help                  Show this message and exit.
root@xx37-lc0:/home/cisco# 


root@xx37-lc0:/home/cisco# show interface transceiver presence Ethernet0 -n asic0 <<< works
Port       Presence
---------  ----------
Ethernet0  Present
root@xx37-lc0:/home/cisco# show interface transceiver presence Ethernet0 <<<< Not work.
Port       Presence
---------  -----------
Ethernet0  Not present
root@xx37-lc0:/home/cisco# 

Other options are able to work without asic input:

root@xx37-lc0:/home/cisco# show interface status Ethernet0
  Interface                Lanes    Speed    MTU    FEC       Alias            Vlan    Oper    Admin                                             Type    Asym PFC
-----------  -------------------  -------  -----  -----  ----------  --------------  ------  -------  -----------------------------------------------  ----------
  Ethernet0  1288,1289,1290,1291     100G   9100     rs  Eth0/0/0/0  PortChannel102      up       up  QSFP-DD Double Density 8X Pluggable Transceiver         off
root@xx37-lc0:/home/cisco# show interface status Ethernet0 -n asic0
  Interface                Lanes    Speed    MTU    FEC       Alias            Vlan    Oper    Admin                                             Type    Asym PFC
-----------  -------------------  -------  -----  -----  ----------  --------------  ------  -------  -----------------------------------------------  ----------
  Ethernet0  1288,1289,1290,1291     100G   9100     rs  Eth0/0/0/0  PortChannel102      up       up  QSFP-DD Double Density 8X Pluggable Transceiver         off
root@xx37-lc0:/home/cisco# show interface status Ethernet0 -n asic1
  Interface    Lanes    Speed    MTU    FEC    Alias    Vlan    Oper    Admin    Type    Asym PFC
-----------  -------  -------  -----  -----  -------  ------  ------  -------  ------  ----------
root@xx37-lc0:/home/cisco# 
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant