Chinaunix首页 | 论坛 | 博客
  • 博客访问: 6896307
  • 博文数量: 3857
  • 博客积分: 6409
  • 博客等级: 准将
  • 技术积分: 15948
  • 用 户 组: 普通用户
  • 注册时间: 2008-09-02 16:48
个人简介

迷彩 潜伏 隐蔽 伪装

文章分类

全部博文(3857)

文章存档

2017年(5)

2016年(63)

2015年(927)

2014年(677)

2013年(807)

2012年(1241)

2011年(67)

2010年(7)

2009年(36)

2008年(28)

分类:

2012-06-15 10:15:12

R2#show running-config
Building configuration...

Current configuration : 1779 bytes
!
version 12.2
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname R2
!
enable secret 5 $1$xz5X$osuW46yqKGwoGl9NhQlrS1
!
ip subnet-zero
!
!
no ip domain-lookup
!
!
!
!
interface FastEthernet0/0
ip address 172.16.1.7 255.255.255.0
ip nat inside
ip policy route-map lanqi
duplex auto
speed auto
!
interface Serial1/0
description to ISP_A
ip address 74.1.1.7 255.255.255.0
ip nat outside
serial restart-delay 0
!
interface Serial1/1
description to ISP-B
ip address 75.1.1.7 255.255.255.0
ip nat outside
serial restart-delay 0
!
interface Serial1/2
no ip address
shutdown
serial restart-delay 0
!
interface Serial1/3
no ip address
shutdown
serial restart-delay 0
!
ip nat inside source route-map cisco1 interface Serial1/0 overload
ip nat inside source route-map cisco2 interface Serial1/1 overload
ip nat inside source route-map cisco3 interface Serial1/1 overload
ip nat inside source route-map cisco4 interface Serial1/0 overload
ip classless
ip route 0.0.0.0 0.0.0.0 74.1.1.4
ip route 0.0.0.0 0.0.0.0 75.1.1.5
ip route 172.16.2.0 255.255.255.0 172.16.1.3
ip http server
!
access-list 1 permit 172.16.1.0 0.0.0.255
access-list 2 permit 172.16.2.0 0.0.0.255
route-map cisco4 permit 10
match ip address 2
!
route-map cisco1 permit 10
match ip address 1
match interface Serial1/0
!
route-map cisco3 permit 10
match ip address 2
match interface Serial1/1
!
route-map cisco2 permit 10
match ip address 1
!
route-map lanqi permit 10
match ip address 1 s1/0
set interface Serial1/0
!
route-map lanqi permit 20
match ip address 2
match interface Serial1/1
set interface Serial1/1
!
!
line con 0
exec-timeout 0 0
logging synchronous
line aux 0
line vty 0 4
exec-timeout 0 0
password cisco
login   
!
end
阅读(1147) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~