cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
335
Views
0
Helpful
1
Replies

config ip address on catalyst 1900

e-xiao
Level 1
Level 1

one book said:

1900(config)#ip address 172.16.20.1 255.255.255.0

another book said:

1900(config)#int vlan 1

1900(config-if)#ip address 172.16.20.1 255.255.255.0

so are these configurations just same? or some different?

thanks in advance!

1 Reply 1

Prashanth Krishnappa
Cisco Employee
Cisco Employee

It is 1900(config)#ip address 172.16.20.1 255.255.255.0. I tried in the lab and it works while the interface VLAN does not

cs-c1924-8b(config)#ip address 10.1.1.1 255.255.255.0

cs-c1924-8b(config)#int vlan 1

^

% Invalid input detected at '^' marker.

cs-c1924-8b(config)#int ?

Ethernet IEEE 802.3

FastEthernet FastEthernet IEEE 802.3

cs-c1924-8b(config)#int