Rather than tagging uplink ports with a load of VLAN’s and spanning those VLAN’s out to every switch you need them spanned out to. Create a separate VLAN and IP Scope on each switch (stack) location. Then use a single VLAN subnet (192.168.254.0/24) for routing between locations.
# create vlan Routing # configure vlan Routing tag 1000 # configure vlan Routing ipaddress 192.168.254.254 # configure vlan Routing add port 1:46 tagged # enable ipforwarding vlan Routing
Add RIP to the Routing VLAN so that when you create VLAN’s on the switch they are added to the central routing tables automatically.
# enable rip # enable rip export direct cost 1 # configure rip add vlan Routing # configure rip vlan Routing rxmode v2only