What am I doing wrong?

walwalka

2[H]4U
Joined
Sep 10, 2006
Messages
2,479
this is a Cisco 2960 switch
Switch(config-if)#int fa0/1
Switch(config-if)#ip address 192.168.2.1 255.255.255..0
------------------------------^
% Invalid input detected at '^' marker.

Switch(config-if)#

When I try to configure any port on it I get this.

This is a Cisco 2950 switch
Switch(config)#int fa0/1
Switch(config-if)#ip address 192.168.1.2 255.255.255.0

% IP addresses may not be configured on L2 links.

Switch(config-if)#

This brings up ???

I'm not an entire noob but I'm new and not great at configuring yet but these stump me and my group.
 
You have to associate those interfaces with VLANs. Create a new VLAN and assign that VLAN that IP address and subnet mask.
 
yep I had forgot to do that and realize that as soon as I hit submit and then the site went down.
 
You were trying to configure it like an L3 switchport, or router interface. I guess you're clear now.
 
Back
Top