Terminal Server Configuration for BSCI

Thanks to CCIE#20586 who re-organized the terminal server menu configuration for my BSCI course. It is modified from ICND1 configuration file and it is good for students who like to change console connection without disconnect the previous one.

version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname BSCI-CS
!
boot-start-marker
boot-end-marker
!
no logging console
enable secret cisco
!
no aaa new-model
!
resource policy
!
ip tcp synwait-time 5
!
!
ip cef
!
!
no ip domain lookup
ip host P3R4 2081 1.1.1.1
ip host P1R1 2066 1.1.1.1
ip host P1R2 2067 1.1.1.1
ip host P1R3 2068 1.1.1.1
ip host P1R4 2069 1.1.1.1
ip host P2R1 2070 1.1.1.1
ip host P2R2 2071 1.1.1.1
ip host P2R3 2072 1.1.1.1
ip host P2R4 2073 1.1.1.1
ip host P3R1 2078 1.1.1.1
ip host P3R2 2079 1.1.1.1
ip host P3R3 2080 1.1.1.1
ip host FRSW 2074 1.1.1.1
ip host BBR1 2075 1.1.1.1
ip host BBR2 2076 1.1.1.1
ip host Pagen 2077 1.1.1.1
ip host SW 2078 1.1.1.1
!
!
voice-card 0
no dspfarm
!
!
!
!
!
!
!
!
!
!
!
!
!
!
username lab privilege 13 password 0 lab
username lab autocommand menu bscimain
username admin privilege 15 password 0 cisco
!
!
!
!
!
!
interface Loopback0
ip address 1.1.1.1 255.255.255.255
!
interface FastEthernet0/0
ip address 192.168.0.239 255.255.255.0
no ip mroute-cache
duplex auto
speed auto
!
interface FastEthernet0/1
no ip address
shutdown
duplex auto
speed auto
!
interface Serial0/0/0
no ip address
clock rate 2000000
!
interface Serial0/0/1
no ip address
shutdown
clock rate 2000000
!
ip default-gateway 192.168.0.254
ip route 0.0.0.0 0.0.0.0 192.168.0.254
!
!
no ip http server
no ip http secure-server
!
!
menu bscipod1 title ^C
************************ BSCI POD_1 **************************
************************ MENU **************************
To exit ssh session and return to the menu press
++<6> then .
Type "exit" to return to main menu.
************************************************************************
ITEM# DEVICE NAME
------------------------------------------------------------------------
^C
menu bscipod1 prompt ^CPlease enter selection: ^C
menu bscipod1 text 1 BSCI POD1 Router 1
menu bscipod1 command 1 resume p1r1 /connect telnet p1r1
menu bscipod1 text 2 << Clear P1R1 Console >>
menu bscipod1 command 2 clear line 66
menu bscipod1 text 3 BSCI POD1 Router 2
menu bscipod1 command 3 resume P1R2 /connect telnet P1R2
menu bscipod1 text 4 << Clear P1R2 Console >>
menu bscipod1 command 4 clear line 67
menu bscipod1 text 5 BSCI POD1 Router 3
menu bscipod1 command 5 resume P1R3 /connect telnet P1R3
menu bscipod1 text 6 << Clear P1R3 Console >>
menu bscipod1 command 6 clear line 68
menu bscipod1 text 7 BSCI POD1 Router 4
menu bscipod1 command 7 resume P1R4 /connect telnet P1R4
menu bscipod1 text 8 << Clear P1R4 Console >>
menu bscipod1 command 8 clear line 69
menu bscipod1 text exit Return to main menu
menu bscipod1 command exit menu-exit
menu bscipod1 clear-screen
menu bscipod1 default exit
menu bscipod1 line-mode
!
menu bscipod2 title ^C
************************ BSCI POD_2 **************************
************************ MENU **************************
To exit ssh session and return to the menu press
++<6> then .
Type "exit" to return to main menu.
************************************************************************
ITEM# DEVICE NAME
------------------------------------------------------------------------
^C
menu bscipod2 prompt ^CPlease enter selection: ^C
menu bscipod2 text 1 BSCI POD2 Router 1
menu bscipod2 command 1 resume P2R1 /connect telnet P2R1
menu bscipod2 text 2 << Clear P2R1 Console >>
menu bscipod2 command 2 clear line 70
menu bscipod2 text 3 BSCI POD2 Router 2
menu bscipod2 command 3 resume P2R2 /connect telnet P2R2
menu bscipod2 text 4 << Clear P2R2 Console >>
menu bscipod2 command 4 clear line 71
menu bscipod2 text 5 BSCI POD2 Router 3
menu bscipod2 command 5 resume P2R3 /connect telnet P2R3
menu bscipod2 text 6 << Clear P2R3 Console >>
menu bscipod2 command 6 clear line 72
menu bscipod2 text 7 BSCI POD2 Router 4
menu bscipod2 command 7 resume P2R4 /connect telnet P2R4
menu bscipod2 text 8 << Clear P2R4 Console >>
menu bscipod2 command 8 clear line 73
menu bscipod2 text exit Return to main menu
menu bscipod2 command exit menu-exit
menu bscipod2 clear-screen
menu bscipod2 default exit
menu bscipod2 line-mode
!
menu bscipod3 title ^C
************************ BSCI POD_3 **************************
************************ MENU **************************
To exit ssh session and return to the menu press
++<6> then .
Type "exit" to return to main menu.
************************************************************************
ITEM# DEVICE NAME
------------------------------------------------------------------------
^C
menu bscipod3 prompt ^CCPlease enter selection: ^C
menu bscipod3 text 1 BSCI POD3 Router 1
menu bscipod3 command 1 resume P3R1 /connect telnet P3R1
menu bscipod3 text 2 << Clear P3R1 Console >>
menu bscipod3 command 2 clear line 78
menu bscipod3 text 3 BSCI POD3 Router 2
menu bscipod3 command 3 resume P3R2 /connect telnet P3R2
menu bscipod3 text 4 << Clear P3R2 Console >>
menu bscipod3 command 4 clear line 79
menu bscipod3 text 5 BSCI POD3 Router 3
menu bscipod3 command 5 resume P3R3 /connect telnet P3R3
menu bscipod3 text 6 << Clear P3R3 Console >>
menu bscipod3 command 6 clear line 80
menu bscipod3 text 7 BSCI POD3 Router 4
menu bscipod3 command 7 resume P3R4 /connect telnet P3R4
menu bscipod3 text 8 << Clear P3R4 Console >>
menu bscipod3 command 8 clear line 81
menu bscipod3 text exit Return to main menu
menu bscipod3 command exit menu-exit
menu bscipod3 clear-screen
menu bscipod3 default exit
menu bscipod3 line-mode
!
menu bscicore title ^C
************************ BSCI CORE **************************
************************ MENU **************************
To exit ssh session and return to the menu press
++<6> then .
Type "exit" to return to main menu.
************************************************************************
ITEM# DEVICE NAME
------------------------------------------------------------------------
^C
menu bscicore prompt ^CPlease enter selection: ^C
menu bscicore text 1 BSCI Backbone Router 1
menu bscicore command 1 resume BBR1 /connect telnet BBR1
menu bscicore text 2 << Clear BBR1 Console >>
menu bscicore command 2 clear line 75
menu bscicore text 3 BSCI Backbone Router 2
menu bscicore command 3 resume BBR2 /connect telnet BBR2
menu bscicore text 4 << Clear BBR2 Console >>
menu bscicore command 4 clear line 76
menu bscicore text 5 BSCI FrameRelay Switch
menu bscicore command 5 resume FRSW /connect telnet FRSW
menu bscicore text 6 << Clear FRSW Console >>
menu bscicore command 6 clear line 74
menu bscicore text 7 BSCI Pagen Router
menu bscicore command 7 resume PAGEN /connect telnet PAGEN
menu bscicore text 8 << Clear Pagent Console >>
menu bscicore command 8 clear line 77
menu bscicore text 9 BSCI Core Switch
menu bscicore command 9 resume SW /connect telnet SW
menu bscicore text 10 << Clear SW Console >>
menu bscicore command 10 clear line 78
menu bscicore text exit Return to main menu
menu bscicore command exit menu-exit
menu bscicore clear-screen
menu bscicore default exit
menu bscicore line-mode
!
menu bscimain title ^C
**************************************************************************
Training Partners, Ltd.

