Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

config ip address on catalyst 1900

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
Cisco Employee

Re: config ip address on catalyst 1900

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

174
Views
0
Helpful
1
Replies