cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
290
Views
0
Helpful
2
Replies

Strange config behaviour on 3560 switch

dan_track
Level 1
Level 1

Hi

I've got some strange conflict occurring on my switch configuration. This is a new switch that's currently being configured, its a 3560 switch.

While setting up the switch I created the following vlan interface:

interface Vlan10

ip address 10.100.1.2 255.255.255.0

ip helper-address 10.1.1.3

standby 1 ip 10.1.3.1

standby 1 priority 120

standby 1 preempt

standby 2 ip 10.100.1.1

standby 2 priority 120

standby 2 preempt

The "2" portion of the hsrp config was copied into vlan 10 by mistake. I removed it by issuing "no" statements before then pressed "Ctrl-Z", I verified the config on vlan 10, so I now have:

interface Vlan10

ip address 10.1.1.2 255.255.255.0

ip helper-address 10.1.1.3

standby 1 ip 10.1.3.1

standby 1 priority 120

standby 1 preempt

I then created a new vlan interface vlan 20 and copied the following lines in:

interface Vlan200

ip address 10.100.1.2 255.255.255.0

ip helper-address 10.1.1.3

standby 2 ip 10.100.1.1

standby 2 priority 120

standby 2 preempt

Now the once I copied those in I get the following errors:

10.100.1.0 overlaps with Vlan10

10.100.1.1 overlaps with Vlan10

Now this is strange, as vlan 10 no longer contains these subnet statements, so my question is why is the switch getting confused, and how can fix the problem?

Thanks in advance

Dan

2 Replies 2

gearnsc
Level 1
Level 1

wr mem

reload

Sometimes devices retain configuration even after issuing no statements, in these cases the device must be reloaded to clear the stale lines.

Edison Ortiz
Hall of Fame
Hall of Fame

Since you are implementing HSRP, I'm assuming you have another router/switch with a similar config, did you check you eliminated the 10.100.1.1 from that switch's Vlan10 as well ?

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Innovations in Cisco Full Stack Observability - A new webinar from Cisco