UNAUTHORIZED ACCESS TO THIS NETWORK DEVICE IS PROHIBITED.
"Building Scalable Cisco Internetworks Training"

To exit ssh session and return to the menu press
++<6> then .
Type "exit" at any time while in the menu to disconnect.

**************************************************************************
ITEM# Action
--------------------------------------------------------------------------
^C
menu bscimain prompt ^CPlease enter selection: ^C
menu bscimain text 1 Connect to BSCI P1Rx
menu bscimain command 1 menu bscipod1
menu bscimain text 2 Connect to BSCI P2Rx
menu bscimain command 2 menu bscipod2
menu bscimain text 3 Connect to BSCI P3Rx
menu bscimain command 3 menu bscipod3
menu bscimain text exit EXIT
menu bscimain command exit exit
menu bscimain command cli menu-exit
menu bscimain command core menu bscicore
menu bscimain clear-screen
menu bscimain line-mode
!
!
!
!
control-plane
!
!
!
!
!
!
!
!
!
banner login ^C
===========================================================================

######## ######## ### #### ## ## #### ## ## ######
## ## ## ## ## ## ### ## ## ### ## ## ##
## ## ## ## ## ## #### ## ## #### ## ##
## ######## ## ## ## ## ## ## ## ## ## ## ## ####
## ## ## ######### ## ## #### ## ## #### ## ##
## ## ## ## ## ## ## ### ## ## ### ## ##
## ## ## ## ## #### ## ## #### ## ## ######
######## ### ######## ######## ## ## ######## ######## ######
## ## ## ## ## ## ## ### ## ## ## ## ## ##
## ## ## ## ## ## ## #### ## ## ## ## ##
######## ## ## ######## ## ## ## ## ###### ######## ######
## ######### ## ## ## ## #### ## ## ## ##
## ## ## ## ## ## ## ### ## ## ## ## ##
## ## ## ## ## ## ## ## ######## ## ## ######

