Brief topology and configuration of protocol

HSRP Configuration

int fa0/0

standby 1 ip 10.0.0.10

standby 1 preempt

r1(config-if)#standby 1 ip 10.0.0.10
r1(config-if)#
*Mar  1 00:07:18.415: HSRP: Fa0/0 Starting minimum interface delay (1 secs)
*Mar  1 00:07:18.415: HSRP: Fa0/0 Grp 1 Set group MAC 0000.0000.0000 -> 0000.0c0                                                                             7.ac01
*Mar  1 00:07:18.419: HSRP: Fa0/0 MAC entry 0000.0c07.ac01 created
*Mar  1 00:07:18.419: HSRP: Fa0/0 MAC entry 0000.0c07.ac01, Added Fa0/0 Grp 1 to                                                                              list
*Mar  1 00:07:18.435: HSRP: Fa0/0 Grp 1 Disabled -> Init
*Mar  1 00:07:18.435: HSRP: Fa0/0 Grp 1 Redundancy “hsrp-Fa0/0-1″ state Disabled                                                                              -> Init
*Mar  1 00:07:18.439: HSRP: Fa0/0 IP Redundancy “hsrp-Fa0/0-1″ added
*Mar  1 00:07:18.439: HSRP: Fa0/0 IP Redundancy “hsrp-Fa0/0-1″ update, Disabled                                                                              -> Init
*Mar  1 00:07:19.415: HSRP: Fa0/0 Interface min delay expired
*Mar  1 00:07:19.415: HSRP: Fa0/0 Grp 1 Init: a/HSRP enabled
*Mar  1 00:07:19.415: HSRP: Fa0/0 Grp 1 Init -> Listen
*Mar  1 00:07:19.419: HSRP: Fa0/0 Grp 1 Redundancy “hsrp-Fa0/0-1″ state Init ->                                                                              Backup
*Mar  1 00:07:19.419: HSRP: Fa0/0 IP Redundancy “hsrp-Fa0/0-1″ update, Init -> B                                                                             ackup
r1(config-if)#
*Mar  1 00:07:29.415: HSRP: Fa0/0 Grp 1 Listen: c/Active timer expired (unknown)
*Mar  1 00:07:29.415: HSRP: Fa0/0 Grp 1 Listen -> Speak
*Mar  1 00:07:29.415: HSRP: Fa0/0 Grp 1 Redundancy “hsrp-Fa0/0-1″ state Backup –                                                                             > Speak
*Mar  1 00:07:29.419: HSRP: Fa0/0 IP Redundancy “hsrp-Fa0/0-1″ update, Backup ->                                                                              Speak
r1(config-if)#
*Mar  1 00:07:39.415: HSRP: Fa0/0 Grp 1 Speak: d/Standby timer expired (unknown)
*Mar  1 00:07:39.415: HSRP: Fa0/0 Grp 1 Standby router is local
*Mar  1 00:07:39.415: HSRP: Fa0/0 Grp 1 Speak -> Standby
*Mar  1 00:07:39.415: HSRP: Fa0/0 Grp 1 Redundancy “hsrp-Fa0/0-1″ state Speak ->                                                                              Standby
*Mar  1 00:07:39.419: HSRP: Fa0/0 IP Redundancy “hsrp-Fa0/0-1″ standby, unknown                                                                              -> local
*Mar  1 00:07:39.419: HSRP: Fa0/0 IP Redundancy “hsrp-Fa0/0-1″ update, Speak ->                                                                              Standby
*Mar  1 00:07:39.915: HSRP: Fa0/0 Grp 1 Standby: c/Active timer expired (unknown                                                                             )
*Mar  1 00:07:39.915: HSRP: Fa0/0 Grp 1 Active router is local
*Mar  1 00:07:39.915: HSRP: Fa0/0 Grp 1 Standby router is unknown, was local
*Mar  1 00:07:39.915: HSRP: Fa0/0 Grp 1 Standby -> Active
*Mar  1 00:07:39.915: %HSRP-5-STATECHANGE: FastEthernet0/0 Grp 1 state Standby –                                                                             > Active
r1(config-if)#
*Mar  1 00:07:39.915: HSRP: Fa0/0 Grp 1 Redundancy “hsrp-Fa0/0-1″ state Standby                                                                              -> Active
*Mar  1 00:07:39.919: HSRP: Fa0/0 Grp 1 Activating MAC 0000.0c07.ac01
*Mar  1 00:07:39.923: HSRP: Fa0/0 Grp 1 Adding 0000.0c07.ac01 to MAC address fil                                                                             ter
*Mar  1 00:07:39.923: HSRP: Fa0/0 IP Redundancy “hsrp-Fa0/0-1″ standby, local ->                                                                              unknown
*Mar  1 00:07:39.923: HSRP: Fa0/0 IP Redundancy “hsrp-Fa0/0-1″ update, Standby –                                                                             > Active
r1(config-if)#
*Mar  1 00:07:42.919: HSRP: Fa0/0 IP Redundancy “hsrp-Fa0/0-1″ update, Active ->                                                                              Active
r1(config-if)#standby 1 preempt
r1(config-if)#
*Mar  1 00:08:14.383: HSRP: Fa0/0 Nbr 10.0.0.3 Adv in, active 0 passive 1
*Mar  1 00:08:14.387: HSRP: Fa0/0 Nbr 10.0.0.3 created
*Mar  1 00:08:14.387: HSRP: Fa0/0 Nbr 10.0.0.3 is passive
r1(config-if)#
*Mar  1 00:08:34.383: HSRP: Fa0/0 Grp 1 Standby router is 10.0.0.3
*Mar  1 00:08:34.383: HSRP: Fa0/0 Nbr 10.0.0.3 is no longer passive
*Mar  1 00:08:34.387: HSRP: Fa0/0 Nbr 10.0.0.3 standby for group 1
r1(config-if)#
*Mar  1 00:08:57.179: HSRP: Fa0/0 Nbr 10.0.0.2 Adv in, active 0 passive 1
*Mar  1 00:08:57.183: HSRP: Fa0/0 Nbr 10.0.0.2 created
*Mar  1 00:08:57.183: HSRP: Fa0/0 Nbr 10.0.0.2 is passive
r1(config-if)#end
r1#show
*Mar  1 00:09:23.027: %SYS-5-CONFIG_I: Configured from console by console
r1#show standby ?
FastEthernet  FastEthernet IEEE 802.3
Port-channel  Ethernet Channel of interfaces
all           Include groups in disabled state
brief         Brief output
capability    HSRP capability
delay         Group initialisation delay
internal      Internal HSRP information
neighbors     HSRP neighbors
redirect      HSRP ICMP redirect information
|             Output modifiers
<cr>
r1#show standby nei
HSRP neighbors on FastEthernet0/0
10.0.0.2
No active groups
No standby groups
Passive timer expires in 172.148
10.0.0.3
No active groups
Standby groups: 1
r1#show standby ?
FastEthernet  FastEthernet IEEE 802.3
Port-channel  Ethernet Channel of interfaces
all           Include groups in disabled state
brief         Brief output
capability    HSRP capability
delay         Group initialisation delay
internal      Internal HSRP information
neighbors     HSRP neighbors
redirect      HSRP ICMP redirect information
|             Output modifiers
<cr>
r1#show standby internal
Global           Confg: 0000
Fa0/0 If hw      Gt96k FE (18), State 0×210040
Fa0/0 If hw      Confg: 0000
Fa0/0 If hw      Flags: 0000
Fa0/0 If sw      Confg: 0000
Fa0/0 If sw      Flags: 0000
Fa0/0 Grp 1      Confg: 0012, IP_PRI, PREEMPT
Fa0/0 Grp 1      Flags: 0000
HSRP MAC Address Table
173 Fa0/0 0000.0c07.ac01
Fa0/0 Grp 1
r1#show standby ?
FastEthernet  FastEthernet IEEE 802.3
Port-channel  Ethernet Channel of interfaces
all           Include groups in disabled state
brief         Brief output
capability    HSRP capability
delay         Group initialisation delay
internal      Internal HSRP information
neighbors     HSRP neighbors
redirect      HSRP ICMP redirect information
|             Output modifiers
<cr>
r1#show standby redirect
Interface          Redirects Unknown   Adv      Holddown
FastEthernet0/0    enabled   enabled   30       180
Active                Hits  Interface Group Virtual IP            Virtual MAC
local                 0     Fa0/0     1     10.0.0.10             0000.0c07.ac01
Passive               Hits  Interface Expires in
10.0.0.2              0     Fa0/0     166.720
r1#show standby summary
^
% Invalid input detected at ‘^’ marker.
r1#show stan ?
FastEthernet  FastEthernet IEEE 802.3
Port-channel  Ethernet Channel of interfaces
all           Include groups in disabled state
brief         Brief output
capability    HSRP capability
delay         Group initialisation delay
internal      Internal HSRP information
neighbors     HSRP neighbors
redirect      HSRP ICMP redirect information
|             Output modifiers
<cr>
r1#show stan brief
P indicates configured to preempt.
|
Interface   Grp  Pri P State   Active          Standby         Virtual IP
Fa0/0       1    100 P Active  local           10.0.0.3        10.0.0.10
r1#
r1#
r1#show standby
FastEthernet0/0 – Group 1
State is Active
2 state changes, last state change 00:03:44
Virtual IP address is 10.0.0.10
Active virtual MAC address is 0000.0c07.ac01
Local virtual MAC address is 0000.0c07.ac01 (v1 default)
Hello time 3 sec, hold time 10 sec
Next hello sent in 0.272 secs
Preemption enabled
Active router is local
Standby router is 10.0.0.3, priority 100 (expires in 7.752 sec)
Priority 100 (default 100)
Group name is “hsrp-Fa0/0-1″ (default)
r1#