8
conf t ! host SwitchTS ! ip subnet-zero ! line con 0 logging synchronous exec-timeout 0 0 line vty 0 4 no exec exec-timeout 0 0 password cisco login local ! ip subnet-zero no ip domain-lookup ! alias exec ss show sessions alias exec ct configure terminal alias exec w write mem alias exec sr show run alias exec sip show ip int brief alias exec sir show ip route alias exec svb show vlan brief ! enable password cisco ! no ip domain lookup ! vlan 10 name WorkGroupA ! ! vlan 20 name WorkGroupB ! ! vlan 30 name WorkGroupC ! ! vlan 40 name WorkGroupD ! ! vlan 50 name WorkGroupE ! ! vlan 60 name WorkGroupF ! ! vlan 70 name WorkGroupG ! ! vlan 80 name WorkGroupH

SCRIPT TERMINAL SERVER

Embed Size (px)

Citation preview

8/7/2019 SCRIPT TERMINAL SERVER

http://slidepdf.com/reader/full/script-terminal-server 1/8

conf t!host SwitchTS!ip subnet-zero!line con 0logging synchronousexec-timeout 0 0line vty 0 4no execexec-timeout 0 0password ciscologin local!ip subnet-zerono ip domain-lookup!alias exec ss show sessionsalias exec ct configure terminalalias exec w write memalias exec sr show runalias exec sip show ip int briefalias exec sir show ip route

alias exec svb show vlan brief!enable password cisco!no ip domain lookup!vlan 10name WorkGroupA!!vlan 20name WorkGroupB!

!vlan 30name WorkGroupC!!vlan 40name WorkGroupD!!vlan 50name WorkGroupE!!

vlan 60name WorkGroupF!!vlan 70name WorkGroupG!!vlan 80name WorkGroupH

8/7/2019 SCRIPT TERMINAL SERVER

http://slidepdf.com/reader/full/script-terminal-server 2/8

********* ROUTER *************

host TermServ!ip subnet-zero!line con 0logging synchronousexec-timeout 0 0line vty 0 4no execexec-timeout 0 0telnet break-on-iptelnet sync-on-breaktelnet ip-on-breakflowcontrol hardwarepassword ciscologin local!ip subnet-zerono ip domain-lookup!

alias exec ss show sessionsalias exec ct configure terminalalias exec w write memalias exec sr show runalias exec sip show ip int briefalias exec sir show ip routealias exec svb show vlan brief!enable password cisco!no ip domain lookup!ip host roa 2031 1.1.1.1

ip host swa 2032 1.1.1.1ip host rob 2033 1.1.1.1ip host swb 2034 1.1.1.1ip host roc 2035 1.1.1.1ip host swc 2036 1.1.1.1ip host rod 2037 1.1.1.1ip host swd 2038 1.1.1.1ip host roe 2039 1.1.1.1ip host swe 2040 1.1.1.1ip host rof 2041 1.1.1.1ip host swf 2042 1.1.1.1ip host rog 2043 1.1.1.1ip host swg 2044 1.1.1.1

ip host roh 2045 1.1.1.1ip host swh 2046 1.1.1.1!int f0/1ip add 1.1.1.254 255.255.255.0speed 100duplex fullno shut!interface f0/0.10

8/7/2019 SCRIPT TERMINAL SERVER

http://slidepdf.com/reader/full/script-terminal-server 3/8

encap dot1q 10ip address 10.10.10.254 255.255.255.0!interface f0/0.20encap dot1q 20ip address 20.20.20.254 255.255.255.0!interface f0/0.30encap dot1q 30ip address 30.30.30.254 255.255.255.0!interface f0/0.40encap dot1q 40ip address 40.40.40.254 255.255.255.0!interface f0/0.50encap dot1q 50ip address 50.50.50.254 255.255.255.0!interface f0/0.60encap dot1q 60ip address 60.60.60.254 255.255.255.0!interface f0/0.70

encap dot1q 70ip address 70.70.70.254 255.255.255.0!interface f0/0.80encap dot1q 80ip address 80.80.80.254 255.255.255.0!int f0/0no ip addspeed 100duplex fullno shut!

username student privilege 5 password studentusername student autocommand menu icndmainusername instructor privilege 15 password ciscousername instructor autocommand menu inst!privilege exec level 15 copyprivilege exec level 0 telnetprivilege exec level 15 writeprivilege exec level 0 enableprivilege exec level 15 configureprivilege exec level 0 hangupprivilege exec level 0 show running-configprivilege exec level 0 show

privilege exec level 0 exitprivilege exec level 0 clear lineprivilege exec level 0 clear!!menu icndmain title ^**************************************************************************

