02-10-2009 10:43 PM - edited 03-06-2019 03:58 AM
We've got a new cisco 3560 switch. How do I assign a new static IP Address to this switch? What command should I use?
02-10-2009 11:25 PM
switch#
switch#config terminal
switch(config)# interface vlan 1
switch(config-if)#ip address 192.168.1.1 255.255.255.0
switch(config-if)#no shutdown
switch(config-if)#exit
switch(config)#exit
switch#write memory.
02-11-2009 08:05 PM
you still need to configure telnet password if you need to access your switch from your pc by LAN
switch#config terminal
switch(config)# line vty 0 15
switch(config-line)#password mytelnetpassword
switch(config-line)#exit
switch(config)#enable secret myenablepass
switch(config)#exit
switch#write memory
02-11-2009 01:53 AM
Hi,
switch>enable
switch#conf t
switch(config)#interface VLAN1
switch(config-int)#ip address AAA.BBB.CCC.DDD 255.255.255.0 <-- use IP address and mask from your network
switch(config-int)#no shut
switch(config-int)exit
switch(config)#ip default-gateway 1
AAA.BBB.CCC.DDD <-- use IP address and mask from your default router
switch(config)#exit
switch#wr
udo
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide