Discussion:
[rancid] Nortel Passport 8600
Smirnoff Alexander
2008-10-06 09:13:59 UTC
Permalink
I make files for collect configs from Nortel Passport 8600, but RANCID disconnect from devices, while loading <show config> šcommand. Passlogin and passrancid in attachment.

RANCID collect only this lines:



!RANCID-CONTENT-TYPE: bay

!



And when I run command manually:



bin/passlogin -t 90 -c "show config" 10.10.0.245

10.10.0.245

spawn telnet 10.10.0.245

Trying 10.10.0.245...

Connected to p8606-test.spb.men (10.10.0.245).

Escape character is '^]'.



**************************************************

* Copyright (c) 2007 Nortel, Inc.ššššššššššššššš

* All Rights Reservedššššššššššššššššššššššššššš

* Metro Ethernet Routing Switch 8006šššššššššššš

* Software Release 4.2.1.0OE (Released - General Availability)

**************************************************



Login: rancid

Password: **********



p8606-test_R:5# config cli more false

p8606-test_R:5# show config

Preparing to Display Configuration...

#

# MON OCT 06 13:09:24 2008 UTC

# box typešššššššššššš : MERS-8006

# software versionšššš : 4.2.1.0OE

# monitor versionššššš : 4.2.1.0OE/007

#



#

# Asic Info :

# SlotNum|Nameš |CardTypešš |MdaType |Parts Description

#

# Slotš 1šš --šššš 0x00000001 0x00000000š

# Slotš 2šš --šššš 0x00000001 0x00000000š

# Slotš 3 8630GBRš 0x2432511e 0x00000000š RSP=25 CLUE=0 F2I=4 F2E=3 FTMUX=17 CC=3 FOQ=267 DPC=184 BMC=776 MAC=4

# Slotš 4 8630GBRš 0x2432511e 0x00000000š RSP=25 CLUE=0 F2I=4 F2E=3 FTMUX=17 CC=3 FOQ=267 DPC=184 BMC=776 MAC=4

# Slotš 5 8692SFšš 0x200e0100 0x00000000š CPU: CPLD=19 MEZZ=2š SFM: OP=3 TMUX=2 SWIP=23 FAD=16 CF=56

# Slotš 6 8692SFšš 0x200e0100 0x00000000š CPU: CPLD=19 MEZZ=2š SFM: OP=3 TMUX=2 SWIP=23 FAD=16 CF=2

#



[ ...skip... ]



tdi 15500550 create

tdi 15500550 name "Test"

tdi 15500550 mapped-vlan 555

tdi 15500550 state enable

tdi 15500550 end-point 2.1.245.12 create

tdi 15500550 end-point 2.1.245.12 connection p2p

tdi 15500550 end-point 2.1.245.12 remote-uniš 0.0.240.32

tdi 15500550 end-point 2.1.245.12 ingress-policer disable

Connection closed by foreign host.



e.g. RANCID connect, and type correct command, but disconnect before end of config. I try this with many P8600 devices, and all of them have same behavior. Anybody have ideas for solve this problem ?



š
--
Regards,
Alexandr Smirnov
Smirnoff Alexander
2008-10-07 06:11:43 UTC
Permalink
I also try to snoop packet exchanges between RANCID and Passport device, and see what :



10.630176š 10.10.1.17 -> 10.10.0.245 TCP 59486 > telnet [ACK] Seq=104 Ack=533061 Win=64128 Len=0 TSV=692340499 TSER=8110395

š10.642310 10.10.0.245 -> 10.10.1.17š TELNET Telnet Data ...

š10.654464 10.10.0.245 -> 10.10.1.17š TELNET Telnet Data ...

š10.654480š 10.10.1.17 -> 10.10.0.245 TCP 59486 > telnet [ACK] Seq=104 Ack=535957 Win=64128 Len=0 TSV=692340505 TSER=8110396

š10.666766 10.10.0.245 -> 10.10.1.17š TELNET Telnet Data ...

š10.680580 10.10.0.245 -> 10.10.1.17š TELNET Telnet Data ...

š10.680598š 10.10.1.17 -> 10.10.0.245 TCP 59486 > telnet [ACK] Seq=104 Ack=538853 Win=64128 Len=0 TSV=692340512 TSER=8110396