Nettwork Mexico & Cisco Systems, Inc., Presents: "Cisco Certified Networking Associate Training Labs (CCNA) ICND I & ICND II"

8/7/2019 SCRIPT TERMINAL SERVER

http://slidepdf.com/reader/full/script-terminal-server 4/8

To exit ssh session and return to the menu press<CTRL>+<SHFT>+<6> then <X>. To clear a connection to begin

a new console session type cls# (where # = the menu item number)Type "exit" at any time while in the menu to disconnect.

**************************************************************************ITEM# Action-----------------------------------------------------------------^menu icndmain prompt ^Please enter selection: ^menu icndmain text 1 Connect to WorkGroup Amenu icndmain command 1 menu wg1menu icndmain text 2 Connect to WorkGroup Bmenu icndmain command 2 menu wg2menu icndmain text 3 Connect to WorkGroup Cmenu icndmain command 3 menu wg3menu icndmain text 4 Connect to WorkGroup Dmenu icndmain command 4 menu wg4menu icndmain text 5 Connect to WorkGroup Emenu icndmain command 5 menu wg5menu icndmain text 6 Connect to WorkGroup Fmenu icndmain command 6 menu wg6menu icndmain text 7 Connect to WorkGroup Gmenu icndmain command 7 menu wg7

menu icndmain text 8 Connect to WorkGroup Hmenu icndmain command 8 menu wg8menu icndmain text exit Exitmenu icndmain command exit exitmenu icndmain command cli menu-exitmenu icndmain clear-screenmenu icndmain line-mode!!menu wg1 title ^************************ ICND WG_A ************************************************** MENU **************************

To exit ssh session and return to the menu press

<CTRL>+<SHFT>+<6> then <X>. To clear a connection to begina new console session type cls# (where # = the menu item number)Type "exit" to return to main menu.

*****************************************************************ITEM# DEVICE NAME

-----------------------------------------------------------------^menu wg1 prompt ^Please enter selection: ^menu wg1 text 1 WorkGroup A Routermenu wg1 command 1 resume roa /connect telnet roamenu wg1 text 2 WorkGroup A Switchmenu wg1 command 2 resume swa /connect telnet swamenu wg1 text exit Return to main menu

menu wg1 command exit menu-exitmenu wg1 clear-screenmenu wg1 default exitmenu wg1 line-mode!menu wg2 title ^************************ ICND WG_B ************************************************** MENU **************************

To exit ssh session and return to the menu press<CTRL>+<SHFT>+<6> then <X>. To clear a connection to begin

8/7/2019 SCRIPT TERMINAL SERVER

http://slidepdf.com/reader/full/script-terminal-server 5/8

a new console session type cls# (where # = the menu item number)Type "exit" to return to main menu.

*****************************************************************ITEM# DEVICE NAME

-----------------------------------------------------------------^menu wg2 prompt ^Please enter selection: ^menu wg2 text 1 WorkGroup B Routermenu wg2 command 1 resume rob /connect telnet robmenu wg2 text 2 WorkGroup B Switchmenu wg2 command 2 resume swb /connect telnet swbmenu wg2 text exit Return to main menumenu wg2 command exit menu-exitmenu wg2 clear-screenmenu wg2 default exitmenu wg2 line-mode!menu wg3 title ^************************ ICND WG_C ************************************************** MENU **************************

To exit ssh session and return to the menu press<CTRL>+<SHFT>+<6> then <X>. To clear a connection to begin

a new console session type cls# (where # = the menu item number)Type "exit" to return to main menu.

*****************************************************************ITEM# DEVICE NAME-----------------------------------------------------------------^menu wg3 prompt ^Please enter selection: ^menu wg3 text 1 WorkGroup C Routermenu wg3 command 1 resume roc /connect telnet rocmenu wg3 text 2 WorkGroup C Switchmenu wg3 command 2 resume swc /connect telnet swcmenu wg3 text exit Return to main menumenu wg3 command exit menu-exitmenu wg3 clear-screenmenu wg3 default exit

menu wg3 line-mode!menu wg4 title ^************************ ICND WG_D ************************************************** MENU **************************

To exit ssh session and return to the menu press<CTRL>+<SHFT>+<6> then <X>. To clear a connection to begin

a new console session type cls# (where # = the menu item number)Type "exit" to return to main menu.

*****************************************************************ITEM# DEVICE NAME

-----------------------------------------------------------------^

menu wg4 prompt ^Please enter selection: ^menu wg4 text 1 WorkGroup D Routermenu wg4 command 1 resume rod /connect telnet rodmenu wg4 text 2 WorkGroup D Switchmenu wg4 command 2 resume swd /connect telnet swdmenu wg4 text exit Return to main menumenu wg4 command exit menu-exitmenu wg4 clear-screenmenu wg4 default exitmenu wg4 line-mode

