cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
512
Views
5
Helpful
3
Replies

New IP Address

kaamil.abrahams
Level 1
Level 1

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 3

ohassairi
Level 5
Level 5

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.

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

ulapuschkin
Level 1
Level 1

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

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Review Cisco Networking products for a $25 gift card