07-22-2011 12:16 PM - edited 03-07-2019 01:21 AM
Why am I not able to put an IP address on the interfaces of the 4-port switch in the router?
I want to be able to configure it like below -
int fa0/0/0
ip address 216.90.191.56 255.255.xxx.xxx
It keeps coming up with it is only a layer 2 port.
Can I change this port to layer 3?
Thank you for your help
07-22-2011 12:49 PM
Try "no switch port"
if not it is layer-2 port
have a look at this doc
07-22-2011 02:57 PM
If you are using a HWIC-4ESW in the router, you cannot convert that to L3, they are strictly L2 ports only. Though you could assign IP address on the SVI (switched virtual interface i.e. interface vlan x) if that solves your purpose. What is the objective?
07-22-2011 04:42 PM
The 4 port hwic do route you just cannot assign an ip address directly to the port. Create a layer 2 vlan and the corresponding layer 3 SVI , which you assign your ip address to . Then assign the hwic switchport into that vlan . Just about the same as a routed port.
router# vlan database
vlan 2
exit
conf t
interface vlan 2
ip ADDRESS 192.232.168.1 255.255.255.0
no shut
exit
int fast2/1 ---> hwic port#
switchport acess vlan 2 .
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: