[c-nsp] 6500 admin shuts a new vlan if it has the same IP as a down vlan.
Peter Rathlev
peter at rathlev.dk
Thu Dec 20 05:29:54 EST 2012
On Wed, 2012-12-19 at 19:52 -0500, Drew Weaver wrote:
> You cannot un-shut the new VLAN until you remove the downed VLAN
> completely.
>
> When we create the new VLAN we do 'no shut' and it gives an error
> about an overlap.
For me it does warn about the overlap, but as soon as I shut the old SVI
I can unshut the new one. I don't have to completely remove it.
> I'm doing all of this via scripts; so if the IP I am assigning isn't
> in the routing table and it isn't assigned in our database then that
> means I have no way of knowing that it's still pegged to a long
> forgotten vlan.
>
> I'm almost certain that this is 'newer' functionality, like SXI5+
I tested what I think we're talking about on both SXD5 and SXJ3 with the
same result. On SXD5:
RtrSXD5(config)#do show version | incl ^IOS
IOS (tm) s72033_rp Software (s72033_rp-PSV-M), Version 12.2(18)SXD5, RELEASE SOFTWARE (fc3)
RtrSXD5(config)#vlan 2,3
RtrSXD5(config-vlan)#exit
RtrSXD5(config)#interface Vlan2
RtrSXD5(config-if)#ip address 10.0.0.1 255.255.255.0
RtrSXD5(config-if)#no shutdown
RtrSXD5(config-if)#interface Vlan3
RtrSXD5(config-if)#ip address 10.0.0.5 255.255.255.0
10.0.0.0 overlaps with Vlan2
RtrSXD5(config-if)#no shutdown
10.0.0.0 overlaps with Vlan2
Vlan3: incorrect IP address assignment
RtrSXD5(config-if)#do show running-config interface Vlan3 | include shutdown
shutdown
RtrSXD5(config-if)#do show running-config interface Vlan2 | include shutdown
RtrSXD5(config-if)#interface Vlan2
RtrSXD5(config-if)#shutdown
RtrSXD5(config-if)#interface Vlan3
RtrSXD5(config-if)#no shutdown
RtrSXD5(config-if)#do show running-config interface Vlan2 | include shutdown
shutdown
RtrSXD5(config-if)#do show running-config interface Vlan3 | include shutdown
RtrSXD5(config-if)#
And on SXJ3:
RtrSXJ3(config)#do show ver | incl ^Cisco IOS
Cisco IOS Software, s72033_rp Software (s72033_rp-ADVIPSERVICESK9-M), Version 12.2(33)SXJ3, RELEASE SOFTWARE (fc1)
RtrSXJ3(config)#vlan 4,5
RtrSXJ3(config-vlan)#exit
% Applying VLAN changes may take few minutes. Please wait...
RtrSXJ3(config)#interface Vlan4
RtrSXJ3(config-if)#ip address 10.0.0.1 255.255.255.0
RtrSXJ3(config-if)#no shutdown
RtrSXJ3(config-if)#interface Vlan5
RtrSXJ3(config-if)#ip address 10.0.0.5 255.255.255.0
10.0.0.0 overlaps with Vlan4
RtrSXJ3(config-if)#no shutdown
10.0.0.0 overlaps with Vlan4
Vlan5: incorrect IP address assignment
RtrSXJ3(config-if)#do show running-config interface Vlan5 | include shutdown
shutdown
RtrSXJ3(config-if)#do show running-config interface Vlan4 | include shutdown
RtrSXJ3(config-if)#interface Vlan4
RtrSXJ3(config-if)#shutdown
RtrSXJ3(config-if)#interface Vlan5
RtrSXJ3(config-if)#no shutdown
RtrSXJ3(config-if)#do show running-config interface Vlan4 | include shutdown
shutdown
RtrSXJ3(config-if)#do show running-config interface Vlan5 | include shutdown
RtrSXJ3(config-if)#
Maybe we're talking about different things. :-)
--
Peter
More information about the cisco-nsp
mailing list