# How to Set IP address on any interface of a multi-layer switch!

**URL:** <https://forum.networklessons.com/t/how-to-set-ip-address-on-any-interface-of-a-multi-layer-switch/11599>\
**Category:** Switching\
**Created:** [June 22, 2020, 4:52pm UTC](https://forum.networklessons.com/t/how-to-set-ip-address-on-any-interface-of-a-multi-layer-switch/11599 "2020-06-22T16:52:58Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ajmal.ahmadiine](https://cdn-forum.networklessons.com/user_avatar/forum.networklessons.com/ajmal.ahmadiine/32/4656_2.png) [@Ajmal.ahmadiine](https://forum.networklessons.com/u/Ajmal.ahmadiine)\
**Post date:** [June 22, 2020, 4:52pm UTC](https://forum.networklessons.com/t/how-to-set-ip-address-on-any-interface-of-a-multi-layer-switch/11599/1 "2020-06-22T16:52:58Z")

</div>

Hello Liz sir!  
I have a router 2900 series and a multi-layer switch 3850.  
I wanted to connect my router (2900) with multi-layer switch in order to use my multi-layer switch as router for LAB  
The question is here that when I go to the interface of switch in order to set IP address on it in order to connect it with router, the IP address command isn’t working please see my output instead of (address) the switch shows me (ip-admission)  
Sir, can you please tell me that how to set ip address on any interface of my multi-layer switch in order to connect with router to the other side!  
Note: Also I have enable the IP routing command from global configuration mode.

 ![Capture](https://cdn-forum.networklessons.com/uploads/default/original/2X/e/e8c362cf33f3a108f762f93b9cdbdfc6dc34ccc0.png)

---

<div class="post-metadata">

**Author:** ![Giovanni](https://cdn-forum.networklessons.com/letter_avatar_proxy/v4/letter/g/7ea924/32.png) [@Giovanni](https://forum.networklessons.com/u/Giovanni)\
**Post date:** [June 22, 2020, 6:27pm UTC](https://forum.networklessons.com/t/how-to-set-ip-address-on-any-interface-of-a-multi-layer-switch/11599/2 "2020-06-22T18:27:32Z")

</div>

> [@Ajmal.ahmadiine](#):
>
> t IP address on it in order to connect it with router, the IP address command isn’t working please see my output instead of (address) the switch shows me (ip-admission)  
> Sir, can you please tell me that how to set ip address on any interface of my multi-layer switch in order to connect with router to the other side!  
> Note: Also I have enable the IP routing command f

HI,

You have to make this port a routed port.

Type _no switchport_ command

Bye

---

<div class="post-metadata">

**Author:** ![Ajmal.ahmadiine](https://cdn-forum.networklessons.com/user_avatar/forum.networklessons.com/ajmal.ahmadiine/32/4656_2.png) [@Ajmal.ahmadiine](https://forum.networklessons.com/u/Ajmal.ahmadiine)\
**Post date:** [June 23, 2020, 2:28am UTC](https://forum.networklessons.com/t/how-to-set-ip-address-on-any-interface-of-a-multi-layer-switch/11599/3 "2020-06-23T02:28:22Z")

</div>

Sir/Madam  
Thank you very much.

Regards

Ajmal
