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

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

Switch interface without IP

Hi all,

I am newbie for networking. I have a doubt regarding swithc interface.

Can a swithc interface be made up and connected without assigning IP address. If so in wat cases do we do this?

Thanks in advance

Everyone's tags (1)
4 REPLIES
New Member

Switch interface without IP

A switch is a layer 2 device so it doesn't need to configure any ip address in its interfaces.

You only need to configure an IP address in a switch in order to manage the switch (with telnet, ssh or https). If you want to manage the switch with the console connection you don't need any ip address

Silver

Re: Switch interface without IP

Hi Rajtilak,

jmprats is right. Switch is an Layer 2 device so it doesn't work with IP addresses when switching traffic. It only uses the L2 MAC address.

So - you don't assign any IP address to a port. You assign IP address only to VIRTUAL interface - this is the interface which is used for management purposes.

Can a swithc interface be made up and connected without assigning IP address. If so in wat cases do we do this?

Yes, all you have to do is to connect the device to your network and off you go! It's that easy. Moreover an switch interface is brought up automatically - you don't have to write any commands. Just connect the cable and wait for magic to be done .

Best regards,

Jan

New Member

Switch interface without IP

Hi Jan

Thanks for the reply,

The company which i work uses "WS-C6506-E" switch. They haven't assigned any IP address for several interfaces. I just wanted to know why is this done genreally.

Super Bronze

Switch interface without IP

Disclaimer

The    Author of this posting offers the information contained within this    posting without consideration and with the reader's understanding that    there's no implied or expressed suitability or fitness for any  purpose.   Information provided is for informational purposes only and  should not   be construed as rendering professional advice of any kind.  Usage of  this  posting's information is solely at reader's own risk.

Liability Disclaimer

In    no event shall Author be liable for any damages whatsoever  (including,   without limitation, damages for loss of use, data or  profit) arising  out  of the use or inability to use the posting's  information even if  Author  has been advised of the possibility of such  damage.

Posting

On your 6506, you're not confusing the actual switch's port being part of a VLAN, which usually has an IP assigned to the VLAN interface vs. a switch's port having an IP directly assigned to it?  The latter makes the port a routed port.  You can have L3 switches, such as your 6506, route to other routers or L3 switches using either type of port.  There are advantages and disadvantages to both kinds.

976
Views
0
Helpful
4
Replies
CreatePlease login to create content