8/7/2019 SCRIPT TERMINAL SERVER

http://slidepdf.com/reader/full/script-terminal-server 6/8

!menu wg5 title ^************************ ICND WG_E ************************************************** MENU **************************

To exit ssh session and return to the menu press<CTRL>+<SHFT>+<6> then <X>. To clear a connection to begin

a new console session type cls# (where # = the menu item number)Type "exit" to return to main menu.

*****************************************************************ITEM# DEVICE NAME

-----------------------------------------------------------------^menu wg5 prompt ^Please enter selection: ^menu wg5 text 1 WorkGroup E Routermenu wg5 command 1 resume roe /connect telnet roemenu wg5 text 2 WorkGroup E Switchmenu wg5 command 2 resume swe /connect telnet swemenu wg5 text exit Return to main menumenu wg5 command exit menu-exitmenu wg5 clear-screenmenu wg5 default exitmenu wg5 line-mode!menu wg6 title ^

************************ ICND WG_F ************************************************** MENU **************************To exit ssh session and return to the menu press

<CTRL>+<SHFT>+<6> then <X>. To clear a connection to begina new console session type cls# (where # = the menu item number)

Type "exit" to return to main menu.*****************************************************************ITEM# DEVICE NAME

-----------------------------------------------------------------^menu wg6 prompt ^Please enter selection: ^menu wg6 text 1 WorkGroup F Routermenu wg6 command 1 resume rof /connect telnet rof

menu wg6 text 2 WorkGroup F Switchmenu wg6 command 2 resume swf /connect telnet swfmenu wg6 text exit Return to main menumenu wg6 command exit menu-exitmenu wg6 clear-screenmenu wg6 default exitmenu wg6 line-mode!menu wg7 title ^************************ ICND WG_G ************************************************** MENU **************************

To exit ssh session and return to the menu press<CTRL>+<SHFT>+<6> then <X>. To clear a connection to begin

a new console session type cls# (where # = the menu item number)Type "exit" to return to main menu.

*****************************************************************ITEM# DEVICE NAME

-----------------------------------------------------------------^menu wg7 prompt ^Please enter selection: ^menu wg7 text 1 WorkGroup G Routermenu wg7 command 1 resume rog /connect telnet rogmenu wg7 text 2 WorkGroup G Switch

8/7/2019 SCRIPT TERMINAL SERVER

http://slidepdf.com/reader/full/script-terminal-server 7/8

menu wg7 command 2 resume swg /connect telnet swgmenu wg7 text exit Return to main menumenu wg7 command exit menu-exitmenu wg7 clear-screenmenu wg7 default exitmenu wg7 line-mode!menu wg8 title ^************************ ICND WG_H ************************************************** MENU **************************

To exit ssh session and return to the menu press<CTRL>+<SHFT>+<6> then <X>. To clear a connection to begin

a new console session type cls# (where # = the menu item number)Type "exit" to return to main menu.

*****************************************************************ITEM# DEVICE NAME

-----------------------------------------------------------------^menu wg8 prompt ^Please enter selection: ^menu wg8 text 1 WorkGroup H Routermenu wg8 command 1 resume roh /connect telnet rohmenu wg8 text 2 WorkGroup H Switchmenu wg8 command 2 resume swh /connect telnet swhmenu wg8 text exit Return to main menumenu wg8 command exit menu-exit

menu wg8 clear-screenmenu wg8 default exitmenu wg8 line-mode!!banner login #

********************** Nettwork Mexico ****************************************** Official Training Courses Of ******************************************************************************************.g8"""bg `7MMF' .M"""bgd .g8"""bgd .g8""8q.

.dP' `M MM ,MI "Y .dP' `M .dP' `YM.dM' ` MM `MMb. dM' ` dM' `MMMM MM `YMMNq. MM MM MMMM. MM . `MM MM. MM. ,MP`Mb. ,' MM Mb dM `Mb. ,' `Mb. ,dP'`"bmmmd' .JMML. P"Ybmmd" `"bmmmd' `"bmmd"'

****************************************************************************************** Welcome to the ************************************** CCNA (ICND I & ICND II) Training Labs ****************

CREATED BY:

CARLOS GONZALEZNettwork MexicoDirector GeneralCCSI No.32323 (Certified Cisco Systems Instructor)CCIE No.20815 (Cisco Certified Internetwork Expert - Routing & Switching -)CCNA, CCNP, CCDA, CCDP, CCNA (Voice), CCNP (Voice)

8/7/2019 SCRIPT TERMINAL SERVER

http://slidepdf.com/reader/full/script-terminal-server 8/8

Copyright 2011.---------------

#

!end

TermServ#