Assign IP to Cisco switch.
#1
Posted 23 November 2009 - 04:05 PM
I am new and have simple question how to Assign IP to Cisco switch.
Please advice.
#2
Posted 23 November 2009 - 04:26 PM
Go to the VLAN interface, lets say you only have VLAN 1 configured.
conf t
interface vlan 1
ip address 192.168.1.1 255.255.255.0
no shutdown
exit
then you have to connect your machine to one of the switch ports, by default all switch ports will be in VLAN 1
if its configured for other VLANs then go to the physical interface config.
conf t
interface fastethernet0/1
switchport access vlan 1
exit
connect your machine to that port and viola!
Edited by kherona, 23 November 2009 - 04:26 PM.
#3
Posted 23 November 2009 - 05:24 PM
hi dude by default we cannot assign an ip address to switch port, firstHi Guy,
I am new and have simple question how to Assign IP to Cisco switch.
Please advice.
it convert into non-switch port then we can assign an ip address to switchport
by using this command we can a switch port into non-switch port
config-if)#int fa0/0
config-if)#no switchport
#4
Posted 23 November 2009 - 06:12 PM
hi dude by default we cannot assign an ip address to switch port, first
it convert into non-switch port then we can assign an ip address to switchport
by using this command we can a switch port into non-switch port
config-if)#int fa0/0
config-if)#no switchport
You are talking about L3 switch such as 3560 or 3750, but if he has L2 switch then he won't be able to make the interface routed mode.
On the other hand this way is not proper way for management IP since you might need to connect to the switch through multiple ports and use the management IP
#5
Posted 03 December 2009 - 09:02 AM
en
conf t
line vty 0 4
password ***** <- your password here
login
exit
exit
copy run start
there now from any where you can telnet your switch, but make sure when you assign ip to vlan interface then make it no shut ... when i did that the first time ... i forget to make no shut and i spend 3 hours of embarrassment ... heheeheh
Regards,
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users











