Você está na página 1de 1

[rancid] Support Switch Huawei Quidway S5328

http://www.shrubbery.net/pipermail/rancid-discu...

[rancid] Support Switch Huawei Quidway S5328


Juan Carlos Buitrago Zapata jcbuitrago at edatel.com.co
Fri May 31 21:28:03 UTC 2013
Previous message: [rancid] jrancid excess revisions due to expect prompt mismatches?
Next message: [rancid] Support Switch Huawei Quidway S5328
Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hello,
I've tried to use rancid for our switch

Huawei Quidway S5328, the commands are the same to our Switch 3Com, Although the backup isn't working.

I would like to know if I have to do something additional to support this new brand.
# h3crancid -d sw-acceso-frontino
defined(%hash) is deprecated at /usr/local/libexec/rancid/h3crancid line 121.
(Maybe you should just omit the defined()?)
executing h3clogin -t 20 -c"screen-length 0 temporary;display version;display boot-loader;display ip routing-table;display current-configuration" sw-acceso-frontino
sw-acceso-frontino h3clogin error: Error: Wrong parameter found at '^' position.
sw-acceso-frontino h3clogin error: Error: Wrong parameter found at '^' position.
sw-acceso-frontino: clean_run=0 found_end=0
sw-acceso-frontino: missed cmd(s): screen-length 0 temporary,display ip routing-table,display current-configuration,display boot-loader,display version
sw-acceso-frontino: missed cmd(s): screen-length 0 temporary,display ip routing-table,display current-configuration,display boot-loader,display version
sw-acceso-frontino: End of run not found
sw-acceso-frontino: End of run not found
-----------With the same Switch :
#env NOPIPE=YES PATH=${PATH}:/usr/local/libexec/rancid/ h3crancid

-d 192.168.40.61

defined(%hash) is deprecated at /usr/local/libexec/rancid/h3crancid line 121.


(Maybe you should just omit the defined()?)
executing h3clogin -t 20 -c"screen-length 0 temporary;display version;display boot-loader;display ip routing-table;display current-configuration" 192.168.40.61
192.168.40.61 h3clogin error: Error: Wrong parameter found at '^' position.
192.168.40.61 h3clogin error: Error: Wrong parameter found at '^' position.
192.168.40.61: clean_run=0 found_end=0
192.168.40.61: missed cmd(s): screen-length 0 temporary,display ip routing-table,display current-configuration,display boot-loader,display version
192.168.40.61: missed cmd(s): screen-length 0 temporary,display ip routing-table,display current-configuration,display boot-loader,display version
192.168.40.61: End of run not found
192.168.40.61: End of run not found
!
This Execution generate this file: 192.168.40.61.raw and this file has all commands results as shown on next.
[rancid at mde-costal ~/Switch]$ cat 192.168.40.61.raw
192.168.40.61
spawn telnet 192.168.40.61
Trying 192.168.40.61...
Connected to sw-acceso-frontino.
Escape character is '^]'.

Login authentication

Username:rancid
Password:
Info: The max number of VTY users is 5, and the number
of current VTY users on line is 1.
<SW-ACCESO-FRONTINO>super
Now user privilege is 3 level, and only those commands whose level is equal to or less than this level can be used.
Privilege note: 0-VISIT, 1-MONITOR, 2-SYSTEM, 3-MANAGE
<SW-ACCESO-FRONTINO>
<SW-ACCESO-FRONTINO>undo terminal monitor
Info: Current terminal monitor is off.
<SW-ACCESO-FRONTINO>screen-length disable
^
Error: Wrong parameter found at '^' position.
<SW-ACCESO-FRONTINO>screen-length 0 temporary
Info: The configuration takes effect on the current user terminal interface only.
<SW-ACCESO-FRONTINO>display version
Huawei Versatile Routing Platform Software
VRP (R) software, Version 5.70 (S5300 V100R005C01SPC100)
Copyright (C) 2000-2011 HUAWEI TECH CO., LTD
Quidway S5328C-EI-24S Routing Switch uptime is 30 weeks, 2 days, 8 hours, 44 minutes
EFGF 0(Master) : uptime is 30 weeks, 2 days, 8 hours, 43 minutes
256M bytes DDR Memory
32M bytes FLASH
Pcb
Version : VER B
Basic BOOTROM Version : 107 Compiled at Jan 18 2011, 22:52:53
CPLD
Version : 69
Software Version : VRP (R) Software, Version 5.70 (S5300 V100R005C01SPC100)
HINDCARD information
Pcb
Version : CX22ETPC VER B
FANCARD information
Pcb
Version : FAN VER B
PWRCARD I information
Pcb
Version : PWR VER A
PWRCARD II information
Pcb
Version : PWR VER A
<SW-ACCESO-FRONTINO>display boot-loader
^
Error: Unrecognized command found at '^' position.
<SW-ACCESO-FRONTINO>display ip routing-table
Route Flags: R - relay, D - download to fib
-----------------------------------------------------------------------------Routing Tables: Public
Destinations : 10
Routes : 10
Destination/Mask
10.50.50.0/24
10.50.50.50/32
10.90.90.0/24
10.90.90.90/32
127.0.0.0/8
127.0.0.1/32
192.168.40.0/23
192.168.40.61/32
200.35.33.7/32
200.35.33.13/32

