发新话题
打印

[经验] Cisco 路由器配置,新手最好的幫助。

Cisco 路由器配置,新手最好的幫助。

一、配置
Router#
Router#en
Router#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
Router(config)#hostname juzhong
juzhong(config)#en
juzhong(config)#ena
juzhong(config)#enable se
juzhong(config)#enable secret ?
  0      Specifies an UNENCRYPTED password will follow
  5      Specifies an ENCRYPTED secret will follow
  LINE   The UNENCRYPTED (cleartext) 'enable' secret
  level  Set exec level password
juzhong(config)#enable secret qqqqqq
juzhong(config)#exit
juzhong#
00:03:58: %SYS-5-CONFIG_I: Configured from console by consoleconf
Configuring from terminal, memory, or network [terminal]?
Enter configuration commands, one per line.  End with CNTL/Z.
juzhong(config)#exit
juzhong#
00:04:04: %SYS-5-CONFIG_I: Configured from console by console^Z
juzhong#q

二、配置IP
User Access Verification
Password:
juzhong>en
Password:
juzhong#show conf
juzhong#show configuration
Using 880 out of 29688 bytes
!
version 12.2
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname juzhong
!
enable secret 5 $1$PkvO$DAtxVUN3sIAdXvG88jsaZ/
!
ip subnet-zero
!
!
!
!
!
!
interface FastEthernet0/0
ip address 10.11.1.254 255.255.0.0
duplex auto
speed auto
!
interface Serial0/0
no ip address
shutdown
!
interface FastEthernet0/1
no ip address
duplex auto
speed auto
!
interface Serial0/1
ip address 192.168.254.2 255.255.255.252
encapsulation ppp
!
router rip
network 10.0.0.0
network 192.168.254.0
!
ip classless
ip route 0.0.0.0 0.0.0.0 10.11.1.253
ip route 10.1.0.0 255.255.0.0 192.168.254.1
ip route 10.2.0.0 255.255.0.0 192.168.254.1
ip route 10.3.0.0 255.255.0.0 192.168.254.1
no ip http server
ip pim bidir-enable
!
!
!
line con 0
password qqqqqq

line aux 0
line vty 0 4
password qqqqqq
login
!
!
end

TOP

呵呵,收藏一下
企业文档/邮件归档管理解决方案、企业信息门户解决方案、企业协同办公系统(基于Lotus平台的OA工作流引擎、和Java开发的工作流引擎)、上网行为管理软件(设备)提供商

TOP

发新话题
  清除 Cookies - 联系我们 - 邮件技术资讯网 - Archiver - WAP - 繁體中文
当前时区 GMT+8, 现在时间是 2008-7-6 16:41

本论坛为非盈利中立机构,论坛所有言论纯属发表者个人意见,与《 邮件技术资讯网》论坛立场无关。内容所涉及的版权和法律相关事宜请参考各自所有者的条款。
如果认定侵犯了您的权利,请联系我们尽快处理。本论坛原创内容请联系本站后再行转载并务必保留我站信息。此声明修改不再另行通知,本论坛保留最终解释权。
*本论坛QQ群:1#群2233231(推荐) 2#群2598254(已满) 3#群15974064(推荐) 4#群14173252(推荐)*
Powered by Discuz! 6.0.0  © 2001-2007 Comsenz Inc.