š10.692713 10.10.0.245 -> 10.10.1.17š TELNET Telnet Data ...

š10.704419 10.10.0.245 -> 10.10.1.17š TELNET Telnet Data ...

š10.704440š 10.10.1.17 -> 10.10.0.245 TCP 59486 > telnet [ACK] Seq=104 Ack=540749 Win=64128 Len=0 TSV=692340518 TSER=8110396

š10.704569š 10.10.1.17 -> 10.10.0.245 TCP 59486 > telnet [FIN, ACK] Seq=104 Ack=540749 Win=64128 Len=0 TSV=692340518 TSER=8110396

š10.708251 10.10.0.245 -> 10.10.1.17š Syslog LOCAL2.DEBUG: CPU5 [10/07/08 10:09:43] SW INFO Closed telnet connection from 10.10.1.17, user rancid rcmd -2 \n\000

š10.728473 10.10.0.245 -> 10.10.1.17š TCP telnet > 59486 [ACK] Seq=540749 Ack=105 Win=16384 Len=0 TSV=8110396 TSER=692340518





e.g. RANCID send FIN, ACK signal, and after Passport close telnet session.



________________________________

From: rancid-discuss-***@shrubbery.net [mailto:rancid-discuss-***@shrubbery.net] On Behalf Of Smirnoff Alexander
Sent: Monday, October 06, 2008 1:14 PM
To: rancid-***@shrubbery.net
Subject: [rancid] Nortel Passport 8600



I make files for collect configs from Nortel Passport 8600, but RANCID disconnect from devices, while loading <show config> command. Passlogin and passrancid in attachment.

RANCID collect only this lines:



!RANCID-CONTENT-TYPE: bay

!



And when I run command manually:



bin/passlogin -t 90 -c "show config" 10.10.0.245

10.10.0.245

spawn telnet 10.10.0.245

Trying 10.10.0.245...

Connected to p8606-test.spb.men (10.10.0.245).

Escape character is '^]'.



**************************************************

* Copyright (c) 2007 Nortel, Inc.

* All Rights Reserved

* Metro Ethernet Routing Switch 8006

* Software Release 4.2.1.0OE (Released - General Availability)

**************************************************



Login: rancid

Password: **********



p8606-test_R:5# config cli more false

p8606-test_R:5# show config

Preparing to Display Configuration...

#

# MON OCT 06 13:09:24 2008 UTC

# box type : MERS-8006

# software version : 4.2.1.0OE

# monitor version : 4.2.1.0OE/007

#



#

# Asic Info :

# SlotNum|Name |CardType |MdaType |Parts Description

#

# Slot 1 -- 0x00000001 0x00000000

# Slot 2 -- 0x00000001 0x00000000

# Slot 3 8630GBR 0x2432511e 0x00000000 RSP=25 CLUE=0 F2I=4 F2E=3 FTMUX=17 CC=3 FOQ=267 DPC=184 BMC=776 MAC=4

# Slot 4 8630GBR 0x2432511e 0x00000000 RSP=25 CLUE=0 F2I=4 F2E=3 FTMUX=17 CC=3 FOQ=267 DPC=184 BMC=776 MAC=4

# Slot 5 8692SF 0x200e0100 0x00000000 CPU: CPLD=19 MEZZ=2 SFM: OP=3 TMUX=2 SWIP=23 FAD=16 CF=56

# Slot 6 8692SF 0x200e0100 0x00000000 CPU: CPLD=19 MEZZ=2 SFM: OP=3 TMUX=2 SWIP=23 FAD=16 CF=2

#



[ ...skip... ]



tdi 15500550 create

tdi 15500550 name "Test"

tdi 15500550 mapped-vlan 555

tdi 15500550 state enable

tdi 15500550 end-point 2.1.245.12 create

tdi 15500550 end-point 2.1.245.12 connection p2p

tdi 15500550 end-point 2.1.245.12 remote-uni 0.0.240.32

tdi 15500550 end-point 2.1.245.12 ingress-policer disable

Connection closed by foreign host.



e.g. RANCID connect, and type correct command, but disconnect before end of config. I try this with many P8600 devices, and all of them have same behavior. Anybody have ideas for solve this problem ?
--
Regards,
Alexandr Smirnov
Loading...