How to set IP address and mask to an interface Catalyst 2970?

Switch1(config-if)#no shutdown
Switch1(config-if)#ip address
% Invalid input detected at '^' marker.
April 4th 20 at 13:09
2 answers
April 4th 20 at 13:11
I'm could be wrong, this cisk in the hands not kept, and last time picking 2960 years ago, but I think there is no need for the interface to hang up the address , and vlan. That is, for example:
Switch(config)#interface vlan 1 
Switch(config-if)#ip address 
Thank you, worked!
Went to smoke the Mat. - Reinhold.Hamill commented on April 4th 20 at 13:14
April 4th 20 at 13:13
try the interface say switchport no
but most likely this model is not able in L3
for the management interface use int vlanX

Find more questions by tags Network administration