cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
569
Views
4
Helpful
3
Replies

Management VLAN

ntmanjunath
Level 1
Level 1

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.

3 Replies 3

Jon Marshall
Hall of Fame
Hall of Fame

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

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

Did you enable the below commands on L3 device..

ip subnet-zero, ip classless.

Try both, it might fix it.

hth

MS

Review Cisco Networking products for a $25 gift card