Doug Rice
2012-08-13 19:07:22 UTC
Hi folks,
I am converting from Cisco 2511 terminal servers to Avocent ACS6048
terminal servers. I have been using the Cisco terminal servers for
years without issues on a variety of Sun and HP servers, disk arrays,
and various other hardware. However, I can't seem to get the Avocent
terminal servers to work properly. I am unable to get any response from
a connected device via conserver. However, I can access the device just
fine using telnet directly to the Avocent port. I do get a response if
the Avocent port is put in raw mode but sending a L0 break doesn't get
to the device. Sending break from telnet works just fine. Clearly I am
missing something. I did set portbase to 7000 for the Avocent as
recommended in an archived post but that did not fix this issue.
See below my conserver and console .cf files, sample working Cisco port
config and a sample non-working Avocent port config. Any assistance is
very much appreciated.
############
conserver.cf
############
# ------ make sure breaks are the way we want --------
break 1 { string "\z"; }
break 2 { string "\r\d~\d^b"; delay 600; }
break 3 { string "#."; }
# ----- define some console types ------
default sun-std { break 1; }
default sun-alt { break 2; }
default sun-lom { break 3; }
# ----- define some generic console defaults ------
default * {
logfile /apps/conserver/logs/&; # '&' is replaced with console
name
timestamp 1hab; # write timestamps
rw *; # allow all users
master localhost; # default conserver host for
console
include sun-std; # default break for ^Ecl0
logfilemax 1m; # rotate log files at this limit
}
# ------- define terminal server attributes ----------
default cisco { type host; portbase 2000; portinc 1; }
default avocent2 { type host; portbase 7000; portinc 1; }
# ------- define terminal server defaults ----------
default ciscots1 { include cisco; host ciscots1; }
default avots1 { include avocent2; host avots1; }
# ------- define the consoles ----------
###console myserver { include ciscots1; port 1; }
console myserver { include avots1; port 12; }
# ------- set up the an access list to avoid the default -------
access * {
allowed 127.0.0.1;
}
# ------- do some server configuration ---------
config * {
defaultaccess rejected;
daemonmode on;
logfile /var/log/conserver;
autocomplete off; # must enter full console names
}
############
console.cf
############
# ------ set default values for console client ------
config * {
master localhost;
}
############
Cisco port settings from old working port
############
ciscots1#show line 1
Tty Typ Tx/Rx A Modem Roty AccO AccI Uses Noise Overruns
1 TTY 9600/9600 - - - - - 46 75847 0/0
Line 1, Location: "2353C", Type: ""
Length: 24 lines, Width: 80 columns
Baud rate (TX/RX) is 9600/9600, no parity, 1 stopbits, 8 databits
Status: Ready
Capabilities: EXEC Suppressed
Modem state: Ready
Special Chars: Escape Hold Stop Start Disconnect Activation
^^x none - - none
Timeouts: Idle EXEC Idle Session Modem Answer Session
Dispatch
0:10:00 never none not
set
Session limit is not set.
Time since activation: never
Editing is enabled.
History is enabled, history size is 10.
Full user help is disabled
Allowed transports are pad telnet rlogin. Preferred is telnet.
No output characters are padded
No special data dispatching characters
Modem hardware state: noCTS* noDSR* DTR RTS
############
Avocent port settings - port 12
############
Physical Settings
Port: 12
Enable Cisco RJ45 Pin-Out: checked
Status: Enabled
Speed: 9600
Parity: None
Data Bits: 8
Stop Bits: 1
Flow Control: None
CAS Settings
Port: 12
Port Name: myserver
Enable auto discovery: unchecked
Protocol: Telnet
Authentication Type: None
Text Session Hot Key: ^Z
Power Session Hot Key: ^P
TCP Port Alias: 7012
Port IPv4 Alias:
Port IPv4 Alias Interface: eth0
Port IPv6 Alias:
Port IPv6 Alias Interface: eth0
Allow session only if DCD is On: unchecked
Enable auto answer: unchecked
DTR Mode: Always On
DTR Off Interval: 100
Line Feed Suppression: Disabled
NULL After CR Suppression: Disabled
Transmission Interval: 20
Break Sequence: ~break
Break Interval: 500
Log In/Out Multi Session Notification: Disabled
Informational Message Notification: Disabled
Data Buffering Settings
Port: 12
Status: Disabled
Type: Local
Time Stamp: Disabled
Login/Logout Message: Disabled
Serial Session Logging: Disabled
I am converting from Cisco 2511 terminal servers to Avocent ACS6048
terminal servers. I have been using the Cisco terminal servers for
years without issues on a variety of Sun and HP servers, disk arrays,
and various other hardware. However, I can't seem to get the Avocent
terminal servers to work properly. I am unable to get any response from
a connected device via conserver. However, I can access the device just
fine using telnet directly to the Avocent port. I do get a response if
the Avocent port is put in raw mode but sending a L0 break doesn't get
to the device. Sending break from telnet works just fine. Clearly I am
missing something. I did set portbase to 7000 for the Avocent as
recommended in an archived post but that did not fix this issue.
See below my conserver and console .cf files, sample working Cisco port
config and a sample non-working Avocent port config. Any assistance is
very much appreciated.
############
conserver.cf
############
# ------ make sure breaks are the way we want --------
break 1 { string "\z"; }
break 2 { string "\r\d~\d^b"; delay 600; }
break 3 { string "#."; }
# ----- define some console types ------
default sun-std { break 1; }
default sun-alt { break 2; }
default sun-lom { break 3; }
# ----- define some generic console defaults ------
default * {
logfile /apps/conserver/logs/&; # '&' is replaced with console
name
timestamp 1hab; # write timestamps
rw *; # allow all users
master localhost; # default conserver host for
console
include sun-std; # default break for ^Ecl0
logfilemax 1m; # rotate log files at this limit
}
# ------- define terminal server attributes ----------
default cisco { type host; portbase 2000; portinc 1; }
default avocent2 { type host; portbase 7000; portinc 1; }
# ------- define terminal server defaults ----------
default ciscots1 { include cisco; host ciscots1; }
default avots1 { include avocent2; host avots1; }
# ------- define the consoles ----------
###console myserver { include ciscots1; port 1; }
console myserver { include avots1; port 12; }
# ------- set up the an access list to avoid the default -------
access * {
allowed 127.0.0.1;
}
# ------- do some server configuration ---------
config * {
defaultaccess rejected;
daemonmode on;
logfile /var/log/conserver;
autocomplete off; # must enter full console names
}
############
console.cf
############
# ------ set default values for console client ------
config * {
master localhost;
}
############
Cisco port settings from old working port
############
ciscots1#show line 1
Tty Typ Tx/Rx A Modem Roty AccO AccI Uses Noise Overruns
1 TTY 9600/9600 - - - - - 46 75847 0/0
Line 1, Location: "2353C", Type: ""
Length: 24 lines, Width: 80 columns
Baud rate (TX/RX) is 9600/9600, no parity, 1 stopbits, 8 databits
Status: Ready
Capabilities: EXEC Suppressed
Modem state: Ready
Special Chars: Escape Hold Stop Start Disconnect Activation
^^x none - - none
Timeouts: Idle EXEC Idle Session Modem Answer Session
Dispatch
0:10:00 never none not
set
Session limit is not set.
Time since activation: never
Editing is enabled.
History is enabled, history size is 10.
Full user help is disabled
Allowed transports are pad telnet rlogin. Preferred is telnet.
No output characters are padded
No special data dispatching characters
Modem hardware state: noCTS* noDSR* DTR RTS
############
Avocent port settings - port 12
############
Physical Settings
Port: 12
Enable Cisco RJ45 Pin-Out: checked
Status: Enabled
Speed: 9600
Parity: None
Data Bits: 8
Stop Bits: 1
Flow Control: None
CAS Settings
Port: 12
Port Name: myserver
Enable auto discovery: unchecked
Protocol: Telnet
Authentication Type: None
Text Session Hot Key: ^Z
Power Session Hot Key: ^P
TCP Port Alias: 7012
Port IPv4 Alias:
Port IPv4 Alias Interface: eth0
Port IPv6 Alias:
Port IPv6 Alias Interface: eth0
Allow session only if DCD is On: unchecked
Enable auto answer: unchecked
DTR Mode: Always On
DTR Off Interval: 100
Line Feed Suppression: Disabled
NULL After CR Suppression: Disabled
Transmission Interval: 20
Break Sequence: ~break
Break Interval: 500
Log In/Out Multi Session Notification: Disabled
Informational Message Notification: Disabled
Data Buffering Settings
Port: 12
Status: Disabled
Type: Local
Time Stamp: Disabled
Login/Logout Message: Disabled
Serial Session Logging: Disabled