Article Figure 1 Listing 1 Listing 2 Listing 3
Listing 4 may2006.tar

Listing 3 conserver.cf for multiple console switches. (The Cyclades TS2000 switch defines port 1 as port 7001, port 2 as 7002, etc.)

# $Id: conserver.cf,v 1.3 1999-01-25 14:38:19-08 bryan Exp $
#
# The character '&' in logfile names are substituted with the console
# name.  Any logfile name that doesn't begin with a '/' has LOGDIR
# prepended to it.  So, most consoles will just have a '&' as the 
# logfile name which causes /var/consoles/<consolename> to be used.
#
default full {
        rw *;
}
default * {
        logfile /var/consoles/&;
        timestamp "";
        include full;
}
#
# list of consoles we serve
#    name : tty[@host] : baud[parity] : logfile : mark-interval[m|h|d]
#    name : !host : port : logfile : mark-interval[m|h|d]
#    name : |command : : logfile : mark-interval[m|h|d]
##################################
#  Begin ts1 console assignments
##################################
console server1 {
        master localhost;
        type host;
        host ts1;
        port 7001;
}
.
}
console server32 {
        master localhost;
        type host;
        host ts1;
        port 7032;
}
##################################
#  Begin ts2 console assignments
##################################
console server33 {
        master localhost;
        type host;
        host ts2;
        port 7001;
}
.
console server64 {
        master localhost;
        type host;
        host ts2;
        port 7032;
}
##################################
#  Begin ts3 console assignments
##################################
console server65 {
        master localhost;
        type host;
        host ts3;
        port 7001;
}
.
console server96 {
        master localhost;
        type host;
        host ts3;
        port 7032;
}
#
# list of clients we allow
# {trusted|allowed|rejected} : machines
#
access * {
        allowed mydomain.com mysecondarydomain.com; 
        trusted localhost conserver.mydomain.com;
}