Skip to content

Nexus show cdp neighbor fails parsing #928

@bostjanfe

Description

@bostjanfe

Followin output is causing problems:

Capability Codes: R - Router, T - Trans-Bridge, B - Source-Route-Bridge
                  S - Switch, H - Host, I - IGMP, r - Repeater,
                  V - VoIP-Phone, D - Remotely-Managed-Device,
                  s - Supports-STP-Dispute

Device-ID          Local Intrfce  Hldtme Capability  Platform      Port ID
HRRJK04PAS301.crb.apmoller.net
                    Eth1/1         169    R S I     C9300-24T        Ten1/1/1      
HRRJK04PAS101.crb.apmoller.net
                    Eth1/11        160    S I       C9300-24P        Ten1/1/1      
HRRJK04PDS101.crb.apmoller.net
                    Eth1/44        137    R S I     C9500-48Y4C      
                                                            TwentyFiveGigE1/0/43
HRRJK04PCS102.crb.apmoller.net(FDO28010WPA)
                    Eth1/45        155    R S s     N9K-C93180YC-FX3 Eth1/45       
HRRJK04PCS201.crb.apmoller.net(FDO28010WC8)
                    Eth1/46        148    R S s     N9K-C93180YC-FX3 Eth1/46       
HRRJK04PCS102.crb.apmoller.net(FDO28010WPA)
                    Eth1/47        155    R S s     N9K-C93180YC-FX3 Eth1/47       
HRRJK04PCS102.crb.apmoller.net(FDO28010WPA)
                    Eth1/48        155    R S s     N9K-C93180YC-FX3 Eth1/48       
HRRJK04PCS102.crb.apmoller.net(FDO28010WPA)
                    Eth1/49        155    R S I s   N9K-C93180YC-FX3 Eth1/49       
HRRJK04PCS102.crb.apmoller.net(FDO28010WPA)
                    Eth1/50        155    R S I s   N9K-C93180YC-FX3 Eth1/50       
HRRJK04PCS201.crb.apmoller.net(FDO28010WC8)
                    Eth1/51        148    R S I s   N9K-C93180YC-FX3 Eth1/51       
HRRJK04PCS202.crb.apmoller.net(FDO28010WCH)
                    Eth1/52        161    R S I s   N9K-C93180YC-FX3 Eth1/52       
SCRBUCMHRRJK101-A(FDO27500N0Z)
                    Eth1/53        138    R S I s   UCS-FI-6454      Eth1/49       
SCRBUCMHRRJK101-B(FDO2748014F)
                    Eth1/54        134    R S I s   UCS-FI-6454      Eth1/49       

Total entries displayed: 13

Missing keys: [['cdp', 'index', 3, 'hold_time'], ['cdp', 'index', 3, 'port_id'], ['cdp', 'index', 3, 'local_interface'], ['cdp', 'index', 3, 'platform']]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions