cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1379
Views
5
Helpful
17
Replies

Hot Standby Router Protocol

Mohamad AMmar
Level 1
Level 1

how i can allow host standby router protocol (standby command )

1 Accepted Solution

Accepted Solutions

Hello @Mohamad AMmar Cisco C1300 series switches do not support HSRP because they are part of the Catalyst 1300 family

If you want gateway redundancy, but HSRP is not available, you can use two default gateways with a mechanism like PC or device-based failover.

Assign two different gateways to the network:

#Core Switch 1: 192.168.1.2
#Core Switch 2: 192.168.1.3

Use DHCP with option 3 (multiple gateways) and devices will automatically switch to the secondary gateway if the first one fails.
Manually configure PCs with two gateways:

route add 0.0.0.0 mask 0.0.0.0 192.168.1.2 metric 1
route add 0.0.0.0 mask 0.0.0.0 192.168.1.3 metric 2

This ensures failover if the first gateway is down / but it is not a good way

View solution in original post

17 Replies 17

Mohamad AMmar
Level 1
Level 1

i have catalyst c1300-24xs , and always when i write command standby its give me unrecognized command

 

 

              - Post the exact command that you are  trying to enter ,

 M.



-- Each morning when I wake up and look into the mirror I always say ' Why am I so brilliant ? '
    When the mirror will then always repond to me with ' The only thing that exceeds your brilliance is your beauty! '

hello
if that’s a l2 device then i envisage it will not be available 


Please rate and mark as an accepted solution if you have found any of the information provided useful.
This then could assist others on these forums to find a valuable answer and broadens the community’s global network.

Kind Regards
Paul

I just searched its documentation; didn't find HSRP (standby) listed.

I recall (???) the original 3750 series may not have supported a FHRP (because switch was stackable[?]).  Déjà vu?

Mohamad AMmar
Level 1
Level 1

so if have 2 switch c1300-24xs with 20 switch c1300 24fp-4x what  w scenario we can make ! for failover
 for the command i write ((((( ip address 192.168.1.2 255.255.255.0
standby 1 ip 192.168.1.1
standby 1 priority 110
standby 1 preempt))) but always it give me unrecognized command.

 

 

  - Does it work without the 'standby 1 preempt' command ?

 M.



-- Each morning when I wake up and look into the mirror I always say ' Why am I so brilliant ? '
    When the mirror will then always repond to me with ' The only thing that exceeds your brilliance is your beauty! '

Hello @Mohamad AMmar Cisco C1300 series switches do not support HSRP because they are part of the Catalyst 1300 family

If you want gateway redundancy, but HSRP is not available, you can use two default gateways with a mechanism like PC or device-based failover.

Assign two different gateways to the network:

#Core Switch 1: 192.168.1.2
#Core Switch 2: 192.168.1.3

Use DHCP with option 3 (multiple gateways) and devices will automatically switch to the secondary gateway if the first one fails.
Manually configure PCs with two gateways:

route add 0.0.0.0 mask 0.0.0.0 192.168.1.2 metric 1
route add 0.0.0.0 mask 0.0.0.0 192.168.1.3 metric 2

This ensures failover if the first gateway is down / but it is not a good way

BTW, fail over from primary to secondary would depend on each host's cached ARP timeout, which can be considerable, and unsure primary coming back on-line, would "preempt" active secondary (the latter might be fine).

Yes, / we can reduce ARP timeouts and use shorter DHCP lease times to improve responsiveness.(Default ARP cache timeout Windows: 15-45 minutes,)

Thanks !


@Joshqun Ismayilov wrote:

Yes, / we can reduce ARP timeouts and use shorter DHCP lease times to improve responsiveness.(Default ARP cache timeout Windows: 15-45 minutes,)

Thanks !


Yup, and we usually don't consider 15 to 45 minutes as acceptable HSRP failover times.

(Laugh, or ouch, the first time I bumped into this, was doing sometime, I recall, on a FW, that changed its MAC, but not the IP, and FW didn't do a gratuitous ARP.  I was very new to networking, but why the heck were so many hosts not able to get to the Internet, when I fired up a host to try Internet, it worked fine.  Again, laugh or ouch, but it was a very impressable learning experience, especially when behind you is your manager asking how did you break the network, and when will you fix it.)

Hmm, unsure just decreasing DHCP least times would help, as DHCP often renews a lease.  I.e. unless host IP changes, it wouldn't flush its ARP cache, right?

Where what you suggest would work very well, is on separate NICs, assuming they see the active gateway physically drops the connection.

I mean, there's a like issue between even between routers, on a shared medium, that aren't using a dynamic routing protocol that incorporates some form of keep alive.  If the peer router just drops off, the remaining router, too, will not switch to an alternate floating static until the ARP cache times out.  (The latter might be addressed by SLA.)

So, although your "correct" response is, in fact, correct (and a bit ingenious for ordinary hosts), it's probably not a practical replacement for most FHRP host applications.  (I recall, there are some other [host] protocols to deal with finding gateways, and possibly dealing with changing gateways, as needed, but also possibly many not be available on most hosts, as FHRPs usually satisfy the host need.)

Mohamad AMmar
Level 1
Level 1

Hello again,

I now want to configure a stack between two C1300-24XS switches. My question is: Should we configure the two stacked ports as an EtherChannel after stacking?

No.

However, if a stack members dies, those hosts connected to it lose network connectivity, unless, normally, they have Etherchannel spanning across multiple stack units.

Hello / @Mohamad AMmar  

You can check below link :

https://www.youtube.com/watch?v=aADaH38e_X8

No, you should not configure the two stack ports as an EtherChannel after stacking
Stacking vs. EtherChannel

  • Stacking technology allows multiple switches to function as a single logical switch, using dedicated stacking cables or ports.
  • EtherChannel (or LAG) bundles multiple links to increase bandwidth and redundancy between separate switches.


Thanks !


In this Cisco Tech Talk, learn how to configure and manage stacking in Cisco Catalyst 1300 Series switches. We'll guide you through the stacking process, its benefits, and how it simplifies network scalability, redundancy, and management in modern network infrastructures. Related links: Cisco ...