here
http://www.cisco.com/en/US/docs/ios/ipapp/configuration/guide/ipapp_hsrp.html#wp1054649
Can we use the physical IP on each sub interface, and virtual IP ( from HSRP
) to be the same ?as I tried ... it showed like below
-----------------
!
interface FastEthernet0/1
no ip address
duplex auto
speed auto
standby mac-refresh 30
!
interface FastEthernet0/1.2
encapsulation dot1Q 2
ip address 100.100.100.100 255.255.255.0
standby 1 ip 100.100.100.1
standby 1 priority 110
standby 1 preempt
standby 1 name HSRP1
!
interface FastEthernet0/1.3
encapsulation dot1Q 3
standby 2 follow HSRP1
!
interface FastEthernet0/1.4
encapsulation dot1Q 4
standby 3 follow HSRP1
-----------------
Example: Improving CPU and Network Performance with HSRP Multiple Group
Optimization
The following example shows how to configure an HSRP client and master
group:
Router(config)# *interface Ethernet1/0
*
Router(config-if)# *no shutdown
*
Router(config-if)# *standby mac-refresh 30
*
! Client Hello message interval
!
Router(config)# *interface Ethernet1/0.2
*
Router(config-if)#* no shutdown
*
Router(config-if)#* encapsulation dot1Q 2
*
Router(config-if)#* ip vrf forwarding VRF2
*
Router(config-if)#* ip address 10.0.0.100 255.255.0.0
*
Router(config-if)#* standby 1 ip 10.0.0.254
*
Router(config-if)#* standby 1 priority 110
*
Router(config-if)#* standby 1 preempt
*
Router(config-if)#* standby 1 name HSRP1
*
!Server group
!
Router(config)# *interface Ethernet1/0.3
*
Router(config-if)#* no shutdown
*
Router(config-if)#* encapsulation dot1Q 3
*
Router(config-if)#* ip vrf forwarding VRF3
*
Router(config-if)#* ip address 10.0.0.100 255.255.0.0
*
Router(config-if)#* standby 2 ip 10.0.0.254
*
Router(config-if)#* standby 2 follow HSRP1
*
! Client group
!
Router(config)# *interface Ethernet1/0.4
*
Router(config-if)#* no shutdown
*
Router(config-if)#* encapsulation dot1Q 4
*
Router(config-if)#* ip vrf forwarding VRF4
*
Router(config-if)#* ip address 10.0.0.100 255.255.0.0
*
Router(config-if)#* standby 2 ip 10.0.0.254
*
Router(config-if)#* standby 2 follow HSRP1
*
! Client group
Blogs and organic groups at http://www.ccie.net
Received on Mon Aug 02 2010 - 08:46:21 ART
This archive was generated by hypermail 2.2.0 : Wed Sep 01 2010 - 11:20:52 ART