Question : Cisco Catalyst 4948> CLI static IP naming

Hi All:

I have a Cisco 4948 that has not been named and does not have a static IP and it hasn't been given a hostname yet. What are the CLI commands to provide it with an Ip (10.1.98.3) and how do I give it a hostname (cisco4948noca). I want to be able to access the the device to configure it using the web interface so I guess I will need to know how to include the subnet mask (255.255.0.0) and gateway(10.1.2.1)  as well

Thanks

Answer : Cisco Catalyst 4948> CLI static IP naming

enable
(password)
conf t
hostname cisco4948noca
ip http server
int vlan1
 ip address 10.1.98.3 255.255.0.0
exit
ip default-gateway 10.1.2.1
line vty 0 4
login
password <your password>
exit
enable secret <your password>

http to your switch and login with blank username and the enable-password you entered above as password.

/Kvistofta
Random Solutions  
 
programming4us programming4us