雏鹰部落

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
查看: 2248|回复: 1

[转贴]2511菜单(Menu)方式配置参考

[复制链接]
发表于 2006-1-8 22:27:33 | 显示全部楼层 |阅读模式
<P>Building configuration...</P><P>Current configuration : 5004 bytes<BR>!<BR>version 12.2<BR>service timestamps debug uptime<BR>service timestamps log uptime<BR>service password-encryption<BR>!<BR>hostname Termserver<BR>!</P><P>!<BR>ip subnet-zero<BR>ip telnet hidden addresses<BR>no ip domain-lookup<BR>ip host R5 2005 11.11.11.11<BR>ip host R4 2004 11.11.11.11<BR>ip host R3 2003 11.11.11.11<BR>ip host R1 2001 11.11.11.11<BR>ip host R7 2007 11.11.11.11<BR>ip host R9 2009 11.11.11.11<BR>ip host R16 2016 11.11.11.11<BR>ip host R14 2014 11.11.11.11<BR>ip host R13 2013 11.11.11.11<BR>ip host R12 2012 11.11.11.11<BR>ip host R11 2011 11.11.11.11<BR>ip host R8 2008 11.11.11.11<BR>ip host R2 2002 11.11.11.11<BR>ip host R6 2006 11.11.11.11<BR>ip host R15 2015 11.11.11.11<BR>ip host R10 2010 11.11.11.11<BR>!<BR>!<BR>!<BR>!<BR>interface Loopback0<BR>ip address 11.11.11.11 255.255.255.0<BR>no shut<BR>!<BR>interface Ethernet0<BR>ip address 150.100.1.251 255.255.255.0<BR>no shut<BR>!<BR>interface Serial0<BR>no ip address<BR>shutdown<BR>no fair-queue<BR>!<BR>interface Serial1<BR>no ip address<BR>exit<BR>!<BR>ip classless<BR>ip route 0.0.0.0 0.0.0.0 150.100.1.88<BR>no ip http server<BR>!<BR>!<BR>menu lab1 title ^C^C<BR>menu lab1 text 1 choose-Rack01R1<BR>menu lab1 command 1 telnet 1.1.1.1 2009<BR>menu lab1 text 2 choose-Rack01R2<BR>menu lab1 command 2 telnet 1.1.1.1 2010<BR>menu lab1 text 3 choose-Rack01R3<BR>menu lab1 command 3 telnet 1.1.1.1 2011<BR>menu lab1 text 11 resume-session1<BR>menu lab1 command 11 resume 1<BR>menu lab1 text 12 resume-session2<BR>menu lab1 command 12 resume 2<BR>menu lab1 text 13 resume-session3<BR>menu lab1 command 13 resume 3<BR>menu lab1 text 20 quit<BR>menu lab1 command 20 exit<BR>menu lab1 clear-screen<BR>menu lab1 status-line<BR>menu lab1 line-mode<BR>!<BR>menu lab2 title ^C^C<BR>menu lab2 text 1 choose-Rack02R1<BR>menu lab2 command 1 telnet 1.1.1.1 2007<BR>menu lab2 text 2 choose-Rack02R2<BR>menu lab2 command 2 telnet 1.1.1.1 2008<BR>menu lab2 text 11 resume-session1<BR>menu lab2 command 11 resume 1<BR>menu lab2 text 12 resume-session2<BR>menu lab2 command 12 resume 2<BR>menu lab2 text 20 quit<BR>menu lab2 command 20 exit<BR>menu lab2 clear-screen<BR>menu lab2 status-line<BR>menu lab2 line-mode<BR>!<BR>menu CCNP title ^C^C<BR>menu CCNP text 1 choose-Rack03R1<BR>menu CCNP command 1 telnet 1.1.1.1 2001<BR>menu CCNP text 2 choose-Rack03R2<BR>menu CCNP command 2 telnet 1.1.1.1 2002<BR>menu CCNP text 3 choose-Rack03R3<BR>menu CCNP command 3 telnet 1.1.1.1 2003<BR>menu CCNP text 4 choose-Rack03R4<BR>menu CCNP command 4 telnet 1.1.1.1 2004<BR>menu CCNP text 5 choose-BBR1<BR>menu CCNP command 5 telnet 1.1.1.1 2005<BR>menu CCNP text 6 choose-BBR2<BR>menu CCNP command 6 telnet 1.1.1.1 2006<BR>menu CCNP text 11 resume-session1<BR>menu CCNP command 11 resume 1<BR>menu CCNP text 12 resume-session2<BR>menu CCNP command 12 resume 2<BR>menu CCNP text 13 resume-session3<BR>menu CCNP command 13 resume 3<BR>menu CCNP text 14 resume-session4<BR>menu CCNP command 14 resume 4<BR>menu CCNP text 15 resume-session5<BR>menu CCNP command 15 resume 5<BR>menu CCNP text 16 resume-session6<BR>menu CCNP command 16 resume 6<BR>menu CCNP text 20 quit<BR>menu CCNP command 20 exit<BR>menu CCNP clear-screen<BR>menu CCNP status-line<BR>menu CCNP line-mode<BR>!<BR>menu labonline title ^C^C<BR>menu labonline text 1 LAB1<BR>menu labonline command 1 menu lab1<BR>menu labonline text 2 LAB2<BR>menu labonline command 2 menu lab2<BR>menu labonline text 3 LAB-CCNP<BR>menu labonline command 3 menu CCNP<BR>menu labonline text 4 logout<BR>menu labonline command 4 logout<BR>menu labonline text 5 show online user<BR>menu labonline command 5 show user<BR>menu labonline status-line<BR>menu labonline line-mode<BR>!<BR>!<BR>line con 0<BR>exec-timeout 0 0<BR>logging synchronous<BR>line 1 16<BR>no exec<BR>transport input all<BR>line aux 0<BR>line vty 0<BR>exec-timeout 5 0<BR>login<BR>autocommand  menu labonline<BR>line vty 1 4<BR>exec-timeout 5 0<BR>login<BR>autocommand  menu labonline<BR>!<BR>end<BR></P>
 楼主| 发表于 2006-2-10 10:37:56 | 显示全部楼层
<P>呵呵,刚开始学的时候,我们还是不要给学员直接可用的菜单,但是对老学员确实可以用菜单方式调整一下。</P>
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|熊猫同学技术论坛|小黑屋| 网络工程师论坛 ( 沪ICP备09076391 )

GMT+8, 2024-11-25 13:59 , Processed in 0.078671 second(s), 18 queries , Gzip On.

快速回复 返回顶部 返回列表