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

Error to add HUAWEI #119

Open
StackAls opened this issue Feb 1, 2024 · 5 comments
Open

Error to add HUAWEI #119

StackAls opened this issue Feb 1, 2024 · 5 comments
Assignees
Labels
help wanted Extra attention is needed

Comments

@StackAls
Copy link

StackAls commented Feb 1, 2024

Hello! I install new netbox with netdoc - Instruction
I also add ntc-templates.
But my data not parsed.
image

what logs and data should I provide you with?

@StackAls StackAls changed the title Error to add HUAWAI Error to add HUAWEI Feb 1, 2024
@dainok
Copy link
Owner

dainok commented Feb 1, 2024

Open a log, for example display arp. Export (top-right) the JSON file and send it to me.

@StackAls
Copy link
Author

StackAls commented Feb 2, 2024

Open a log, for example display arp. Export (top-right) the JSON file and send it to me.

logs.tar.gz

Thanks!! I cut the password in 89.json

@dainok
Copy link
Owner

dainok commented Feb 2, 2024

@StackAls which type of device is this?
Huawei is a nightmare because many models give a different outputs, and that's hard to automate.

The failing supported logs are

  • display arp all
  • display lldp neighbor
  • display interface

The command about display vlan is failing, is this correct? Is there any other commands?
Templates to be fixes are stored in a 3rd party repository: https://github.com/networktocode/ntc-templates

@dainok dainok self-assigned this Feb 2, 2024
@dainok dainok added the help wanted Extra attention is needed label Feb 2, 2024
@StackAls
Copy link
Author

StackAls commented Feb 2, 2024

@dainok HUAWEI CloudEngine S5735-S24T4X

logs of commands
netbox.log

display vlan

<MSH294317TEST2>display vlan all    
                             ^
Error: Wrong parameter found at '^' position.
<MSH294317TEST2>display vlan     
The total number of VLANs is: 2
--------------------------------------------------------------------------------
U: Up;         D: Down;         TG: Tagged;         UT: Untagged;
MP: Vlan-mapping;               ST: Vlan-stacking;
#: ProtocolTransparent-vlan;    *: Management-vlan;
--------------------------------------------------------------------------------

VID  Type    Ports                                                          
--------------------------------------------------------------------------------
1    common  UT:GE0/0/2(D)      GE0/0/3(D)      GE0/0/4(D)      GE0/0/5(D)      
                GE0/0/6(D)      GE0/0/7(D)      GE0/0/8(D)      GE0/0/9(D)      
                GE0/0/10(D)     GE0/0/11(D)     GE0/0/12(D)     GE0/0/13(D)     
                GE0/0/14(D)     GE0/0/15(D)     GE0/0/16(D)     GE0/0/17(D)     
                GE0/0/18(D)     GE0/0/19(D)     GE0/0/20(D)     GE0/0/21(D)     
                GE0/0/22(D)     GE0/0/23(D)     GE0/0/24(D)     XGE0/0/1(D)     
                XGE0/0/2(D)     XGE0/0/3(D)     XGE0/0/4(D)                     
2008 common  UT:GE0/0/1(U)                                                      

VID  Status  Property      MAC-LRN Statistics Description      
--------------------------------------------------------------------------------
1    enable  default       enable  disable    VLAN 0001                         
2008 enable  default       enable  disable    VLAN 2008                         
<MSH294317TEST2>

I add this https://github.com/networktocode/ntc-templates - also errors

@dainok
Copy link
Owner

dainok commented Feb 3, 2024

You are required to fix NTC Templates. I can help you on that, but I expect busy days in the next weeks.ì so it will take times.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants