参考语句:
standby 105 timers 5 10# 定义105组5秒交换一次hello信息,10秒没收到hello信息就开始切换 #
standby 105 priority * # 定义105组的主权值,值越大,为主希望越大 #
standby 105 preempt #
定义105组的hsrp抢占功能 #
standby 105 authentication *
# 设置105组身份验证串 #
standby 105 ip *.*.*.*
# 定义105组的浮动地址#
standby 105 track * # 定义监控的端口 #
<IMG style="PADDING-BOTTOM: 0px; BORDER-RIGHT-WIDTH: 0px; LIST-STYLE-TYPE: none; MARGIN: 0px; PADDING-LEFT: 0px; PADDING-RIGHT: 0px; BORDER-TOP-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px; PADDING-TOP: 0px" title="6509 HSRP实际案例" alt="6509 HSRP实际案例" src="http://static6.photo.sina.com.cn/middle/57305f20g8e38ae82ec65&690" width=490 height=318 real_src="http://static6.photo.sina.com.cn/middle/57305f20g8e38ae82ec65&690">
6509 main的配置
Username: cisco
Password:
6509_main>en
Password:
6509_main#show run
Building configuration...
Current configuration : 13260 bytes
!
! Last configuration change at 09:25:51 GMT Tue Feb 6 2007
! NVRAM config last updated at 09:25:58 GMT Tue Feb 6 2007
!
upgrade fpd auto
version 12.2
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
service internal
service counters max age 5
!
hostname 6509_main
!
boot system flash sup-bootdisk:
enable password cisco
!
username cisco password 0 cisco
no aaa new-model
clock timezone GMT 8
ip subnet-zero
!
no ip domain-lookup
ipv6 mfib hardware-switching replication-mode ingress
mls ip multicast flow-stat-timer 9
no mls flow ip
no mls flow ipv6
no mls acl tcam share-global
mls cef error action freeze
!
redundancy
mode sso
main-cpu
auto-sync running-config
!
spanning-tree mode pvst
spanning-tree vlan 1-3,8,21-23,31-33,41,81,88,101-111 priority 8192
environment temperature-controlled
diagnostic cns publish cisco.cns.device.diag_results
diagnostic cns subscribe cisco.cns.device.diag_commands
fabric buffer-reserve queue
!
vlan internal allocation policy ascending
vlan access-log ratelimit 2000
!
interface GigabitEthernet1/1
description link to mzfl1n1
switchport
switchport trunk encapsulation dot1q
switchport mode trunk
no ip address
!
interface GigabitEthernet1/2
description link to mzfl1e1
switchport
switchport trunk encapsulation dot1q
switchport mode trunk
no ip address
!
interface GigabitEthernet1/3
description link to mzfl1w1
switchport
switchport trunk encapsulation dot1q
switchport mode trunk
no ip address
!
interface GigabitEthernet1/4
description link to mzfl2n1
switchport
switchport trunk encapsulation dot1q
switchport mode trunk
no ip address
!
interface GigabitEthernet1/5
description link to mzfl2e1
switchport
switchport trunk encapsulation dot1q
switchport mode trunk
no ip address
!
interface GigabitEthernet1/6
description link to mzfl2w1
switchport
switchport trunk encapsulation dot1q
switchport mode trunk
no ip address
!
interface GigabitEthernet1/7
description link to mzfl3n1
switchport
switchport trunk encapsulation dot1q
switchport mode trunk
no ip address
!
interface GigabitEthernet1/8
description link to mzfl3e1
switchport
switchport trunk encapsulation dot1q
switchport mode trunk
no ip address
!
interface GigabitEthernet1/9
description link to mzfl3w1
switchport
switchport trunk encapsulation dot1q
switchport mode trunk
no ip address
!
interface GigabitEthernet1/10
description link to mzfl4n1
switchport
switchport trunk encapsulation dot1q
switchport mode trunk
no ip address
!
interface GigabitEthernet1/11
description link to zyfl1
switchport
switchport trunk encapsulation dot1q
switchport mode trunk
no ip address
!
interface GigabitEthernet1/12
description link to zyfl2
switchport
switchport trunk encapsulation dot1q
switchport mode trunk
no ip address
!
interface GigabitEthernet1/13
description link to zyfl3
switchport
switchport trunk encapsulation dot1q
switchport mode trunk
--More--
interface GigabitEthernet1/14
description link to zyfl4
switchport
switchport trunk encapsulation dot1q
switchport mode trunk
no ip address
!
interface GigabitEthernet1/15
description link to zyfl6
switchport
switchport trunk encapsulation dot1q
switchport mode trunk
no ip address
!
interface GigabitEthernet1/16
description link to zyfl5
switchport
switchport trunk encapsulation dot1q
switchport mode trunk
no ip address
!
interface GigabitEthernet1/17
description link to zyfl8
switchport
switchport trunk encapsulation dot1q
switchport mode trunk
no ip address
!
interface GigabitEthernet1/18
description link to zyfl7
switchport
switchport trunk encapsulation dot1q
switchport mode trunk
no ip address
!
interface GigabitEthernet1/19
description link to zyfl9
switchport
switchport trunk encapsulation dot1q
switchport mode trunk
no ip address
!
interface GigabitEthernet1/20
description link to zyfl10
switchport
switchport trunk encapsulation dot1q
switchport mode trunk
no ip address
!
interface GigabitEthernet1/21
description link to zyfl11
switchport
switchport trunk encapsulation dot1q
switchport mode trunk
no ip address
!
interface GigabitEthernet1/22
switchport
switchport trunk encapsulation dot1q
switchport mode trunk
no ip address
!
interface GigabitEthernet1/23
no ip address
shutdown
!
interface GigabitEthernet1/24
no ip address
shutdown
!
interface GigabitEthernet2/1
switchport
switchport access vlan 200
switchport mode access
no ip address
!
interface GigabitEthernet2/2
switchport
switchport access vlan 200
no ip address
!
interface GigabitEthernet2/3
no ip address
shutdown
!
interface GigabitEthernet2/4
no ip address
shutdown
!
interface GigabitEthernet2/5
no ip address
shutdown
!
interface GigabitEthernet2/6
no ip address
shutdown
!
interface GigabitEthernet2/7
switchport
switchport access vlan 8
switchport mode access
no ip address
!
interface GigabitEthernet2/8
switchport
switchport access vlan 8
switchport mode access
no ip address
!
interface GigabitEthernet2/9
switchport
switchport access vlan 8
switchport mode access
no ip address
!
interface GigabitEthernet2/10
switchport
switchport access vlan 8
switchport mode access
no ip address
!
interface GigabitEthernet2/11
switchport
switchport access vlan 8
switchport mode access
no ip address
!
interface GigabitEthernet2/12
switchport
switchport access vlan 8
switchport mode access
no ip address
!
interface GigabitEthernet2/13
switchport
switchport access vlan 8
switchport mode access
no ip address
!
interface GigabitEthernet2/14
switchport
switchport access vlan 8
switchport mode access
no ip address
!
interface GigabitEthernet2/15
switchport
switchport access vlan 8
switchport mode access
no ip address
!
interface GigabitEthernet2/16
switchport
switchport access vlan 8
switchport mode access
no ip address
!
interface GigabitEthernet2/17
switchport
switchport access vlan 8
switchport mode access
no ip address
!
interface GigabitEthernet2/18
switchport
switchport access vlan 8
switchport mode access
no ip address
!
interface GigabitEthernet2/19
switchport
switchport access vlan 8
switchport mode access
no ip address
!
interface GigabitEthernet2/20
switchport
switchport access vlan 8
switchport mode access
no ip address
!
interface GigabitEthernet2/21
switchport
switchport access vlan 8
switchport mode access
no ip address
!
interface GigabitEthernet2/22
switchport
switchport access vlan 8
switchport mode access
no ip address
!
interface GigabitEthernet2/23
switchport
switchport access vlan 8
switchport mode access
no ip address
!
interface GigabitEthernet2/24
switchport
switchport access vlan 8
switchport mode access
no ip address
!
interface GigabitEthernet2/25
switchport
switchport access vlan 8
switchport mode access
no ip address
!
interface GigabitEthernet2/26
switchport
switchport access vlan 8
switchport mode access
no ip address
!
interface GigabitEthernet2/27
switchport
switchport access vlan 8
switchport mode access
no ip address
!
interface GigabitEthernet2/28
switchport
switchport access vlan 8
switchport mode access
no ip address
!
interface GigabitEthernet2/29
switchport
switchport access vlan 8
switchport mode access
no ip address
!
interface GigabitEthernet2/30
switchport
switchport access vlan 8
switchport mode access
no ip address
!
interface GigabitEthernet2/31
switchport
switchport access vlan 8
switchport mode access
no ip address
!
interface GigabitEthernet2/32
switchport
switchport access vlan 8
switchport mode access
no ip address
!
interface GigabitEthernet2/33
switchport
switchport access vlan 8
switchport mode access
no ip address
!
interface GigabitEthernet2/34
switchport
switchport access vlan 8
switchport mode access
no ip address
!
interface GigabitEthernet2/35
switchport
switchport access vlan 8
switchport mode access
no ip address
!
interface GigabitEthernet2/36
switchport
switchport access vlan 8
switchport mode access
no ip address
!
interface GigabitEthernet2/37
switchport
switchport access vlan 8
switchport mode access
no ip address
!
interface GigabitEthernet2/38j
switchport access vlan 8
switchport mode access
no ip address
!
interface GigabitEthernet2/39
switchport
switchport access vlan 8
switchport mode access
no ip address
!
interface GigabitEthernet2/40
switchport
switchport access vlan 8
switchport mode access
no ip address
!
interface GigabitEthernet2/41
switchport
switchport access vlan 8
switchport mode access
no ip address
!
interface GigabitEthernet2/42
switchport
switchport access vlan 8
switchport mode access
no ip address
!
interface GigabitEthernet2/43
switchport
switchport access vlan 300
switchport mode access
no ip address
!
interface GigabitEthernet2/44
no ip address
shutdown
!
interface GigabitEthernet2/45
no ip address
shutdown
!
interface GigabitEthernet2/46
no ip address
shutdown
!
interface GigabitEthernet2/47
no ip address
shutdown
!
interface GigabitEthernet2/48
no ip address
shutdown
!
interface GigabitEthernet5/1
no ip address
shutdown
!
interface GigabitEthernet5/2
description link to 6509-slave
switchport
switchport trunk encapsulation dot1q
switchport mode trunk
no ip address
media-type rj45
!
interface Vlan1
ip address 192.168.1.253 255.255.255.0
standby 1 ip 192.168.1.251
standby 1 priority 105
standby 1 preempt
!
interface Vlan2
ip address 192.168.2.253 255.255.255.0
standby 2 ip 192.168.2.251
standby 2 priority 105
standby 2 preempt
!
interface Vlan3
ip address 192.168.3.253 255.255.255.0
standby 3 ip 192.168.3.251
standby 3 priority 105
standby 3 preempt
!
interface Vlan8
ip address 192.168.8.253 255.255.255.0
standby 8 ip 192.168.8.251
standby 8 priority 180
standby 8 preempt
!
interface Vlan21
ip address 192.168.21.253 255.255.255.0
standby 21 ip 192.168.21.251
standby 21 priority 105
standby 21 preempt
!
interface Vlan22
ip address 192.168.22.253 255.255.255.0
standby 22 ip 192.168.22.251
standby 22 priority 105
standby 22 preempt
!
interface Vlan23
ip address 192.168.23.253 255.255.255.0
standby 23 ip 192.168.23.251
standby 23 priority 105
standby 23 preempt
!
interface Vlan31
ip address 192.168.31.253 255.255.255.0
standby 31 ip 192.168.31.251
standby 31 priority 105
standby 31 preempt
!
interface Vlan32
ip address 192.168.32.253 255.255.255.0
standby 32 ip 192.168.32.251
standby 32 priority 105
standby 32 preempt
!
interface Vlan33
ip address 192.168.33.253 255.255.255.0
standby 33 ip 192.168.33.251
standby 33 priority 105
standby 33 preempt
!
interface Vlan41
ip address 192.168.41.253 255.255.255.0
standby 41 ip 192.168.41.251
standby 41 priority 105
standby 41 preempt
!
interface Vlan81
ip address 192.168.81.253 255.255.255.0
standby 1 ip 192.168.81.251
standby 1 priority 105
standby 1 preempt
!
interface Vlan88
ip address 192.168.88.253 255.255.255.0
standby 88 ip 192.168.88.251
standby 88 priority 105
standby 88 preempt
!
interface Vlan101
ip address 192.168.101.253 255.255.255.0
standby 101 ip 192.168.101.251
standby 101 priority 105
standby 101 preempt
!
interface Vlan102
ip address 192.168.102.253 255.255.255.0
standby 102 ip 192.168.102.251
standby 102 priority 105
standby 102 preempt
!
interface Vlan103
ip address 192.168.103.253 255.255.255.0
standby 103 ip 192.168.103.251
standby 103 priority 105
standby 103 preempt
!
interface Vlan104
ip address 192.168.104.253 255.255.255.0
standby 104 ip 192.168.104.251
standby 104 priority 105
standby 104 preempt
!
interface Vlan105
ip address 192.168.105.253 255.255.255.0
standby 105 ip 192.168.105.251
standby 105 priority 105
standby 105 preempt
!
interface Vlan106
ip address 192.168.106.253 255.255.255.0
standby 106 ip 192.168.106.251
standby 106 priority 105
standby 106 preempt
!
interface Vlan107
ip address 192.168.107.253 255.255.255.0
standby 107 ip 192.168.107.251
standby 107 priority 105
standby 107 preempt
!
interface Vlan108
ip address 192.168.108.253 255.255.255.0
standby 108 ip 192.168.108.251
standby 108 priority 105
standby 108 preempt
!
interface Vlan109
ip address 192.168.109.253 255.255.255.0
standby 109 ip 192.168.109.251
standby 109 priority 105
standby 109 preempt
!
interface Vlan110
ip address 192.168.110.253 255.255.255.0
standby 110 ip 192.168.110.251
standby 110 priority 105
standby 110 preempt
!
interface Vlan111
ip address 192.168.111.253 255.255.255.0
standby 111 ip 192.168.111.251
standby 111 priority 105
standby 111 preempt
!
interface Vlan200
ip address 172.16.1.2 255.255.255.0
!
interface Vlan300
ip address 172.16.3.2 255.255.255.0
!
router ospf 1
log-adjacency-changes
network 192.168.0.0 0.0.255.255 area 0
!
ip classless
ip route 0.0.0.0 0.0.0.0 172.16.1.1
ip route 10.0.1.0 255.255.255.0 172.16.3.6
ip route 172.16.0.0 255.255.0.0 172.16.1.1
ip route 172.16.0.0 255.255.0.0 172.16.3.6
!
ip http server
!
snmp-server community cisco RO
!
control-plane
!
dial-peer cor custom
!
line con 0
logging synchronous
line vty 0 4
login local
transport input telnet
!
scheduler runtime netinput 300
no cns aaa enable
end
6509_main#
6509 slave的配置
6509_slave#sho run
Building configuration...
Current configuration : 12274 bytes
!
upgrade fpd auto
version 12.2
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
service internal
service counters max age 5
!
hostname 6509_slave
!
boot system flash sup-bootdisk:
enable password cisco
!
username cisco password 0 cisco
no aaa new-model
clock timezone PDT -7
ip subnet-zero
!
no ip domain-lookup
ipv6 mfib hardware-switching replication-mode ingress
mls ip multicast flow-stat-timer 9
no mls flow ip
no mls flow ipv6
no mls acl tcam share-global
mls cef error action freeze
!
redundancy
mode sso
main-cpu
auto-sync running-config
spanning-tree mode pvst
environment temperature-controlled
diagnostic cns publish cisco.cns.device.diag_results
diagnostic cns subscribe cisco.cns.device.diag_commands
fabric buffer-reserve queue
!
vlan internal allocation policy ascending
vlan access-log ratelimit 2000
!
interface GigabitEthernet1/1
description link to mzfl1n2
switchport
switchport trunk encapsulation dot1q
switchport mode trunk
no ip address
!
interface GigabitEthernet1/2
description link to mzfl1e2
switchport
switchport trunk encapsulation dot1q
switchport mode trunk
no ip address
!
interface GigabitEthernet1/3
description link to mzfl1w1
switchport
switchport trunk encapsulation dot1q
switchport mode trunk
no ip address
!
interface GigabitEthernet1/4
description link to mzfl2n2
switchport
switchport trunk encapsulation dot1q
switchport mode trunk
no ip address
!
interface GigabitEthernet1/5
description link to mzfl2e2
switchport
switchport trunk encapsulation dot1q
switchport mode trunk
no ip address
!
interface GigabitEthernet1/6
description link to mzfl2w2
switchport
switchport trunk encapsulation dot1q
switchport mode trunk
no ip address
!
interface GigabitEthernet1/7
description link to mzfl3n1
switchport
switchport trunk encapsulation dot1q
switchport mode trunk
no ip address
!
interface GigabitEthernet1/8
description link to mzfl3e1
switchport
switchport trunk encapsulation dot1q
switchport mode trunk
no ip address
!
interface GigabitEthernet1/9
description link to mzfl3w1
switchport
switchport trunk encapsulation dot1q
switchport mode trunk
no ip address
!
interface GigabitEthernet1/10
description link to mzfl4n1
switchport
switchport trunk encapsulation dot1q
switchport mode trunk
no ip address
!
interface GigabitEthernet1/11
description link to zyfl1
switchport
switchport trunk encapsulation dot1q
switchport mode trunk
no ip address
!
interface GigabitEthernet1/12
description link to zyfl2
switchport
switchport trunk encapsulation dot1q
switchport mode trunk
no ip address
!
interface GigabitEthernet1/13
description link to zyfl3
switchport
switchport trunk encapsulation dot1q
switchport mode trunk
no ip address
!
interface GigabitEthernet1/14
description link to zyfl4
switchport
switchport trunk encapsulation dot1q
switchport mode trunk
no ip address
!
interface GigabitEthernet1/15
description link to zyfl6
switchport
switchport trunk encapsulation dot1q
switchport mode trunk
no ip address
!
interface GigabitEthernet1/16
description link to zyfl5
switchport
switchport trunk encapsulation dot1q
switchport mode trunk
no ip address
!
interface GigabitEthernet1/17
description link to zyfl8
switchport
switchport trunk encapsulation dot1q
switchport mode trunk
no ip address
!
interface GigabitEthernet1/18
description link to zyfl7
switchport
switchport trunk encapsulation dot1q
switchport mode trunk
no ip address
!
interface GigabitEthernet1/19
description link to zyfl9
switchport
switchport trunk encapsulation dot1q
switchport mode trunk
no ip address
!
interface GigabitEthernet1/20
description link to zyfl10
switchport
switchport trunk encapsulation dot1q
switchport mode trunk
no ip address
!
interface GigabitEthernet1/21
description link to zyfl11
switchport
switchport trunk encapsulation dot1q
switchport mode trunk
no ip address
!
interface GigabitEthernet1/22
switchport
switchport trunk encapsulation dot1q
switchport mode trunk
no ip address
!
interface GigabitEthernet1/23
switchport
switchport trunk encapsulation dot1q
switchport mode trunk
no ip address
!
interface GigabitEthernet1/24
switchport
switchport trunk encapsulation dot1q
switchport mode trunk
no ip address
!
interface GigabitEthernet2/1
ip address 172.16.2.2 255.255.255.0
!
interface GigabitEthernet2/2
no ip address
shutdown
!
interface GigabitEthernet2/3
no ip address
shutdown
!
interface GigabitEthernet2/4
no ip address
shutdown
!
interface GigabitEthernet2/5
no ip address
shutdown
!
interface GigabitEthernet2/6
no ip address
shutdown
!
interface GigabitEthernet2/7
switchport
switchport access vlan 8
switchport mode access
no ip address
!
interface GigabitEthernet2/8
switchport
switchport access vlan 8
switchport mode access
no ip address
!
interface GigabitEthernet2/9
switchport
switchport access vlan 8
switchport mode access
no ip address
!
interface GigabitEthernet2/10
switchport
switchport access vlan 8
switchport mode access
no ip address
!
interface GigabitEthernet2/11
switchport
switchport access vlan 8
switchport mode access
no ip address
!
interface GigabitEthernet2/12
switchport
switchport access vlan 8
switchport mode access
no ip address
!
interface GigabitEthernet2/13
switchport
switchport access vlan 8
switchport mode access
no ip address
!
interface GigabitEthernet2/14
switchport
switchport access vlan 8
switchport mode access
no ip address
!
interface GigabitEthernet2/15
switchport
switchport access vlan 8
switchport mode access
no ip address
!
interface GigabitEthernet2/16
switchport
switchport access vlan 8
switchport mode access
no ip address
!
interface GigabitEthernet2/17
switchport
switchport access vlan 8
switchport mode access
no ip address
!
interface GigabitEthernet2/18
switchport
switchport access vlan 8
switchport mode access
no ip address
!
interface GigabitEthernet2/19
switchport
switchport access vlan 8
switchport mode access
no ip address
!
interface GigabitEthernet2/20
switchport
switchport access vlan 8
switchport mode access
no ip address
!
interface GigabitEthernet2/21
switchport
switchport access vlan 8
switchport mode access
no ip address
!
interface GigabitEthernet2/22
switchport
switchport access vlan 8
switchport mode access
no ip address
!
interface GigabitEthernet2/23
switchport
switchport access vlan 8
switchport mode access
no ip address
!
interface GigabitEthernet2/24
switchport
switchport access vlan 8
switchport mode access
no ip address
!
interface GigabitEthernet2/25
switchport
switchport access vlan 8
switchport mode access
no ip address
!
interface GigabitEthernet2/26
switchport
switchport access vlan 8
switchport mode access
no ip address
!
interface GigabitEthernet2/27
switchport
switchport access vlan 8
switchport mode access
no ip address
!
interface GigabitEthernet2/28
switchport
switchport access vlan 8
switchport mode access
no ip address
!
interface GigabitEthernet2/29
switchport
switchport access vlan 8
switchport mode access
no ip address
!
interface GigabitEthernet2/30
switchport
switchport access vlan 8
switchport mode access
no ip address
!
interface GigabitEthernet2/31
switchport
switchport access vlan 8
switchport mode access
no ip address
!
interface GigabitEthernet2/32
switchport
switchport access vlan 8
switchport mode access
no ip address
!
interface GigabitEthernet2/33
switchport
switchport access vlan 8
switchport mode access
no ip address
!
interface GigabitEthernet2/34
switchport
switchport access vlan 8
switchport mode access
no ip address
!
interface GigabitEthernet2/35
switchport
switchport access vlan 8
switchport mode access
no ip address
!
interface GigabitEthernet2/36
switchport
switchport access vlan 8
switchport mode access
no ip address
!
interface GigabitEthernet2/37
switchport
switchport access vlan 8
switchport mode access
no ip address
!
interface GigabitEthernet2/38
switchport
switchport access vlan 8
switchport mode access
no ip address
!
interface GigabitEthernet2/39
switchport
switchport access vlan 8
switchport mode access
no ip address
!
interface GigabitEthernet2/40
switchport
switchport access vlan 8
switchport mode access
no ip address
!
interface GigabitEthernet2/41
switchport
switchport access vlan 8
switchport mode access
no ip address
!
interface GigabitEthernet2/42
switchport
switchport access vlan 8
switchport mode access
no ip address
!
interface GigabitEthernet2/43
no ip address
shutdown
interface GigabitEthernet2/44
no ip address
shutdown
!
interface GigabitEthernet2/45
no ip address
shutdown
!
interface GigabitEthernet2/46
no ip address
shutdown
!
interface GigabitEthernet2/47
no ip address
shutdown
!
interface GigabitEthernet2/48
no ip address
shutdown
!
interface GigabitEthernet5/1
no ip address
shutdown
!
interface GigabitEthernet5/2
description link to 6509-main
switchport
switchport trunk encapsulation dot1q
switchport mode trunk
no ip address
media-type rj45
!
interface Vlan1
ip address 192.168.1.252 255.255.255.0
standby 1 ip 192.168.1.251
standby 1 preempt
!
interface Vlan2
ip address 192.168.2.252 255.255.255.0
standby 2 ip 192.168.2.251
standby 2 preempt
!
interface Vlan3
ip address 192.168.3.252 255.255.255.0
standby 3 ip 192.168.3.251
standby 3 preempt
!
interface Vlan8
ip address 192.168.8.252 255.255.255.0
standby 8 ip 192.168.8.251
standby 8 priority 130
standby 8 preempt
!
interface Vlan21
ip address 192.168.21.252 255.255.255.0
standby 21 ip 192.168.21.251
standby 21 preempt
!
interface Vlan22
ip address 192.168.22.252 255.255.255.0
standby 22 ip 192.168.22.251
standby 22 preempt
!
interface Vlan23
ip address 192.168.23.252 255.255.255.0
standby 23 ip 192.168.23.251
standby 23 preempt
!
interface Vlan31
ip address 192.168.31.252 255.255.255.0
standby 31 ip 192.168.31.251
standby 31 preempt
!
interface Vlan32
ip address 192.168.32.252 255.255.255.0
standby 32 ip 192.168.32.251
standby 32 preempt
!
interface Vlan33
ip address 192.168.33.252 255.255.255.0
standby 33 ip 192.168.33.251
standby 33 preempt
!
interface Vlan41
ip address 192.168.41.252 255.255.255.0
standby 41 ip 192.168.41.251
standby 41 preempt
!
interface Vlan81
ip address 192.168.81.252 255.255.255.0
standby 1 ip 192.168.81.251
standby 1 preemp
!
interface Vlan88
ip address 192.168.88.252 255.255.255.0
standby 88 ip 192.168.88.251
standby 88 preempt
!
interface Vlan101
ip address 192.168.101.252 255.255.255.0
standby 101 ip 192.168.101.251
standby 101 preempt
!
interface Vlan102
ip address 192.168.102.252 255.255.255.0
standby 102 ip 192.168.102.251
standby 102 preempt
!
interface Vlan103
ip address 192.168.103.252 255.255.255.0
standby 103 ip 192.168.103.251
standby 103 preempt
!
interface Vlan104
ip address 192.168.104.252 255.255.255.0
standby 104 ip 192.168.104.251
standby 104 preempt
!
interface Vlan105
ip address 192.168.105.252 255.255.255.0
standby 105 ip 192.168.105.251
standby 105 preempt
!
interface Vlan106
ip address 192.168.106.252 255.255.255.0
standby 106 ip 192.168.106.251
standby 106 preempt
!
interface Vlan107
ip address 192.168.107.252 255.255.255.0
standby 107 ip 192.168.107.251
standby 107 preempt
!
interface Vlan108
ip address 192.168.108.252 255.255.255.0
standby 108 ip 192.168.108.251
standby 108 preempt
!
interface Vlan109
ip address 192.168.109.252 255.255.255.0
standby 109 ip 192.168.109.251
standby 109 preempt
!
interface Vlan110
ip address 192.168.110.252 255.255.255.0
standby 110 ip 192.168.110.251
standby 110 preempt
!
interface Vlan111
ip address 192.168.111.252 255.255.255.0
standby 111 ip 192.168.111.251
standby 111 preempt
!
router ospf 1
log-adjacency-changes
redistribute static
network 192.168.0.0 0.0.255.255 area 0.0.0.0
!
ip classless
ip route 172.16.2.0 255.255.255.0 172.16.2.1
!
ip http server
snmp-server community cisco RO
control-plane
!
dial-peer cor custom
!
line con 0
logging synchronous
line vty 0 4
password cisco
login local
!
scheduler runtime netinput 300
no cns aaa enable
end
6509_slave#