 |
|
HP : 0 / 46
MP : 5 / 387
EXP : 86%
|
|
初涉江湖
 
成员等级: 2
发表总数: 17
金币总数: 57
所属组别: 普通成员
注册日期: 2006/03/6

|
想问一下 要支持HSRP冗余备份,CISCO交换机至少要什么型号? 我找了一个互为备份的例子,但配置的挺复杂,有没有什么简化的配置方法?起码能看懂的。或者把这个例子只把HSRP的部分挑出来。
--------------------------------------双6509-HSRP配置实例
--------------------------------------------------------------------------------
我单位两台6509互为备份,下连N台交换机。已运行了几个月,希望与大家一起学习。 (配置作了一些处理)
show version
Cisco Internetwork Operating System Software IOS c6sup2_rp Software (c6sup2_rp-JSV-M), Version 12.1(13)E3, EARLY DEPLOYMENT RELEASE SOFTWARE (fc1) TAC Support: http://www.cisco.com/tac Copyright © 1986-2002 by cisco Systems, Inc. Compiled Fri 20-Dec-02 22:38 by hqluong Image text-base: 0x40008C00, data-base: 0x41A86000
ROM: System Bootstrap, Version 12.1(4r)E, RELEASE SOFTWARE (fc1) BOOTLDR: c6sup2_rp Software (c6sup2_rp-JSV-M), Version 12.1(13)E3, EARLY DEPLOYMENT RELEASE SOFTWARE (fc1)
6509-1 uptime is 12 weeks, 5 hours, 30 minutes Time since 6509-1 switched to active is 12 weeks, 5 hours, 29 minutes System returned to ROM by power-on (SP by power-on) System image file is "slot0:c6sup22-jsv-mz.121-13.E3.bin"
cisco Catalyst 6000 (R7000) processor with 489472K/34816K bytes of memory. Processor board ID SAD0552069T R7000 CPU at 300Mhz, Implementation 39, Rev 2.1, 256KB L2, 1024KB L3 Cache Last reset from power-on Bridging software. X.25 software, Version 3.0.0. SuperLAT software (copyright 1990 by Meridian Technology Corp). TN3270 Emulation software. 87 Virtual Ethernet/IEEE 802.3 interface(s) 96 FastEthernet/IEEE 802.3 interface(s) 36 Gigabit Ethernet/IEEE 802.3 interface(s) 381K bytes of non-volatile configuration memory.
16384K bytes of Flash internal SIMM (Sector size 512K). Standby is up Standby has 489472K/34816K bytes of memory.
Configuration register is 0x2102
6509-1#show module
Mod Ports Card Type Model Serial No. --- ----- -------------------------------------- ------------------ ----------- 1 2 Catalyst 6000 supervisor 2 (Active) WS-X6K-S2U-MSFC2 SAD00000000 2 2 Catalyst 6000 supervisor 2 (Standby) WS-X6K-S2U-MSFC2 SAL00000000 3 48 48 port 10/100 mb RJ45 WS-X6348-RJ-45 SAL00000000 4 48 48 port 10/100 mb RJ45 WS-X6348-RJ-45 SAL00000000 5 0 Switching Fabric Module-136 (Active) WS-X6500-SFM2 SAD00000000 6 16 Pure SFM-mode 16 port 1000mb GBIC WS-X6816-GBIC SAD00000000 7 16 Pure SFM-mode 16 port 1000mb GBIC WS-X6816-GBIC SAD00000000
Mod MAC addresses Hw Fw Sw Status --- ---------------------------------- ------ ------------ ------------ ------- 1 0001.0000.0000 to 0000.0000.0000 3.2 6.1(3) 7.5(0.6)HUB9 Ok 2 0001.1234.5678 to 0009.1234.5678 4.3 6.1(3) 7.5(0.6)HUB9 Ok 3 0005.1234.5678 to 0005.1234.5678 6.0 5.4(2) 7.5(0.6)HUB9 Ok 4 0005.1234.5678 to 0005.1234.5678 6.0 5.4(2) 7.5(0.6)HUB9 Ok 5 0001.0000.1111 to 0001.1111.1111 1.1 6.1(3) 7.5(0.6)HUB9 Ok 6 0002.2222.2222 to 0002.2222.2222 1.1 12.1(5r)E1 12.1(13)E3, Ok 7 0001.3333.3333 to 0001.3333.3333 1.2 12.1(5r)E1 12.1(13)E3, Ok
Mod Sub-Module Model Serial Hw Status --- --------------------------- --------------- --------------- ------- ------- 1 Policy Feature Card 2 WS-F6K-PFC2 SAD00000000 3.0 Ok 1 Cat6k MSFC 2 daughterboard WS-F6K-MSFC2 SAD00000000 1.3 Ok 2 Policy Feature Card 2 WS-F6K-PFC2 SAL00000000 3.4 Ok 2 Cat6k MSFC 2 daughterboard WS-F6K-MSFC2 SAL00000000 2.5 Ok 3 Inline Power Module WS-F6K-PWR 1.0 Ok 4 Inline Power Module WS-F6K-PWR 1.0 Ok 6 Distributed Forwarding Card WS-F6K-DFC SAD00000000 2.0 Ok 7 Distributed Forwarding Card WS-F6K-DFC SAD00000000 2.0 Ok
6509-1#show config
Using 26297 out of 391160 bytes ! version 12.1 service timestamps debug uptime service timestamps log uptime service password-encryption ! hostname 6509-1 ! boot system slot0:c6sup22-jsv-mz.121-13.E3.bin enable secret 5 $1$sanx$JSNTo3lWm.DXETkCE22eRc0 ! vtp domain abcd vtp mode transparent ip subnet-zero ! ! ip host 3550-1 43.21.1.5 ip host 3550-2 43.21.1.6 ip host 3550-3 43.21.1.7 ip host 3550-4 43.21.1.8 ip host 3550-5 43.21.1.9 ip host 3550-6 43.21.1.10 ip host 3550-7 43.21.1.11 ip host 4006 43.21.1.4 ip host 6509-2 43.21.1.3 ip host 2980 43.21.1.20 ip host 3550-8 43.21.1.12 ip host 3550-9 43.21.1.13 ip host 3550-10 43.21.1.14 ip host 3550-11 43.21.1.15 ip host 3550-12 43.21.1.16 ip host 3550-13 43.21.1.17 ip host 3550-14 43.21.1.18 ip host 3550-15 43.21.1.19 ! mls flow ip destination mls flow ipx destination ! spanning-tree vlan 1,9,17,19,21,25,27,29,33,35,49,51,53,55,57,65 priority 8192 spanning-tree vlan 67,69,71,73,75,77,81,83,85,97,99,101,105,107 priority 8192 spanning-tree vlan 109,113,115,117,129,131,133,137,139,145,149 priority 8192 spanning-tree vlan 161,163,165,167 priority 8192 spanning-tree vlan 10,18,20,22,26,28,30,34,36,50,52,54,56,66,68 priority 16384 spanning-tree vlan 70,72,74,76,78,82,84,86,98,100,102,106,108 priority 16384 spanning-tree vlan 110,114,116,118,130,132,134,138,140,146,150 priority 16384 spanning-tree vlan 162,164,166 priority 16384 ! redundancy mode rpr-plus main-cpu auto-sync startup-config auto-sync running-config auto-sync standard ! ! vlan 9-10,17-22,25-30 ! vlan 33 name A33
略去N行
! vlan 68-78,81-86,97-102,105-110,113-118,129-134,137-140,145-146,149-150,161 ! vlan 162-167 ! vlan 1004 bridge 1 ! vlan 1005 bridge 1 ! ! interface Loopback0 no ip address ! interface Port-channel1 no ip address switchport switchport trunk encapsulation dot1q switchport mode trunk ! interface GigabitEthernet1/1 no ip address shutdown ! interface FastEthernet3/1 no ip address switchport switchport access vlan 65 switchport mode access ! interface FastEthernet3/2 description to NetManagementWorkStation no ip address switchport switchport access vlan 67 switchport mode access ! interface FastEthernet3/3 description to AnQuanGuanLiZhongDuan no ip address switchport switchport access vlan 66 switchport mode access ! ........
interface FastEthernet4/8 no ip address shutdown switchport ! interface FastEthernet4/9 no ip address switchport switchport voice vlan 129 //接IP电话 !
........
! interface FastEthernet4/48 no ip address switchport switchport voice vlan 129 ! interface GigabitEthernet6/1 no ip address switchport switchport trunk encapsulation dot1q switchport trunk allowed vlan 1,9,10,113-118,129,146 switchport mode trunk ! interface GigabitEthernet6/7 no ip address switchport switchport trunk encapsulation dot1q switchport trunk allowed vlan 1,49,129 switchport mode trunk
..........
! interface GigabitEthernet7/9 no ip address shutdown ! interface GigabitEthernet7/16 no ip address shutdown ! interface Vlan1 ip address 43.21.1.2 255.255.255.0 no ip redirects standby ip 43.21.1.1 //虚网关 standby priority 150 standby preempt ! interface Vlan9 ip address 43.21.9.2 255.255.255.0 no ip redirects standby ip 43.21.9.1 standby priority 150 standby preempt ! interface Vlan10 ip address 43.21.10.2 255.255.255.0 no ip redirects standby ip 43.21.10.1 standby priority 100 standby preempt ! //另一台6509的VLAN ------------------- interface Vlan9 ip address 43.21.9.3 255.255.255.0 no ip redirects standby ip 43.21.9.1 standby priority 100 standby preempt ! interface Vlan10 ip address 43.21.10.3 255.255.255.0 no ip redirects standby ip 43.21.10.1 standby priority 150 standby preempt //------------------------------
...........
! interface Vlan166 ip address 43.21.166.2 255.255.255.0 no ip redirects standby ip 43.21.166.1 standby priority 100 standby preempt ! interface Vlan167 ip address 43.21.167.2 255.255.255.0 no ip redirects standby ip 43.21.167.1 standby priority 150 standby preempt ! router ospf 100 log-adjacency-changes network 43.21.9.0 0.0.0.255 area 0 network 43.21.10.0 0.0.0.255 area 0 network 43.21.13.4 0.0.0.3 area 0 network 43.21.16.0 0.0.15.255 area 0 network 43.21.32.0 0.0.15.255 area 0 network 43.21.64.0 0.0.15.255 area 0 network 43.21.80.0 0.0.7.255 area 0 network 43.21.96.0 0.0.15.255 area 0 network 43.21.112.0 0.0.7.255 area 0 network 43.21.128.0 0.0.15.255 area 0 network 43.21.160.0 0.0.15.255 area 0 ! ip classless ip route 0.0.0.0 0.0.0.0 43.21.145.4 no ip http server ! ! logging 43.21.1.100 access-list 110 permit ip 43.21.34.0 0.0.0.255 11.33.0.0 0.0.255.255 access-list 110 permit ip 43.21.35.0 0.0.0.255 11.33.0.0 0.0.255.255 access-list 110 permit icmp any any access-list 110 permit ospf any any access-list 111 permit ip 11.33.0.0 0.0.255.255 43.21.34.0 0.0.0.255 access-list 111 permit ip 11.33.0.0 0.0.255.255 43.21.35.0 0.0.0.255 access-list 111 permit icmp any any access-list 111 permit ospf any any snmp-server community public RO snmp-server community private RW snmp-server host 43.21.1.100 version 2c public ! ! line con 0 line vty 0 4 password 7 0000000 login transport input lat pad mop telnet rlogin udptn nasi ! end
6509-1# |