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

New IP Address

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?

3 REPLIES
Silver

Re: New IP Address

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.

Silver

Re: New IP Address

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

New Member

Re: New IP Address

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

279
Views
5
Helpful
3
Replies
CreatePlease to create content