Chinaunix首页 | 论坛 | 博客
  • 博客访问: 924732
  • 博文数量: 276
  • 博客积分: 4182
  • 博客等级: 上校
  • 技术积分: 4486
  • 用 户 组: 普通用户
  • 注册时间: 2012-04-17 21:14
文章分类

全部博文(276)

文章存档

2014年(9)

2013年(132)

2012年(135)

分类: 系统运维

2013-07-10 11:11:04

version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname yourname
!
boot-start-marker
boot-end-marker
!
logging buffered 51200 warnings
!
no aaa new-model
cef
!
!
!
!
ip domain name yourdomain.com
multilink bundle-name aunticated
!        
!
!
username cisco2009 privilege 15 secret 5 $1$EPyG$MYgFXHot3oYzYAmQmd3xO/
archive
log config
hidekeys
!
!
!
track 1 interface FastEthernet0/0 line-protocol
delay down 5 up 30
!
track 2 interface FastEthernet0/1 line-protocol
delay down 5 up 10
!
!
!
interface FastEthernet0/0
description $ETH-LAN$$ETH-SW-LAUNCH$$INTF-INFO-FE 0$
ip address 60.8.*.* 255.255.255.252
ip nat outside
ip virtual-reassembly
duplex auto
speed auto
!
interface FastEthernet0/1
ip address 60.8.*.* 255.255.255.252
ip nat outside
ip virtual-reassembly
duplex auto
speed auto
!
interface FastEthernet0/1/0
!
interface FastEthernet0/1/1
!
interface FastEthernet0/1/2
!
interface FastEthernet0/1/3
!
interface Vlan1
ip address 192.168.0.252 255.255.255.0
ip nat inside
ip virtual-reassembly
!
ip forward-protocol nd
ip route 0.0.0.0 0.0.0.0 60.8.*.* track 1
ip route 0.0.0.0 0.0.0.0 60.8.*.* track 2
!
!
ip http server
ip http access-class 23
ip http authentication local
ip http timeout-policy idle 60 life 86400 requests 10000
ip nat inside source route-map nat1 interface FastEthernet0/0 overload
ip nat inside source route-map nat2 interface FastEthernet0/1 overload
ip nat inside source static tcp 192.168.0.251 9000 60.8.*.* 9000 extendable
ip nat inside source static tcp 192.168.0.251 9001 60.8.*.* 9001 extendable
ip nat inside source static tcp 192.168.0.251 9002 60.8.*.* 9002 extendable
ip nat inside source static tcp 192.168.0.240 3389 60.8.*.* 3389 extendable
!
access-list 23 permit 192.168.0.0 0.0.0.255
access-list 100 permit ip any any
route-map nat2 permit 10
match ip address 23
match interface FastEthernet0/1
!
route-map nat1 permit 10
match ip address 23
match interface FastEthernet0/0
!
!
!
control-plane
!
banner exec ^C
% Password expiration warning.
-----------------------------------------------------------------------

Cisco Router and Security Device Manager (SDM) is installed on this device and
it provides the default username "cisco" for one-time use. If you have already
used the username "cisco" to login to the router and your IOS image supports the
"one-time" user option, then this username has already expired. You will not be
able to login to the router with this username after you exit this session.

It is strongly suggested that you create a new username with a privilege level
of 15 using the following command.

username privilege 15 secret 0

Replace and with the username and password you want to
use.     

-----------------------------------------------------------------------
^C
banner login ^C
-----------------------------------------------------------------------
Cisco Router and Security Device Manager (SDM) is installed on this device.
This feature requires the one-time use of the username "cisco"
with the password "cisco". The default username and password have a privilege level of 15.

Please change these publicly known initial credentials using SDM or the IOS CLI.
Here are the Cisco IOS commands.

username privilege 15 secret 0
no username cisco

Replace and with the username and password you want to use.

For more information about SDM please follow the instructions in the QUICK START
GUIDE for your router or go to
-----------------------------------------------------------------------
^C
!
line con 0
login local
line aux 0
line vty 0 4
access-class 23 in
privilege level 15
login local
transport input telnet
line vty 5 15
access-class 23 in
privilege level 15
login local
transport input telnet
!
scheduler allocate 20000 1000
end

阅读(823) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~