02-07-2008 02:29 AM - edited 03-03-2019 08:36 PM
We have around 50 switch in our office and I want to manage all the switch through any one of the switch..please let me know the configuration.
02-07-2008 02:59 AM
Hi
Choose an unused subnet eg.
192.168.5.0 255.255.255.128
You need a L3 interface for this whether on a router or a L3 switch
int fa0/0
ip address 192.168.5.1 255.255.255.128
or
int vlan 2
ip address 192.168.5.1 255.255.255.128
on all your other switches allocate them an unused address from the above subnet and then
1) Create vlan 2
2) Create L3 interface for vlan 2
3) allocate address
4) set default-gateway
switch(config)# vlan 2
switch(config-vlan)# name management
switch(config)# int vlan 2
switch(config-if)# ip address 192.168.5.2 255.255.255.128
switch(config)# default-gateway 192.168.5.1
I have used vlan 2 in this example but you can use vlan 1 on your switches if you want, Cisco just recommend changing the management vlan from vlan 1.
I have assumed your switches are L2 switches only, so they will only be able to have one active L3 interface ie. vlan 1 or vlan 2, your choice.
Jon
02-07-2008 08:39 PM
Hi,
We have one L3 switch and other 49 are L2 switch.
When I try the below said command,its shows error
Bad mask /25 for address 192.168.5.2
switch(config)# int vlan 2
switch(config-if)# ip address 192.168.5.2 255.255.255.128
02-08-2008 08:54 AM
Did you enable the below commands on L3 device..
ip subnet-zero, ip classless.
Try both, it might fix it.
hth
MS
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: