نوشته اصلی توسط
sitnet
سلام...
در چه شرایطی می توان به اینترفیس های سوئیچ آی پی ست کرد؟ لطفا اگه میشه با جزئیات بیان کنید..
با تشکر
خودم پیدا کردم....
برای دوستان دیگه اگه خواستن:
Depend on the switch model L2 or L3 switch, I will assume you have a layer 2 switch such as 2960 or 3540 etc.
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
you have to assign ip to the vlan interface and then you have to enable vty like ;
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