Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1400981
  • 博文数量: 269
  • 博客积分: 3602
  • 博客等级: 中校
  • 技术积分: 4535
  • 用 户 组: 普通用户
  • 注册时间: 2012-04-17 21:13
文章分类

全部博文(269)

文章存档

2014年(8)

2013年(139)

2012年(122)

分类:

2012-11-28 11:37:32

R1#show run
Building configuration...


Current configuration : 907 bytes
!
version 12.1
service single-slot-reload-enable
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname R1
!
!
!
!
!
!
subnet-zero
!
!
!
!
interface FastEthernet0/0
ip address 192.168.1.1 255.255.255.0
no ip redirects
duplex auto
speed auto
standby 1 ip 192.168.1.100    /定义1组的浮动地址,也是ROUTER,连接网络的网关
standby 1 timers 2 10     /定义1组每2秒交换一次hello信息包,10秒没收到hello信息包就切换
standby 1 priority 150    /定义1组的优先级,值越大,优先级越高
standby 1 preempt     /定义1组的HSRP组的抢占功能
standby 1 authentication cisco    /定义1组的验证字符
standby 1 track Serial1/0    /定义1组的监控口(可选)
!
interface Serial1/0
ip address 13.13.13.1 255.255.255.0
serial restart-delay 0
!
interface Serial1/1
no ip address
shutdown
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
!
router rip
version 2
passive-interface FastEthernet0/0
network 13.0.0.0
network 192.168.1.0
!
ip classless
ip http server
!
!
line con 0
line aux 0
line vty 0 4
login
!
end

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