反向telnet配置 (留着自己以后用 呵呵)

来源:互联网 发布:苏格兰 知乎 编辑:程序博客网 时间:2024/06/05 00:42

dis ver                                                                        

 Copyright Notice:                                                             

 All rights reserved (Jul 18 2005).                                            

 Without the owner's prior written consent, no decompiling                     

 nor reverse-engineering shall be allowed.                                     

 Huawei-3Com Versatile Routing Platform Software                               

 VRP(R) software, Version 3.40, Release RT-0012                                

 Copyright (c) 2003-2005 Hangzhou Huawei-3Com Tech. Co.,Ltd. All rights reserved

.                                                                              

 Copyright (c) 2000-2003 Huawei Tech. Co.,Ltd. All rights reserved.            

 Quidway AR28-10 uptime is 0 week, 0 day, 2 hours, 13 minutes                  

 CPU type: PowerPC 8241 200MHz                                                 

 128M bytes SDRAM Memory                                                        

 32M bytes Flash Memory                                                        

 Pcb      Version:1.0                                                          

 Logic    Version:1.0                                                           

 BootROM  Version:9.12                                                         

  [SLOT 0] AUX      (Hardware)1.0, (Driver)1.0, (Cpld)1.0                      

  [SLOT 0] 1FE      (Hardware)3.0, (Driver)2.0, (Cpld)0.0                       

  [SLOT 0] WAN      (Hardware)1.0, (Driver)1.0, (Cpld)1.0                      

  [SLOT 1] 16AS     (Hardware)2.1, (Driver)1.0, (Cpld)0.0                      

<Quidway>dis cu                                                                

#                                                                               

 sysname Quidway                                                               

#                                                                              

 FTP server enable                                                              

#                                                                              

 l2tp domain suffix-separator @                                                

#                                                                               

 ip host ar 1.1.1.1                                                            

#                                                                              

radius scheme system                                                            

#                                                                              

domain system                                                                  

#                                                                               

local-user admin                                                               

 password cipher .]@USE=B,53Q=^Q`MAF4<<"TX$_S#6.NM(0=0/)*5WWQ=^Q`MAF4<<"TX$_S#6.

N                                                                               

 service-type telnet terminal                                                  

 level 3                                                                       

 service-type ftp                                                              

#                                                                               

interface Async1/0                                                             

 async mode protocol                                                           

 link-protocol ppp                                                              

 ip address ppp-negotiate                                                      

#                                                                              

interface Async1/1                                                              

 async mode protocol                                                           

 link-protocol ppp                                                             

 ip address ppp-negotiate                                                       

#                                                                              

interface Async1/2                                                             

 async mode protocol                                                            

 link-protocol ppp                                                             

 ip address ppp-negotiate                                                      

#                                                                               

interface Async1/3                                                             

 async mode protocol                                                           

 link-protocol ppp                                                             

 ip address ppp-negotiate                                                      

#                                                                              

interface Async1/4                                                             

 async mode protocol                                                           

 link-protocol ppp                                                             

 ip address ppp-negotiate                                                      

#                                                                               

interface Async1/5                                                             

 async mode protocol                                                           

 link-protocol ppp                                                              

 ip address ppp-negotiate                                                      

#                                                                              

interface Async1/6                                                              

 async mode protocol                                                           

 link-protocol ppp                                                             

 ip address ppp-negotiate                                                       

#                                                                              

interface Async1/7                                                             

 async mode protocol                                                           

 link-protocol ppp                                                             

 ip address ppp-negotiate                                                      

#                                                                              

interface Async1/8                                                             

 async mode protocol                                                           

 link-protocol ppp                                                             

 ip address ppp-negotiate                                                       

#                                                                              

interface Async1/9                                                             

 async mode protocol                                                            

 link-protocol ppp                                                             

 ip address ppp-negotiate                                                      

#                                                                               

interface Async1/10                                                            

 async mode protocol                                                           

 link-protocol ppp                                                              

 ip address ppp-negotiate                                                      

#                                                                              

interface Async1/11                                                             

 async mode protocol                                                           

 link-protocol ppp                                                             

 ip address ppp-negotiate                                                      

#                                                                               

interface Async1/12                                                            

 async mode protocol                                                           

 link-protocol ppp                                                              

 ip address ppp-negotiate                                                      

#                                                                              

interface Async1/13                                                             

 async mode protocol                                                           

 link-protocol ppp                                                             

 ip address ppp-negotiate                                                       

#                                                                              

interface Async1/14                                                            

 async mode protocol                                                            

 link-protocol ppp                                                             

 ip address ppp-negotiate                                                      

#                                                                               

interface Async1/15                                                            

 async mode protocol                                                           

 link-protocol ppp                                                             

 ip address ppp-negotiate                                                      

#                                                                              

interface Aux0                                                                 

 async mode flow        异步流模式                                                   

 undo detect dsr-dtr       不检测dsrdtr信号就可以up                                                    

#                                                                              

interface Ethernet0/0                                                          

 ip address 1.1.1.1 255.255.255.0                                              

#                                                                              

interface Serial0/0                                                             

 clock DTECLK1                                                                 

 link-protocol ppp                                                             

 ip address ppp-negotiate                                                       

#                                                                              

interface NULL0                                                                

#                                                                               

interface LoopBack0              配置一个接口地址用于telnet                                              

 ip address 2.2.2.2 255.255.255.0                                               

#                                                                              

user-interface con 0                                                            

user-interface tty 17 32

user-interface模式下配置其他参数,如果是async口在user-int tty模式下配置                                                                                

user-interface aux 0                                  

 undo shell                                                                    

 flow-control none                                                             

 redirect enable                                                               

 redirect listen-port 3000    使用端口号3000                                                 

user-interface vty 0 4                                                         

 authentication-mode scheme                                                    

#                                                                               

return                                                                         

<Quidway>telnet 2.2.2.2 3000                                                   

Trying 2.2.2.2 ...                                                              

Press CTRL+K to abort                                                          

Connected to 2.2.2.2 ...                                                       

<as100>                                                                         

%Aug 23 16:45:33:242 2005 as100 SHELL/5/LOGIN: Console login from con0         

<as100>                                                                        

<as100>   ctrl+k退回                                                                     

<Quidway>