Cisco Support Community
Showing results for 
Search instead for 
Did you mean: 
Community Member

Basic switch management interface IP question


I'm currently deploying and configuring a new network in place of the current one and I wanted to make sure my proposed configuration will work the way I want it to without affecting anything else. All of our switches have an IP address in interface VLAN 1 so that I can manage them, but I can only management them out-of-band. I'd like to see about moving the management interface for each switch from VLAN 1 to an existing VLAN(VLAN4) so they can utilize NTP & SNMP(plus allow me to manage them directly from other management workstations/servers). Our configurations on these switches is very basic -- switch access vlan # & switchport mode trunk + switchport trunk encapsulation dot1q, between the 3750x & 2960s -- while our sonicwall is the default gateway for each VLAN subnet.

The answer to my question is simple, but what I'm not sure about is additional configuration changes. I know that all I would need to do to get this to work is issue the following commands on each switch:

inter vlan 1

no ip address x.x.x.x x.x.x.x

inter vlan 4

ip address x.x.x.x x.x.x.x


With that being said, do I need to configure a default gateway on each switch that is the management network DG of our sonicwall? Do I even need to configure a DG? If so, does VLAN 2(or any other vlans) get affected by this change? Is this proposed configuration not advised due to possible complications?  Let me know if you need any further clarification. 






VIP Super Bronze

Hi,Since both 2960 and 3750


Since both 2960 and 3750 switches are layer-2, you just need to configure the management subnet (vlan 4) and add this vlan to the uplink trunk. You than need to add  ip default-gatway command on each switch to point to the address of the Sonicwall firewall  (


CreatePlease to create content