N
N
nstadnik2020-01-21 13:50:45
Network administration
nstadnik, 2020-01-21 13:50:45

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

Switch1(config-if)#no shutdown
Switch1(config-if)#ip address 192.168.0.10 255.255.255.0
^
% Invalid input detected at '^' marker.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
Dmitry, 2020-01-21
@nstadnik

I could be wrong now, I didn’t hold such a tsiska in my hands and the last time I picked it was 2960 many years ago, but in my opinion there it is necessary to hang up the address not on the interface, but on vlan. That is, for example:

Switch(config)#interface vlan 1 
Switch(config-if)#ip address 10.1.1.1 255.0.0.0 
Switch(config-if)#end

I
iddqda, 2020-01-21
@iddqda

try to say no switchport
on the interface, but most likely this model does not know how to use L3
for the management interface, use int vlanX

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question