---------------------------------------------------------------------------
************************** BSCI Lab ***************************
UNAUTHORIZED ACCESS TO THIS NETWORK DEVICE IS PROHIBITED.
===========================================================================
^C
alias exec clr11 clear line 66
alias exec clr12 clear line 67
alias exec clr13 clear line 68
alias exec clr14 clear line 69
alias exec clr21 clear line 70
alias exec clr22 clear line 71
alias exec clr23 clear line 72
alias exec clr24 clear line 73
alias exec clr31 clear line 74
alias exec clr32 clear line 75
alias exec clr33 clear line 76
alias exec clr34 clear line 77
alias exec clr41 clear line 78
alias exec clr42 clear line 79
alias exec clr43 clear line 80
alias exec clr44 clear line 81
alias exec clrbbr1 clear line 75
alias exec clrbbr2 clear line 76
alias exec clrfrsw clear line 74
privilege exec level 14 copy
privilege exec level 5 telnet
privilege exec level 0 menu
privilege exec level 15 write
privilege exec level 0 enable
privilege exec level 15 configure
privilege exec level 5 resume
privilege exec level 10 disconnect
privilege exec level 10 show line
privilege exec level 10 show sessions
privilege exec level 14 show running-config
privilege exec level 14 show
privilege exec level 5 clear line
privilege exec level 5 clear
!
line con 0
privilege level 15
line aux 0
exec-timeout 120 0
modem InOut
no exec
transport input all
transport output pad telnet rlogin udptn v120
escape-character BREAK
telnet transparent
autohangup
stopbits 1
flowcontrol hardware
line 1/0 1/31
exec-timeout 120 0
special-character-bits 8
no exec
transport preferred telnet
transport input all
transport output pad telnet rlogin udptn v120
escape-character BREAK
telnet break-on-ip
telnet sync-on-break
telnet transparent
telnet ip-on-break
autohangup
stopbits 1
flowcontrol hardware
line vty 0 4
exec-timeout 120 0
privilege level 14
login local
transport input telnet
line vty 5 988
exec-timeout 120 0
login local
transport input telnet
!
scheduler allocate 20000 1000
!
end

Comments

Popular posts from this blog

TCP/IP 明確擁塞通知 (ECN)

L2TPv3 Enables Layer 2 Services for IP Networks

Q-in-Q(Dot1Q Tunnel) Sample Configuration