思科3750HSRP配置


SWMILLMAIN#show run
Building configuration...

Current configuration : 6640 bytes
!
! Last configuration change at 14:50:52 WST Sat Mar 5 2011
! NVRAM config last updated at 14:51:06 WST Sat Mar 5 2011
!
version 12.2
no service pad
service timestamps debug uptime
service timestamps log datetime
no service password-encryption
service sequence-numbers
!
hostname SWMILLMAIN
!
enable secret 5 ocsic
enable password cisco1
!
no aaa new-model
clock timezone WST 8
switch 1 provision ws-c3750g-12s
vtp domain WISCOVTP
vtp mode transparent
ip subnet-zero
ip routing
ip dhcp excluded-address 172.17.102.1 172.17.102.230
ip dhcp excluded-address 172.17.103.1 172.17.103.230
ip dhcp excluded-address 172.17.104.1 172.17.104.230
ip dhcp excluded-address 172.17.105.1 172.17.105.230
ip dhcp excluded-address 172.17.106.1 172.17.106.230
ip dhcp excluded-address 172.17.107.1 172.17.107.230
ip dhcp excluded-address 172.17.108.1 172.17.108.230
!
ip dhcp pool CaLe2
   network 172.17.102.0 255.255.255.0
   default-router 172.17.102.1
!
ip dhcp pool CaHMI
   network 172.17.103.0 255.255.255.0
   default-router 172.17.103.1
!
ip dhcp pool CaLe1
   network 172.17.104.0 255.255.255.0
   default-router 172.17.104.1
!
ip dhcp pool MiLe2
   network 172.17.105.0 255.255.255.0
   default-router 172.17.105.1
!
ip dhcp pool MiHMI
   network 172.17.106.0 255.255.255.0
   default-router 172.17.106.1
!
ip dhcp pool MiLe1
   network 172.17.107.0 255.255.255.0
   default-router 172.17.107.1
!
ip dhcp pool MiVME
   network 172.17.108.0 255.255.255.0
   default-router 172.17.108.1
!
cluster enable WISCO-CSP 0
cluster member 1 mac-address 001b.0dda.9900
cluster member 2 mac-address 001b.0dfa.9180
cluster member 3 mac-address 001b.0dfa.af00
cluster member 4 mac-address 001c.0e85.f880
cluster member 5 mac-address 001c.0eb4.ca00
cluster member 6 mac-address 001c.0f8d.8180
cluster member 7 mac-address 001c.b01c.ea80
cluster member 8 mac-address 001c.0eb4.a380
cluster member 9 mac-address 001c.5749.7600
cluster member 10 mac-address 001c.5749.8480
cluster member 11 mac-address 001c.5772.0680
!
!
!
no file verify auto
!
spanning-tree mode rapid-pvst
spanning-tree portfast bpduguard default
spanning-tree extend system-id
spanning-tree uplinkfast
spanning-tree backbonefast
spanning-tree vlan 1,100,200,300,400,500,600,700,997-999 priority 16384
!
vlan internal allocation policy ascending
!
vlan 100
 name MILLLE1
!
vlan 200
 name MILLLE2
!
vlan 300
 name MILLHMI
!
vlan 400
 name CASTLE1
!
vlan 500
 name CASTLE2
!
vlan 600
 name CASTHMI
!
vlan 700
 name MILLVME
!
vlan 997
 name Melt
!
vlan 998
 name External
!
vlan 999
 name WISCO
!
interface GigabitEthernet1/0/1
 description Uplink SWCASTER1
 switchport trunk encapsulation dot1q
 switchport mode trunk
!
interface GigabitEthernet1/0/2
 description UPLINK SWCASTER2
 switchport trunk encapsulation dot1q
 switchport mode trunk
!
interface GigabitEthernet1/0/3
 description UPLINK SWCASTER3
 switchport trunk encapsulation dot1q
 switchport mode trunk
!
interface GigabitEthernet1/0/4
 description UPLINK SWCASTER4
 switchport trunk encapsulation dot1q
 switchport mode trunk
!
interface GigabitEthernet1/0/5
 description UPLINK SWMILL1
 switchport trunk encapsulation dot1q
 switchport mode trunk
!
interface GigabitEthernet1/0/6
 description UPLINK SWMILL2
 switchport trunk encapsulation dot1q
 switchport mode trunk
