Skip to content

Auto-fix cisco 3750 ghost address bug #53

@lindycoder

Description

@lindycoder

I stumbled upon a bug on the cisco 3750.

Sometimes you try to add an ip address to an interfave vlan, it's gonna tell you that it is already assigned to another vlan, you show that vlan's config and it's empty.
To solve : assign the ip to the other vlan, and remove it again and then everything works

It would be AWESOME if netman could handle this bug and make it seems seamless.

Don't know how to reproduce though, here's an example:

SWITCH(config)#int vlan 200
SWITCH(config-if)#ip address 1.1.1.1 255.255.255.248
% 1.1.1.1 is assigned as a secondary address on Vlan300
SWITCH(config-if)#do show run int vlan 300
Building configuration...

Current configuration : 236 bytes
!
interface Vlan300
 description XXXX
 no ip address
 no ip redirects
 no ip unreachables
 no ip proxy-arp
 load-interval 30
end

SWITCH(config-if)#int vlan 300
SWITCH(config-if)#ip address 1.1.1.1 255.255.255.248
SWITCH(config-if)#no ip address 1.1.1.1 255.255.255.248
SWITCH(config-if)#int vlan 200                             
SWITCH(config-if)#ip address 1.1.1.1 255.255.255.248   

... worked!

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions