View Issue Details

IDProjectCategoryView StatusLast Update
574RackTablesdefaultpublic2012-06-28 14:57
Reporteruser276Assigned Toinfrastation  
PrioritylowSeverityminorReproducibilityalways
Status closedResolutionno change required 
Product Version0.19.12 
Summary574: Argument 'portname_0' of value '' is invalid
DescriptionCisco 3548XL
RO password inserted to gateways/deviceconfig/switch.secrets.php
After "Save" erro message are shown
TagsNo tags attached.
Attached Files
Cisco-LiveVLANs.png (44,212 bytes)   
Cisco-LiveVLANs.png (44,212 bytes)   

Activities

infrastation

infrastation

2012-06-22 11:03

administrator   ~0000679

"Live VLANs" is barely supported, but... could you attach a packet dump of the telnet session taking place during page display?

user276

2012-06-22 11:30

  ~0000680

There are no any packets to switch sent.
Racktables server has eth0 port only.
----------------
#tcpdump host switchIPaddress
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on eth0, link-type EN10MB (Ethernet), capture size 96 bytes

-------------
No any packets.
Firstly port 23 wasn't set to configs. no any packets.
Than I added 23 port to switch.secret and cisco.secret.php. No any packets.
The same error on the page.

user276

2012-06-22 11:41

  ~0000681

#cat ../gateways/switchvlans/cisco.secrets.php
<?php ob_start(); ?>

# Syntax:
# <endpoint|*> <telnet> <hostname|-> <port|-> <username|-> <line password> <enable password>
# FIXME: <endpoint|*> <rsh> <username>

# S-T-A-R-T
switch1 telnet - - - password2 enablepassword
switch2 telnet - - - password enablepassword
switch3 telnet - - username3 password3 enablepassword3
sw01 telnet xxx.yyy.zzz.201 23 myuser mypass -
sw05 telnet xxx.yyy.zzz.205 23 myuser mypass -
# S-T-O-P
-----------
sw01 and sw05 are names of switches in Racktables.
infrastation

infrastation

2012-06-22 11:53

administrator   ~0000682

The comment in cisco.secrets.php is misleading, a correct line would look like:

sw0[15].example.com telnet - - myuser mypass -

Switches sw01 and sw05 must have their FQDN attribute properly set for this to work (FQDN must resolve into IP address).

user276

2012-06-22 12:11

  ~0000683

ping sw0[15].example.com works.


sw0[15].example.com telnet - - myuser mypass -
Output
"subcommand failed with status: ERR!Cannot connect to sw05.example.com (password not found)"

sw05.example.com telnet ipaddr 23 myuser mypass -
output
"subcommand failed with status: ERR!Cannot connect to sw05 (password not found)"

user276

2012-06-25 08:28

  ~0000685

ooo... It works.

user276

2012-06-25 09:25

  ~0000686

The second issue:
I see MAC address table on the one switch but don't see in other.
I see MAC address table on 6 switches from 10.
All switches are the same with the same IOS version.
infrastation

infrastation

2012-06-28 14:57

administrator   ~0000691

MAC address table is currently best viewed through "Live ports" extension (will become available after configuring "deviceconfig" gateway). I am closing this request and suggest using racktables-users@ for further configuration issues.

Issue History

Date Modified Username Field Change
2012-06-21 13:22 user276 New Issue
2012-06-21 13:22 user276 Status new => assigned
2012-06-21 13:22 user276 Assigned To => infrastation
2012-06-21 13:22 user276 File Added: Cisco-LiveVLANs.png
2012-06-22 11:03 infrastation Note Added: 0000679
2012-06-22 11:30 user276 Note Added: 0000680
2012-06-22 11:41 user276 Note Added: 0000681
2012-06-22 11:53 infrastation Note Added: 0000682
2012-06-22 12:11 user276 Note Added: 0000683
2012-06-25 08:28 user276 Note Added: 0000685
2012-06-25 09:25 user276 Note Added: 0000686
2012-06-28 14:57 infrastation Note Added: 0000691
2012-06-28 14:57 infrastation Priority normal => low
2012-06-28 14:57 infrastation Status assigned => closed
2012-06-28 14:57 infrastation Resolution open => no change required
2012-06-28 14:57 infrastation Category 802.1Q VLANs => default