!
interface GigabitEthernet1/0/7
 description UPLINK SWMILL3
 switchport trunk encapsulation dot1q
 switchport mode trunk
!
interface GigabitEthernet1/0/8
 description UPLINK SWMILL4
 switchport trunk encapsulation dot1q
 switchport mode trunk
!
interface GigabitEthernet1/0/9
 description UPLINK SWMILL5
 switchport trunk encapsulation dot1q
 switchport mode trunk
!
interface GigabitEthernet1/0/10
 description UPLINK SWMILL6
 switchport trunk encapsulation dot1q
 switchport mode trunk
!
interface GigabitEthernet1/0/11
 description Interconnect
 switchport trunk encapsulation dot1q
 switchport mode trunk
!
interface GigabitEthernet1/0/12
 switchport access vlan 997
 switchport mode access
!
interface Vlan1
 no ip address
 shutdown
!
interface Vlan100
 ip address 172.17.107.2 255.255.255.0
 standby 1 ip 172.17.107.1
 standby 1 timers 2 3
 standby 1 priority 150
 standby 1 preempt
 standby 1 name V100STDBY
!
interface Vlan200
 ip address 172.17.105.2 255.255.255.0
 standby 2 ip 172.17.105.1
 standby 2 timers 2 3
 standby 2 priority 150
 standby 2 preempt
 standby 2 name V200STDBY
!
interface Vlan300
 ip address 172.17.106.2 255.255.255.0
 standby 3 ip 172.17.106.1
 standby 3 timers 2 3
 standby 3 priority 150
 standby 3 preempt
 standby 3 name V300STDBY
!
interface Vlan400
 ip address 172.17.104.2 255.255.255.0
 standby 4 ip 172.17.104.1
 standby 4 timers 2 3
 standby 4 priority 150
 standby 4 preempt
 standby 4 name V400STDBY
!
interface Vlan500
 ip address 172.17.102.2 255.255.255.0
 standby 5 ip 172.17.102.1
 standby 5 timers 2 3
 standby 5 priority 150
 standby 5 preempt
 standby 5 name V500STDBY
!
interface Vlan600
 ip address 172.17.103.2 255.255.255.0
 standby 6 ip 172.17.103.1
 standby 6 timers 2 3
 standby 6 priority 150
 standby 6 preempt
 standby 6 name V600STDBY
!
interface Vlan700
 ip address 172.17.108.2 255.255.255.0
 standby 7 ip 172.17.108.1
 standby 7 timers 2 3
 standby 7 priority 150
 standby 7 preempt
 standby 7 name V700STDBY
!
interface Vlan997
 ip address 172.17.110.8 255.255.255.0
 standby 8 ip 172.17.110.4
 standby 8 timers 2 3
 standby 8 priority 150
 standby 8 preempt
 standby 8 name V997standy
!
interface Vlan998
 ip address 192.168.109.2 255.255.255.0
 standby 9 ip 192.168.109.1
 standby 9 timers 2 3
 standby 9 priority 150
 standby 9 preempt
 standby 9 name V998STDBY
!
ip classless
ip route 0.0.0.0 0.0.0.0 172.17.110.2
ip route 10.17.60.0 255.255.255.0 172.17.108.60
ip route 10.17.61.0 255.255.255.0 172.17.108.61
ip route 10.17.62.0 255.255.255.0 172.17.108.62
ip route 10.17.63.0 255.255.255.0 172.17.108.63
ip route 10.17.64.0 255.255.255.0 172.17.108.64
ip route 10.17.65.0 255.255.255.0 172.17.108.65
ip route 10.17.66.0 255.255.255.0 172.17.108.66
ip route 10.17.67.0 255.255.255.0 172.17.108.67
ip route 10.17.70.0 255.255.255.0 172.17.108.70
ip route 10.17.71.0 255.255.255.0 172.17.108.71
ip route 10.17.72.0 255.255.255.0 172.17.108.72
ip route 172.17.30.0 255.255.255.0 172.17.110.2
ip route 172.17.109.0 255.255.255.0 172.17.110.2
ip route 172.17.110.0 255.255.255.0 172.17.110.2
ip http server
!
!
snmp-server community csp RW
!
control-plane
!
!
line con 0
 password ocsic
 logging synchronous
 login
line vty 0 4
 password ocsic
 login
line vty 5 15
 password ocsic
 login
!
ntp clock-period 36028360
ntp server 172.17.105.22 key 0 prefer
end
 

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章