jack wrote:
vlan 2 port default
vlan 2 port 1/1-48
vlan 2 port default 1/1-48
jack wrote:
ip interface "vlan 2"address 192.168.2.0 mask 255.255.255.0 vlan 2 ifindex 2
ip interface "vlan 2"address 192.168.2.
1 mask 255.255.255.0 vlan 2
ip static-route 0.0.0.0/0 gateway 192.168.2.254
jack wrote:
vlan 3 enable name "vlan 3"
vlan 3 enable name "vlan 3"
vlan 3 port default
vlan 3 port 2/2-48
ip interface "vlan 3"address 192.168.2.1 mask 255.255.255.0 vlan 3 ifinedx 3
ipstatic-route 0.0.0.0/0 gateway 192.168.2.254 metric 3
vlan 3 enable name "vlan 3"
vlan 3 port default 2/1-48
ip interface "vlan 3" address 192.168.
3.1 mask 255.255.255.0 vlan 3
you have already one default gateway
jack wrote:
vlan 4 enable name "vlan 4"
vlan 4 enable name "vlan 4"
vlan 4 port default
vlan 4 port 3/3-48
ip interface "vlan 4"address 192.168.2.2 mask 255.255.255.0 vlan 4 ifindex 4
ipstatic-route 0.0.0.0/0 gateway 192.168.2.254 metric 4
vlan 4 enable name "vlan 4"
vlan 4 port default port 3/1-48
ip interface "vlan 4" address 192.168.
4.1 mask 255.255.255.0 vlan 4
jack wrote:
removing boot.cfg
rm working/boot.cfg
boot.cfg contains your config. If you remove this file from working and certified and reboot then you will have a blank switch without any configuration.
boot.slot.cfg contains module stack number. If you remove this then it will be automatically created after reboot.
jack wrote:
rm boot.slot.cfg
reload working no rollback-timeout
write memory
copy working certified
copy working ertified flash-syncro
using telnet from switch i to remove boot.slot.cfg -->switch ii
telnet 192.168.2.1
admin
switch
rm boot.slot.cfg
reload working no rollback-timeout
write memory
copy working certified
copy working ertified flash-syncro
exit
using telnet from switch i to remove boot.slot.cfg -->switch iii
telnet 192.168.2.2
admin
switch
rm boot.slot.cfg
reload working no rollback-timeout
write memory
copy working certified
copy working ertified flash-syncro
exit
If you already have a stack and you will now puts everything in its right place you need only to set wrong stack number to its desired.
For example you see in
show stack topology that module 2 have a number 1001 and module 3 - 1002, then only you needed:
Code: Select all
-> stack set slot 1001 saved-slot 2 reload
-> stack set slot 1002 saved-slot 3 reload
So after module reloaded it will contains desired number in its boot.slot.cfg.
You don't need to save config for every module in the stack. It will be done automatically after
copy working certified flash-syncro or
write memory flash-synchro for the entire stack, hence all modules contains the same configuration and image files, the same working and certified directory.