Proto

Pre

Cost

Direct
Direct
Direct
Direct
Direct
Direct
Direct
Direct
Static
Static

0
0
0
0
0
0
0
0
60
60

0
0
0
0
0
0
0
0
0
0

Flags NextHop
D
D
D
D
D
D
D
D
RD
RD

10.50.50.50
127.0.0.1
10.90.90.90
127.0.0.1
127.0.0.1
127.0.0.1
192.168.40.61
127.0.0.1
192.168.40.1
192.168.40.1

Interface
Vlanif1945
InLoopBack0
Vlanif1941
InLoopBack0
InLoopBack0
InLoopBack0
Vlanif40
InLoopBack0
Vlanif40
Vlanif40

<SW-ACCESO-FRONTINO>display current-configuration
#
!Software Version V100R005C01SPC100
sysname SW-ACCESO-FRONTINO
#
vlan batch 40 49 to 50 69 90 98 225 227 434 456 706
vlan batch 824 909 to 910 1539 1614 1769 1781 1941 1945 2034 2344
vlan batch 2415 2514 2737 2838 to 2839
#
domain edatel
domain edatel admin
#
undo cluster enable
undo ntdp enable
undo ndp enable
#
undo http server enable
#
hwtacacs-server template edatel
hwtacacs-server authentication
hwtacacs-server authorization
hwtacacs-server accounting
hwtacacs-server shared-key cipher AA")[K_!5\1%`DJL.:OE)Q!!
undo hwtacacs-server user-name domain-included
#
acl name AZTECA-BW 4999
description [BW-CONTROL-AZTECA]
rule 5 permit vlan-id 1945
rule 6 permit vlan-id 1941
#
vlan
description NODO.B_REP.EL.TOYO_ZTE
#
................... Omitted output
#
interface NULL0
#
user-interface con 0
authentication-mode aaa
user privilege level 15
user-interface vty 0 4
authentication-mode aaa
user privilege level 15
#
return
<SW-ACCESO-FRONTINO>quit
Info: The max number of VTY users is 5, and the number
of current VTY users on line is 0.Connection closed by foreign host.
Thank you in adavance!!
Regards,

JUAN CARLOS BUITRAGO ZAPATA

________________________________
Este mensaje y/o sus anexos son para uso exclusivo de su destinatario intencional y puede contener informaci?n legalmente protegida por ser confidencial. Si usted no es el destinatario intencional del mensaje por favor inf?rmenos de inmediato y elim?nelo, as? como sus anexos. Igualmente, le comunicamos que cualquier retenci?n, revisi?n no autorizada, distribuci?n, divulgaci?n, reenv?o, copia, impresi?n, reproducci?n, o uso indebido de este mensaje y/o sus anexos, est? estr
-------------- next part -------------An HTML attachment was scrubbed...
URL: <http://www.shrubbery.net/pipermail/rancid-discuss/attachments/20130531/9edd5a4d/attachment-0001.html>

Previous message: [rancid] jrancid excess revisions due to expect prompt mismatches?
Next message: [rancid] Support Switch Huawei Quidway S5328
Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Rancid-discuss mailing list

1 de 1

25/07/2016 16:46

Você também pode gostar